Page 2 of 2

Re: Multiplayer Game Longer time between intro date and such

Posted: 20 Apr 2012 10:35
by planetmaker
You probably use a faulty action8 which declares an invalid grf (format) version. See http://newgrf-specs.tt-wiki.net/wiki/Ac ... RF_Version

Re: Multiplayer Game Longer time between intro date and such

Posted: 20 Apr 2012 16:13
by kamikaze_fish
OK I've got it working again. Used the action 8 I generated with NML:D
Thx for the help!

Re: Multiplayer Game Longer time between intro date and such

Posted: 21 Apr 2012 15:37
by Doctor ZXXI
Good afternoon,

Sorry but I don't understand action 8 what it means? I see the wiki page, but I don't understand.
How can I fix this?

Thanks.

Doctor ZXXI.

Re: Multiplayer Game Longer time between intro date and such

Posted: 21 Apr 2012 15:43
by FooBar
It doesn't really matter what it means. What does matter is that it's somewhere near the top of the NFO file you get from decoding the grf. The line with the action 8 starts with a number, then an asterisk (*), then another number and then a 08. There will only be one line like that.

The number after the 08 is wrong, change it to 07.

Then recode the grf again and you're done.

You can accomplish the same in a hex editor, but then there will be no clear distinction of lines, so decoding and recoding the grf with grfcodec is easier if you're new to this.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 07:43
by Doctor ZXXI
Good morning and thank you for your answer, but I don't understand.

When I open grf file with notepad for example, I see this:

