• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 372 373 374 375 376 ... 1198 Next »

Need help!!! How to convert Integer to Big Endian to use Cheat Engine?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Need help!!! How to convert Integer to Big Endian to use Cheat Engine?
10-22-2016, 01:55 PM
#3
DevilX1
Unregistered
 
(10-21-2016, 08:11 PM)JosJuice Wrote: Let's say that you have the decimal number 12345678. In hexadecimal, that is BC614E. You most likely want to use this as a 32-bit number, so let's write it as 4 bytes (since 32 bits = 4 bytes): 00 BC 61 4E.

Now that you have a hexadecimal number expressed as bytes, here's how to swapping the endianness, either from little to big or from big to little. Take the number 00 BC 61 4E and write the bytes in the reverse order: 4E 61 BC 00. (Important: Not E4 16 CB 00!) If you wanted the number in hexadecimal, you're done now. Otherwise, you have to convert back to decimal. 4E 61 BC 00 in decimal is 1315027968.

Thank you very much Big Grin Big Grin Big Grin
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Need help!!! How to convert Integer to Big Endian to use Cheat Engine? - DevilX1 - 10-21-2016, 07:34 PM
RE: Need help!!! How to convert Integer to Big Endian to use Cheat Engine? - JosJuice - 10-21-2016, 08:11 PM
RE: Need help!!! How to convert Integer to Big Endian to use Cheat Engine? - DevilX1 - 10-22-2016, 01:55 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode