What type of value is this?
-
99999i in freelancer.exe
what is the “i”……plus, i cant find the value “99999” anywhere in the simple value editor
-
The suffix i denotes an integer value. I believe it’s a hexidecimal value from 0x00000000 to 0xFFFFFFFF in little-endian format. So the bytes for 99999i would be:
0F 69 18 00 ```if I am not mistaken. I haven't done any assembly in a while so I kinda forget the way little-endian works. Someone else can confirm if I'm right or completely off my rocker. Cheers, –Troy
-
That means nothing to me, I just confused myself trying to understand it.
EDIT: Im not being rude, that really did just confue the hell out of me XD
-
The format is like this:
(new value) (filename to change) (address to change)
Your example doesn’t include the address to change.
The value 99999i is a decimal (i.e. human) number, when it is made into a machine-readable number it has to be in hexadecimal (base 16) and it is reversed too.
I use ICYHexplorer, click View… Simple Data Types. By clicking the target button I enter and go to the address I want, and in the Simple Data Types window I can then see all the alternative possible values that the data starting at that address can be.
By double-clicking on double-word in the Simple Data Types window an editing window will open. Enter 99999 and OK, and the value becomes 9F 86 01 00 (ACTUALLY THIS IS REVERSED, it is 00 01 86 9F because the bytes increase in value from Right to Left, but this is automatic, don’t worry just know about it) and the double word entry shows 99,999.
-
I don’t know what hex editor you’re using, but they all have byte order options. Try switching between the two orders, usually it’s just that.