-
Notifications
You must be signed in to change notification settings - Fork 750
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
64bit big endian not supported #73
Comments
This is probably because you are loading the file incorrectly, you need to do byte swapping since the PCX format is LE and your running this on a BE CPU, meaning instead of 640x480 you CPU think that the texture is 2147614720x3758161920 or something to that effect. |
Add some debug printf that shows the values during the loading and compare it to your x86 build. This should make it clear where you need to apply byte swapping. My guess would be SBmpLoadImage, here are some hints from @pbekesky's effort:
This should be enough to get the menu loading. But the issue is probably also compounded it also being a 64bit CPU that your targeting since the games doesn't even fully work on x86_64 yet. |
Going to close this as its a duplicate of #21 |
devilutionX on Linux ppc64 has allocated an enormous amount of memory.
The system provides mere 204MB after the kernel takes what it needs.
Apparently, devilutionX needs around 2.7GB of memory.
See my efforts:
https://cdn.discordapp.com/attachments/518540764754608131/561633899373920257/unknown.png
https://cdn.discordapp.com/attachments/518540764754608131/561633965014777866/unknown.png
https://cdn.discordapp.com/attachments/518540764754608131/561636905658351626/unknown.png
From the attachment, we can see it happens right after the following is printed:
The text was updated successfully, but these errors were encountered: