Endianness problems while access to disk or memory
NeL is working fine on little-endian architectures, but almost all memory/disk access with fread, fwrite or serialization are broken on big-endian machines such as PowerPC and ARM (in big-endian mode).
#2 Updated by Jeru over 2 years ago
- File bitmap.h added
- File bitmap.cpp added
After some tests, I made corrections in the bitmap.cpp et .h
At this time, I can't play, but the bitmap code permit the loading of DDS et TGA files. (No PNG or other file types are readed a the moment I'm stopped)
#3 Updated by Jeru over 2 years ago
- File bitmap.h.diff.h added
Here the diff file for the update of hg files !
I hope this will work :)
#7 Updated by Jeru over 2 years ago
- File bitmap.cpp.patch.cpp added
- File bitmap.h.patch.h added
- File music_buffer_vorbis.cpp.patch.cpp added
After more tests and debug on big endian systems. The final patch for images (All formats are working).
There were a bug on loading startup ogg file due to big endian errors too. (I don't know yet if it works in game)
For now, I got problems on getting login screen and character selection screen. Don't know if there's a relation with big endian systems.
#8 Updated by Jeru over 2 years ago
- File Log_Ryzom_OpenGL.rtf added
Log for the OpenGL difficulties may be due to endianess issues.
Initialisation of the driver log :)
#9 Updated by Jeru about 2 years ago
Hi. That was a long time i came here.
I don't know if those bugs comes from endinaness or graphical implementation errors on PPC
The first image is my logon screen, only the cursor is visible
The second image is the character selection screen, only the effects are well drawn.
I'm on a Powerbook G4, 1Mo of RAM, MacOS 10.5.8 and an ATI Mobility Radeon 9700 with 64Mo VRAM