FS#35294 - [dwarffortress] Fails to start with "Not found: data/art/curses_640x300.png"

Attached to Project: Community Packages
Opened by seth (xdseth) - Wednesday, 15 May 2013, 02:21 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 27 May 2013, 05:49 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
df fails to start showing this error "Not found: data/art/curses_640x300.png"

Additional info:
Repository : multilib
Name : dwarffortress
Version : 0.34.11-2
Architecture : x86_64

There are reports about this issue in the df bug tracker:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=4957
http://www.bay12games.com/dwarves/mantisbt/view.php?id=6147
http://www.bay12games.com/dwarves/mantisbt/view.php?id=2688
http://www.bay12games.com/dwarves/mantisbt/view.php?id=2663
Apparently the libsdl present in arch doesn't like png files

Steps to reproduce:
Installed dwarffortress from the repository and tried to run it.

Possible fixes:
Compiling the sdl lib with png support
Changing all the ".png" in init.txt to ".bmp" and symlinking mouse.png to mouse.bmp
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 27 May 2013, 05:49 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 20 May 2013, 22:00 GMT
Just to note, of course lib32-sdl_image has support for libpng. I have no idea why this problem started coming up and have spent way too much time trying to fix it. I rebuilt all relevant packages in [multilib] against each other to no avail. Probably df itself uses some old libpng headers (though why would they since they also use sdl_image? maybe in a template) and needs to be rebuilt against libpng 1.6 itself.
Comment by Evgeny Burmentyev (virus_found) - Wednesday, 22 May 2013, 09:26 GMT
Won't work for me if I install lib32-libpng15. The same error appears.
Comment by Dennis (derhamster) - Wednesday, 22 May 2013, 09:29 GMT
I didn't fix my AUR dwarffortress-phoebus package yet, but installing lib32-libpng15 does the trick for me. No idea why, but DF loads libpng 1.5 at runtime
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 25 May 2013, 01:13 GMT
If you want this to change, I recommend you start messaging ToadyOne as he probably is the only one who can give us a proper version that uses libpng 1.6. It would probably be best for Dwarf Fortress if Toady just gave us a fully static build.

Loading...