The International Simutrans Forum

 

Author Topic: Image format of deck trams  (Read 1899 times)

0 Members and 1 Guest are viewing this topic.

Offline sanna

  • *
  • Posts: 234
Image format of deck trams
« on: May 25, 2010, 01:09:08 PM »
1-deck-closed.dat, 2-deck-closed.dat and 1-deck.trailer.dat in the trams folder of pak128.Britain uses single index only to specify the location of the image within the respective png-files. This cannot be parsed by SimuTranslator, which requires 2 indexes always. Therefore in order for the images to be shown in SimuTranslator (which greatly helps the translators), this:
Code: [Select]
EmptyImage[E]=./images/2-deck-closed.0
EmptyImage[SE]=./images/2-deck-closed.1
needs to be changed to:
Code: [Select]
EmptyImage[E]=./images/2-deck-closed.0.0
EmptyImage[SE]=./images/2-deck-closed.0.1
for all image specifications within these three files.

I have done a local mod of these files and uploaded this to SimuTranslator, but a reupload to update stats etc may overwrite this, so best would be if this could be changed at svn also.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Image format of deck trams
« Reply #1 on: May 25, 2010, 01:35:50 PM »
OK.  This may well affect a number of dat files, so please let me know if there are any others you can find.

Offline sanna

  • *
  • Posts: 234
Re: Image format of deck trams
« Reply #2 on: May 25, 2010, 01:45:10 PM »
Well, found some more already, this is in the boats folder:
boat-horse-double
boat-horse-single

ps. The boats are now uploaded to SimuTranslator and their English translations from en.tab added there.