The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ashley on August 20, 2011, 08:21:48 PM

Title: ground.Outside.pak not found, cannot guess tile size!
Post by: Ashley on August 20, 2011, 08:21:48 PM
ERROR: obj_reader_t::read_file(): reading 'skin/ground.Outside.pak' failed!
Please report all errors to
team@64.simutrans.com
ERROR: obj_reader_t::load(): ground.Outside.pak not found, cannot guess tile size! (driving on left will not work!)
Please report all errors to
team@64.simutrans.com


This seems to fail for most of the paksets I run servers for. It's a harmless message of course but slightly disconcerting to have an error message which always happens. Wouldn't it be better to guess the tile size from a file which exists in all paksets? What's the significance of the skin/ folder anyway?
Title: Re: ground.Outside.pak not found, cannot guess tile size!
Post by: prissi on August 20, 2011, 11:01:23 PM
This file is present in all newer paks. It is also explicitely required by simutrans since at least two years.

Simutrans needs one file to guess tile size on loading (at least until very recently) to correctly shift the left had images during load time. If all ground images are read after the traffic signs, wrong offest can occur (and also on other ocasions).

Furthermore the version number should be in the copryright entry of ground.outside.pak - missing or wrong outside is a pak set error.

However, during loading simutrans may serach folders which have no paks and can produce such an error too, which might be harmless.
Title: Re: ground.Outside.pak not found, cannot guess tile size!
Post by: Ashley on August 20, 2011, 11:06:21 PM
Ah I think that might be it then, it's searching the "skin/" folder for ground.outside.pak and not finding it. All the paksets do indeed have it. If this is a pakset-specific thing maybe it doesn't need to look inside the "skin/" folder for this file?

So the version number for the pakset is stored in the copyright field of ground.outside.pak of the pakset? That's a useful thing to know. Thanks.