# Couldn't open image file: dicefade\_1.png (SDL\_RWFromZZIP:)

**URL:** <https://discourse.libsdl.org/t/couldnt-open-image-file-dicefade-1-png-sdl-rwfromzzip/14324>\
**Category:** SDL Development\
**Created:** [February 19, 2007, 12:48pm UTC](https://discourse.libsdl.org/t/couldnt-open-image-file-dicefade-1-png-sdl-rwfromzzip/14324 "2007-02-19T12:48:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Bolte](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@Adam\_Bolte](https://discourse.libsdl.org/u/Adam_Bolte)\
**Post date:** [February 19, 2007, 12:48pm UTC](https://discourse.libsdl.org/t/couldnt-open-image-file-dicefade-1-png-sdl-rwfromzzip/14324/1 "2007-02-19T12:48:01Z")

</div>

Hi there,

I’m not an SDL programmer, so sorry if my question seems obvious. I  
couldn’t find the answer through Google or trial and error, so here goes…

I have been provided a program which I am told compiles and runs  
perfectly under the latest version of SDL for Windows (presumably  
1.2.11). It’s been my job to create a small GNU/Linux environment on  
which to run this application as a kiosk-style system.

I have decided on using Debian sarge, but compiling the new libSDL ,  
SDL-Image, SDL-Mixer and other dependencies myself. This setup has  
worked for similar programs, but one particular program is still causing  
trouble.

There is a zip file ‘resources.zip’ (around 75Mb) which gets loaded by  
SDL\_RWFromZZIP. It contains things like TTF fonts, WAV files and many  
many PNG image files. Whenever the application runs, I get:  
Couldn’t open image file: resources/dicefade\_1.png (SDL\_RWFromZZIP:)  
Resource load failed: resources.zip.  
I realize that some of this message is program-specific, but the  
SDL\_RWFromZZIP SDL function seems to be causing the failure.

The weird part is that the file which fails seems random (although it’s  
usually one of the bigger ones). I know this program chews up system  
memory, but I am assuming 1Gb would be enough for a minimalist X  
environment.

Is there anything in particular I should check, or have the developer  
look at? At the moment, he seems just as confused as I am.

Regards,

Adam Bolte
