8/30/2013

Transferring Project64 savegames to 64drive

Normal x86 machines are little-endian and the N64's MIPS64 CPU is big-endian.
So the EEPROM/SRAM/FlashRAM savegames have to be byte swapped before they work on the other platform.

In Project64 it is very easy to cheat so this can be a motivation to transfer an unlocked savegame to the 64drive.

The easiest way I found is this little perl snippet:
$ perl -e 'open F,shift; do { read(F,$a,4); print scalar reverse($a);} while(!eof(F));' bigend.bin > littlend.bin
src: http://stackoverflow.com/questions/6438099/linux-command-line-tool-to-reverse-byte-order-change-endianess



No comments:

Post a Comment