Bug #1249
Endianness problems while access to disk or memory
Status: | Assigned | Start date: | 02/01/2011 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | kervala | % Done: | 0% |
|
Category: | NeL: General | |||
Target version: | - |
Description
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).
History
#1 Updated by kervala over 7 years ago
- Status changed from New to Assigned
- Assignee set to kervala
#2 Updated by Jeru over 7 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 7 years ago
- File bitmap.h.diff.h added
Here the diff file for the update of hg files !
I hope this will work :)
#4 Updated by kervala over 7 years ago
- File deleted (
bitmap.h.diff.h)
#5 Updated by kervala over 7 years ago
- File deleted (
bitmap.cpp)
#6 Updated by kervala over 7 years ago
- File deleted (
bitmap.h)
#7 Updated by Jeru over 7 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 7 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 7 years ago
- File Image_1.png added
- File Image_2.png added
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
#10 Updated by kervala over 6 years ago
- Priority changed from Normal to Low
Only reproducible on Mac OS X PPC, so priority is set to low :)