Page 1 of 1

Endian Swapping

Posted: Sat Oct 07, 2006 3:22 pm
by SingingBlaze
Ok I want to endian swap my number for putting water into my map.

In his tutorial detox says 801AF000 is 00F01A80. I thought Endian swapping was just reversing the number. What would my number turn out as if I started with 8027C000 would it be 000C 7208 or what?

Posted: Sat Oct 07, 2006 5:04 pm
by StalkingGrunt911
If I read the numbers right... it should be 00C02780. Someone please correct me if I am wrong.

Posted: Sat Oct 07, 2006 5:28 pm
by SingingBlaze
Yer you are right I figured out how to do it a little while ago when I realised two digits are one byte.