Page 1 of 1

Cannot load player_male_base.png

Posted: 04 Dec 2005, 06:11
by Kelba
Here's my log file:

Code: Select all

[05:26:16] Using video driver: x11
[05:26:16] Possible to create hardware surfaces: no
[05:26:16] Window manager available: yes
[05:26:16] Accelerated hardware to hardware blits: no
[05:26:16] Accelerated hardware to hardware colorkey blits: no
[05:26:16] Accelerated hardware to hardware alpha blits: no
[05:26:16] Accelerated software to hardware blits: no
[05:26:16] Accelerated software to hardware colorkey blits: no
[05:26:16] Accelerated software to hardware alpha blits: no
[05:26:16] Accelerated color fills: no
[05:26:16] Available video memory: 0
[05:26:16] ResourceManager::get(graphics/sprites/player_male_base.png)
[05:26:17] Error, image load failed: Unsupported image format
[05:26:17] ResourceManager::get(graphics/sprites/player_male_hair.png)
[05:26:18] Error, image load failed: Unsupported image format
[05:26:18] Error: Couldn't load player_male_base.png
SDL and SDL_Image are both up to date, and I'm using physfs 1.0.1 (I had tried 1.0.0, go t same error)

Posted: 04 Dec 2005, 08:12
by Matt
Do you have libpng installed?

Posted: 04 Dec 2005, 13:33
by ElvenProgrammer
Avoid using libphysfs 1.0.1 since we know it doesn't work with TMW.
Again follow Matt suggestion and be sure SDL_image was compiled with png support.

Posted: 04 Dec 2005, 17:56
by Bjørn
ElvenProgrammer wrote:Avoid using libphysfs 1.0.1 since we know it doesn't work with TMW.
Again follow Matt suggestion and be sure SDL_image was compiled with png support.
Actually it's 1.1.0 that is known not to work, I've been using 1.0.0 and 1.0.1 without problems.

The error however is "unsupported image format", suggesting that this is not related to PhysFS but indeed more likely to relate to SDL_image and libpng.

Posted: 04 Dec 2005, 18:25
by Kelba
I downloaded and installed libpng, and recompiled and reinstalled sdl_image and I still get the same error concerning player_male_base.png. Any other ideas?

Posted: 04 Dec 2005, 18:27
by ElvenProgrammer
Bjørn wrote:
ElvenProgrammer wrote:Avoid using libphysfs 1.0.1 since we know it doesn't work with TMW.
Again follow Matt suggestion and be sure SDL_image was compiled with png support.
Actually it's 1.1.0 that is known not to work, I've been using 1.0.0 and 1.0.1 without problems.
Of course you're right, my fault, sorry.