Code: Select all

 ÿ1   t ÿHB  Long Introduction Date for Trains and Cars By kamikaze_fish (Use PersistentEngines and no Vehicle Breakdowns)  ÿ      *DÛ
  ÿ     *¥z  ÿ  	   *TJ  ÿ  
   *Î  ÿ     *+Á
  ÿ     *ې  ÿ  
   *§  ÿ     *Š`  ÿ     *  ÿ     *öŒ  ÿ     *~Ó  ÿ     *:0  ÿ     *´é  ÿ     *qF  ÿ  6   *Oª  ÿ  7   *
r  ÿ  T   *Ý  ÿ  U   *H  ÿ  V   *  ÿ  W   *‰  ÿ     *{ñ  ÿ     *¿”  ÿ     *±
  ÿ     *õª  ÿ     *a×  ÿ     *nd
  ÿ     *4  ÿ     *Áv  ÿ     *8  ÿ     *7N  ÿ     *è  ÿ     *˜í  ÿ     *G½  ÿ  8   */  ÿ  X   *³  ÿ     ˆÉ  ÿ    Ì·  ÿ    R”  ÿ    Úp  ÿ    DÛ
  ÿ    ¦
  ÿ    –‚  ÿ 
   DÛ
  ÿ    õ
  ÿ    ¦P  ÿ 
   ø  ÿ    N3  ÿ    ÿm       
Where I must made the change?

I'm not an NFO for this grf...

Thanks in advance.

Doctor ZXXI.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 07:49
by Alberth
Read about grfcodec and its options.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 07:55
by Doctor ZXXI
OK! I decompile the grf file with grfcodec and grfcodec create me 3 file including an nfo file:

Code: Select all

// Escapes: D= = DR D+ = DF D- = DC Du* = DM D* = DnF Du<< = DnC D<< = DO D& D| Du/ D/ Du% D%
// Format: spritenum imagefile depth xpos ypos xsize ysize xrel yrel zoom flags
    0 * 4	 31 00 00 00
    1 * 116	 08 01 "HB" 00 00 "Long Introduction Date for "
	 "Trains and Cars" 00 "By kamikaze_fish "
	 "(Use PersistentEngines and no Vehicle "
	 "Breakdowns)" 00
    2 * 15	 00 00 03 01 00 00 00 00 06 15 2A 44 DB 0A 00
    3 * 15	 00 00 03 01 08 00 00 00 06 15 2A A5 7A 0E 00
    4 * 15	 00 00 03 01 09 00 00 00 06 15 2A 54 4A 10 00
    5 * 15	 00 00 03 01 0A 00 00 00 06 15 2A CE 03 11 00
    6 * 15	 00 00 03 01 0B 00 00 00 06 15 2A 2B C1 0D 00
    7 * 15	 00 00 03 01 0C 00 00 00 06 15 2A DB 90 0F 00
    8 * 15	 00 00 03 01 0D 00 00 00 06 15 2A 11 A7 10 00
    9 * 15	 00 00 03 01 0E 00 00 00 06 15 2A 8A 60 11 00
   10 * 15	 00 00 03 01 0F 00 00 00 06 15 2A 04 1A 12 00
   11 * 15	 00 00 03 01 16 00 00 00 06 15 2A F6 8C 13 00
   12 * 15	 00 00 03 01 17 00 00 00 06 15 2A 7E D3 12 00
   13 * 15	 00 00 03 01 18 00 00 00 06 15 2A 3A 30 13 00
   14 * 15	 00 00 03 01 19 00 00 00 06 15 2A B4 E9 13 00
   15 * 15	 00 00 03 01 1A 00 00 00 06 15 2A 71 46 14 00
   16 * 15	 00 00 03 01 36 00 00 00 06 15 2A 4F AA 14 00
   17 * 15	 00 00 03 01 37 00 00 00 06 15 2A 0D 72 15 00
   18 * 15	 00 00 03 01 54 00 00 00 06 15 2A 0E DD 15 00
   19 * 15	 00 00 03 01 55 00 00 00 06 15 2A 10 48 16 00
   20 * 15	 00 00 03 01 56 00 00 00 06 15 2A 12 1E 17 00
   21 * 15	 00 00 03 01 57 00 00 00 06 15 2A 13 89 17 00
   22 * 15	 00 00 03 01 07 00 00 00 06 15 2A 7B F1 0B 00
   23 * 15	 00 00 03 01 01 00 00 00 06 15 2A BF 94 0B 00
   24 * 15	 00 00 03 01 13 00 00 00 06 15 2A B1 07 0D 00
   25 * 15	 00 00 03 01 10 00 00 00 06 15 2A F5 AA 0C 00
   26 * 15	 00 00 03 01 11 00 00 00 06 15 2A 61 D7 0E 00
   27 * 15	 00 00 03 01 15 00 00 00 06 15 2A 6E 64 0D 00
   28 * 15	 00 00 03 01 12 00 00 00 06 15 2A 1D 34 0F 00
   29 * 15	 00 00 03 01 14 00 00 00 06 15 2A C1 76 12 00
   30 * 15	 00 00 03 01 02 00 00 00 06 15 2A 02 38 0B 00
   31 * 15	 00 00 03 01 03 00 00 00 06 15 2A 37 4E 0C 00
   32 * 15	 00 00 03 01 04 00 00 00 06 15 2A E8 1D 0E 00
   33 * 15	 00 00 03 01 05 00 00 00 06 15 2A 98 ED 0F 00
   34 * 15	 00 00 03 01 06 00 00 00 06 15 2A 47 BD 11 00
   35 * 15	 00 00 03 01 38 00 00 00 06 15 2A 2F 0E 15 00
   36 * 15	 00 00 03 01 58 00 00 00 06 15 2A 12 B3 16 00
   37 * 15	 00 01 03 01 00 00 00 00 06 15 1F 88 C9 0B 00
   38 * 15	 00 01 03 01 01 00 00 00 06 15 1F CC B7 0C 00
   39 * 15	 00 01 03 01 02 00 00 00 06 15 1F 52 94 0E 00
   40 * 15	 00 01 03 01 03 00 00 00 06 15 1F DA 70 10 00
   41 * 15	 00 01 03 01 04 00 00 00 06 15 1F 44 DB 0A 00
   42 * 15	 00 01 03 01 05 00 00 00 06 15 1F 10 A6 0D 00
   43 * 15	 00 01 03 01 06 00 00 00 06 15 1F 96 82 0F 00
   44 * 15	 00 01 03 01 0A 00 00 00 06 15 1F 44 DB 0A 00
   45 * 15	 00 01 03 01 0B 00 00 00 06 15 1F F5 15 0D 00
   46 * 15	 00 01 03 01 0C 00 00 00 06 15 1F A6 50 0F 00
   47 * 15	 00 01 03 01 0D 00 00 00 06 15 1F 9D F8 0B 00
   48 * 15	 00 01 03 01 0E 00 00 00 06 15 1F 4E 33 0E 00
   49 * 15	 00 01 03 01 0F 00 00 00 06 15 1F FF 6D 10 00
Where I made the change in this line?

Code: Select all

1 * 116	 08 01 "HB" 00 00 "Long Introduction Date for "
	 "Trains and Cars" 00 "By kamikaze_fish "
	 "(Use PersistentEngines and no Vehicle "
	 "Breakdowns)" 00
Thanks in advance.

Doctor ZXXI.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 08:21
by Alberth
Foobar already explained it.

Please try to solve it yourself first and ask about where you get stuck, instead of asking for spoon-feeding every single thing.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 08:39
by Doctor ZXXI
Thanks for yours answers.

I replace this:

Code: Select all

1 * 116    08 01 "HB" 00 00 "Long Introduction Date for "
    "Trains and Cars" 00 "By kamikaze_fish "
    "(Use PersistentEngines and no Vehicle "
    "Breakdowns)" 00
by this:

Code: Select all

1 * 116    08 07 "HB" 00 00 "Long Introduction Date for "
    "Trains and Cars" 00 "By kamikaze_fish "
    "(Use PersistentEngines and no Vehicle "
    "Breakdowns)" 00
as suggest, but problem remains...

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 08:47
by FooBar
That change is correct.

Did you make sure that OpenTTD cannot find the old version any more, only your modified version?

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 09:07
by Doctor ZXXI
I search if I have another version of this file in my computer.

Thanks in advance.

Doctor ZXXI.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 10:03
by Eddi
just to state the obvious, after the change, you must encode the grf again with grfcodec.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 10:14
by Doctor ZXXI
Yes, I encode nfo file with grfcodec -e to create the new grf file.

Re: Multiplayer Game Longer time between intro date and such

Posted: 22 Apr 2012 10:16
by FooBar
Maybe another tip: if you change the name of the grf a little bit before encoding, you can easily see ingame if you're getting the old or your new version.