-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some numbers not decoded correctly on big-endian systems. #52
Comments
Started some changes with 7db8071 . BC has been synced with ff7tk so building the master branch there should work. Please let me know if it works for you and If you find other values being reported incorrect please report them here. (I don't have a bigEndian cpu to test on atm) |
Thanks. There are still several issues, but it's looking better. I've not tried saving yet though. For starters, Materia AP is all wrong, too. According to big endian, my The Also, Cloud (on PowerPC) appears to have used limit 1-1 17664 times, when in fact he has used it 69 times. Limit 2-1 claims 1536 uses, but has been used 6 times. On big endian, Cloud also has 23325 HP and 32767 MP (Should be 2456 and 613). Cloud also has 46849 kills rather than 439, and 1544291584 EXP rather than 330844. That's everything I'm seeing at the moment. You got everything I reported before fixed except for the chocobo run and sprint speeds. Qemu can be used to run PPC binaries on amd64, by the way. I've also managed to get the program to cross-compile for PPC from my amd64 desktop (although it took a bit of footwork, and this is from someone who's done a lot of cross-compiling before). An easier way would be to make a PowerPC chroot and use qemu user emulation again, but that will make compilation much, much slower than running a proper cross-compiler. |
When I load a save on my PowerBook G4 (running Debian Sid), all multi-byte numerical fields are read incorrectly.
For instance, in the following picture, the
Races won
,Acceleration
, andCooperation
values are all correct as viewed on an amd64 machine (also running Debian Sid). But Rocco'sStamina
should be 3506,Run speed
should be 1735/2650, andSprint speed
should be 2135/3050.I should have 40988 Gil, and 453 battles. 0 escapes is correct.
The text was updated successfully, but these errors were encountered: