お知らせの編集:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Misspelled parameters in DAT files

スレッド開設者 uci, 2月 19, 2018, 12:09:38 PM

←前へ - 次へ→

0 メンバーリストさんと、1 ゲストさんが、このスレッドを見ています。

uci

I have compiled pak128 and looked at the warnings generated by Makeobj. There are many, most of them harmless. However, some warnings related to misspelled parameters in DAT files might have bad consequences in game.

Here is a summary of warnings which should be eliminated (instructions included).

コード Select

Compiling Pedestrians
Makeobj version 60.0 for Simutrans 120.2 and higher
Warning: BICYCLE_RIDER_0:    Entry "image[ns]=privat-pedestrians_2-128.0.7" ignored (check spelling)
Warning: BICYCLE_RIDER_1:    Entry "image[ns]=privat-pedestrians_2-128.1.7" ignored (check spelling)
Warning: DOG_WALKER_0:    Entry "image[ns]=privat-pedestrians_2-128.2.7" ignored (check spelling)
Warning: DOG_WALKER_1:    Entry "image[ns]=privat-pedestrians_2-128.3.7" ignored (check spelling)
Warning: MOTOBIKER_0:    Entry "image[ns]=privat-pedestrians_3-128.0.7" ignored (check spelling)
Warning: MOTOBIKER_1:    Entry "image[ns]=privat-pedestrians_3-128.1.7" ignored (check spelling)
Warning: MOTOBIKER_2:    Entry "image[ns]=privat-pedestrians_3-128.2.7" ignored (check spelling)
Warning: GROUP_0:    Entry "image[ns]=privat-pedestrians_3-128.3.7" ignored (check spelling)
Warning: GROUP_1:    Entry "image[ns]=privat-pedestrians_3-128.4.7" ignored (check spelling)
Warning: GROUP_2:    Entry "image[ns]=privat-pedestrians_3-128.5.7" ignored (check spelling)

In file
pak128\base\pedestrians\Pedestrians.dat
replace
Image[NS] -> Image[SW]

コード Select

Compiling Trams
Makeobj version 60.0 for Simutrans 120.2 and higher
Warning: T_101:    Entry "constraint[prev][1]=none" ignored (check spelling)

In file
pak128\vehicles\trams\t_101.dat
replace
constraint[next][0]=T_101 -> constraint[prev][0]=T_101

コード Select

Reading object data from pak128-r1926/...
Warning: sound_desc_t::get_sound_id():    sound "engine-start-diesel_0" not found
Warning: sound_desc_t::get_sound_id():    sound "engine-start-diesel_0" not found
Warning: sound_desc_t::get_sound_id():    sound "engine-start-diesel_0" not found
Warning: sound_desc_t::get_sound_id():    sound "engine-start-diesel_0" not found

In files
pak128\vehicles\road-psg+mail\irisbus_magelys_hd.dat
pak128\vehicles\road-psg+mail\irisbus_magelys_hdh.dat
pak128\vehicles\road-psg+mail\man_lions_city.dat
pak128\vehicles\road-psg+mail\man_lions_city_g_front.dat
replace
sound=engine-start-diesel_0 -> sound=engine-start-diesel-0.wav

gauthier

Well, indeed I'm seeing them for a long time but I have never been brave enough to fix them. I will work on them for the next release, thanks for reporting.

uci

More corrections:

In
pak128\pak128.prototype\config\menuconf.tab
replace line
toolbar[0][11]=toolbar[9],31,,NGTOOLS,special.txt
with
toolbar[0][11]=toolbar[9],31,,NARROWGAUGETOOLS,railtools.txt

In
pak128\vehicles\road-cargo\mja-volvof88-128set.dat
replace
Sound=truck.wav -> sound=engine-start-diesel_d.wav

Should I paste these to first post to have them in one place?
Also, are these reports in a format suitable for you?

gauthier

It's okay like that, I will port them to SVN as soon as possible. Thank you very much ;)

gauthier

The warnings you reported are fixed, thank you very much ! I will take a look at other warnings too.