Warning about files (pngs) not found when starting a new game

Bug #859079 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Nasenbaer

Bug Description

To reproduce:
1. Run widelands from the commandline.
2. Main menu -> Single player -> New game -> Checkmate -> Start game.
3. Watch the terminal output.

In addition to the usual messages, three errors about files not found are printed. Based on the double slash (//) there might be some minor error in a path somewhere (see the messages below).

I noticed these warnings recently so I think it is caused by a recent change (might have been after the roads changed?). I cannot remember seeing these errors earlier, and build16 does not print them when loading the same map.

Running Widelands bzr r5991 on Ubuntu 11.04.

First warnings:
Registering script: (aux,table)
Registering script: (aux,ui)
Registering script: (aux,win_condition_functions)
WARNING: Could not open worlds//pics/roadt_normal.png: Could not find filename: could not find file or directory: worlds//pics/roadt_normal.png
WARNING: Could not open worlds//pics/roadt_busy.png: Could not find filename: could not find file or directory: worlds//pics/roadt_busy.png
No version file found
Parsing world bobs...
Parsing global bobs in world...

The last warning:
Replay writer has started
[sync] Reset
WARNING: worlds/greenland//pics/sumpf_00.png: using 332 default palette
load_animations took 4,530000 seconds

Revision history for this message
Nasenbaer (nasenbaer) wrote :

This is most likely based upon my patch that makes road texture world dependend. I will take a look into it.

Changed in widelands:
assignee: nobody → Nasenbaer (nasenbaer)
status: New → Confirmed
milestone: none → build17-rc1
Revision history for this message
Nasenbaer (nasenbaer) wrote :

Fixed in rev. 6013

later warning about sumpf_00.png is based upon the fact, that the new sumpf animations were not using indexed color palettes. I fixed this and run the png optimization script by that chance to get a bit smaller file sizes.

Changed in widelands:
status: Confirmed → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.