paxcut

Results 408 comments of paxcut

So I checked this and the problem is not just for UUID and GUID or even types with function attributes. The problem is much more general so the title of...

If your file is in little endian which is the default then the bytes in a word are read from the least significant to the most significant. For example if...

I looked at the specification for VGM and that's a fairly complex format. For what purpose do you need the ImHex pattern?

The complexity of the format far surpasses the complexity of the concepts needed to write a pattern in general. The absolute best way to learn a complex format is to...

i can confirm it works on windows, but maybe it should also download the ones that are missing. Also it seems to only work on patterns.

Why not create a struct like this? ```cpp struct Pointer { if (size == 32) u32 pointer; else u64 pointer; }; ``` then you can create the same code regardless...

The following code works on my version of imhex with some data i created. ```cpp #include "std/mem.pat" #include "std/core.pat" enum HeaderEndianness: char { BIG = 'V', LITTLE = 'v', };...

yes of course, use the format attribute to display the value on the struct and there is an attribute to hide the entire struct but the name escapes me atm.

I am not familiar withe the use of magic but you can always add more else ifs and test all the good values and leave the else for an error.

Revised code ```cpp #include "std/mem.pat" #include "std/core.pat" #include "std/string.pat" enum HeaderEndianness: char { BIG = 'V', LITTLE = 'v', }; enum HeaderPtrSize: char { _32 = '_', _64 = '-',...