News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Self compiled 0.111.3 crashes when language "german" ist set (Linux x86_64)

Started by vrm, July 02, 2012, 06:22:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vrm

Trying to write a .ebuild-file (package) for gentoo-linux for version 111.3 simutrans crashes with the following message (reproducible, always) after i select German as language. (sources from sourceforge, pak64 from sourceforge)

.....
Calculating textures ...done
Creating cities ...
*** invalid %N$ use detected ***

Trying pak128.Britain, result: some minutes running, sudden crash, same message. Deleting simconf.tab, then choosing English as language, everything (pak64 and pak128.Britain) runs perfectly..

Tried nightly build r5788, everything runs fine, no difference between selected languages. To get my ebuild running: Which files do i have to patch in vanilla 111.3 to get it running?

BTW my config.default is attached.

TIA
vrm

Dwachs

This sounds like an error in the German translation file. Choose English as in-game language, or download de.tab from

http://simutrans-germany.com/translator/data/tab/0/de.tab

and put it in simutrans/text/, or try the file text/de.tab from an older version
Parsley, sage, rosemary, and maggikraut.

VS

Sounds a bit like this:
http://forum.simutrans.com/index.php?topic=10138.msg96390#msg96390

The cause seems to be the same "class" of problem (sprintf parameter ordering), so I'd check translations instead of code.

edit: Argh, too slow!

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!


Dwachs

Parsley, sage, rosemary, and maggikraut.

Dwachs

Please try out r5801.

Now simutrans should check whether translated strings and their format specifiers match the expectations of the program. It ignores cases, where the master string does not contain any format specifiers (WAGGON_INFO, 1extern etc). With the patch, I found three malformed strings (the English aircraft record string, German monument erection string, and a Croation AI-related one).
Parsley, sage, rosemary, and maggikraut.

vrm

Quote from: Dwachs on July 03, 2012, 06:21:21 PM
Please try out r5801.

Sorry for answering so late, ....

It works, thanks.

But to create an so called 'ebuild' (package) for gentoo linux, i need to know which file in the 113-1 source code (or the translation-files) to patch to get rid of this problem, because gentoo's way of installing is compiling ;)

Thanks in advance.

vrm