sgastudio / wagic

Automatically exported from code.google.com/p/wagic
Other
0 stars 0 forks source link

background image not displayed correctly during games #786

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem was reproduced on the following platforms with the core_0171.zip:
- Android 2.3 on Samsung Galaxy 2 and Android 4.0 on Samsung Galaxy Nexus (SDL)
- Maemo (Qt widget)
- Meego (Qt widget)
- Windows (Qt widget)

It does not happen on the following platforms:
- Android 3.2 on Asus Transformer (SDL)
- Meego (QML)
- Linux desktop (QML)

My previous guess was that my Qt Widget OpenGL initialization code was buggy, 
but as it has been reproduced on some Android device as well, my current guess 
is that our package parsing/unzipping code is buggy even when the package is 
not zipped. As I've got a windows platform showing the problem, I should be 
able to debug it...

Original issue reported on code.google.com by Xawot...@gmail.com on 19 Jan 2012 at 2:43

GoogleCodeExporter commented 9 years ago
- Using the SDL Windows version with the google code core_0171.zip creates the 
same problem.
- the zip from the Windows package is 34'744'404 bytes
- the google code zip is 35'633'614 bytes

I think a good start would be to use all the same zip and all the same scripts 
to create those packages.

Original comment by Xawot...@gmail.com on 19 Jan 2012 at 4:05

GoogleCodeExporter commented 9 years ago
I investigated a bit more. The problem happens also on Linux desktop (Qt 
widget). The bitmap is present (graphics/backdrop.jpg) in the archive, it's 
added in the m_Files map structure in zfsystem.cpp. But when requested by the 
resource manager, it's not found in the map... The problem happens with or 
without multi-threaded cache engine. So, my current guess is a systematic 
memory corruption depending on the file order in the zip archive. I'll try 
using valgrind next ...

Original comment by Xawot...@gmail.com on 20 Jan 2012 at 8:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4204.

Original comment by Xawot...@gmail.com on 20 Jan 2012 at 10:10