Skip to content
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

Big Endian zelda3 compiles but corrupt graphics and closes #291

Open
Link4Electronics opened this issue Oct 7, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Link4Electronics
Copy link

Describe your bug here. And how to reproduce it.

I compiled the code on a Big Endian machine, PowerMac G5 running Debian sid PPC64, the program runs as in the screenshot, shows a corrupted triforce intro for a few seconds and then crashes.
image
The zelda3_assets.dat generated on a big endian system has a CRC 27377A48, and on a little endian CRC 1DE3741F
When using the one generaton on a little endian system, this error shows on console, Error: Invalid assets file

I already suspect that big endian isn't a supported platform, but getting this close to even render (despide corrupt) intro, makes me wonder if there's some byte swapping involved in accessing the file and/or generating the assets.dat file.

What is your build target?

Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant