Jump to content

XGAbility hidden constants? ... fine-tunning abilities...


anUser

Recommended Posts

Sometimes you see a 24 preceding a value. I've never quite figured out what the difference is between 2c and 24 bytes.

 

And 25 and 26 can be single-byte constants representing 0 or 1.

 

But it may be worth looking around to see if you can find the function where those constants are in use, and modifying them there.

 

Wouldn't 2C be a signed byte (represents -128 to 127) while 24 is an unsigned byte (represents 0 to 256)? Signed bytes use 2's complement to represent negative values (e.g. 0xFF = -1 in 2's complement), so the values from 0 to 127 are identical in each case.

 

So 2C FF -> -127

while 24 FF -> 255

 

That's my read on it at any rate.

Edited by Amineri
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...