Page 1 of 1

Old grf file not working on new builds of OTTD

Posted: 24 Feb 2007 23:52
by iNVERTED
Well, I haven't been playing OTTD for a while, so I decided to download and compile the latest nightly (revision 8884), which doesn't like my grf file. Nor does RC5. This particular file works on revision 5929, which is the latest version I have from before. A quick look round the forums hasn't given me any answers...

Posted: 24 Feb 2007 23:59
by Maedhros
It has a GRFID of FFFFFFFF, which is invalid. Anything starting with FF is considered to be a ttdpatch base grf and so won't be loaded in OpenTTD. You can either decode it and change the GRFID yourself, or if you still have the .exe it was created from (with grdtogrf) you can recreate it and specify a GRFID there.

Posted: 25 Feb 2007 15:48
by iNVERTED
Okay, I changed the GRFID with a hex editor and it works great now.

On a completely unrelated note, RC5 segfaults whenever I try to load a game (even one which was saved in RC5 itself...)

Posted: 26 Feb 2007 02:22
by DaleStan
Kirk! Get over here!

Okaay.... Should have been more specific. Go get your "Most useless bug report ever" award, and then come back. I'm stripping you of that award, and presenting it to Inverted instead.

One of the links in my sig says something about "basic intelligence". I recommend you read that section, inverted. Or, better yet, that whole document.

Posted: 26 Feb 2007 21:34
by iNVERTED
Meh, it doesn't really bother me, which is why I didn't bother making a new topic for it. I can just keep using rev 5929 :P Besides, there's not really much to be specific about for that kind of bug.

Posted: 26 Feb 2007 21:54
by Maedhros
iNVERTED wrote:Besides, there's not really much to be specific about for that kind of bug.
There's lots to be specific about - which platform you're using, whether savegames made in any previous version also segfault, whether it immediately segfaults or if it's after a certain amount of time, if it's reproducible (in which case, please provide a savegame) ...

Posted: 27 Feb 2007 01:08
by Dave
God... DaleStan's gonna have a field day when he read's that.

Brace yourself.

Posted: 27 Feb 2007 02:36
by DaleStan
Dave Worley wrote:read's that.
Look out! Here come's an s!

It's just not as much fun, now that Maedhros has beaten me to the punch.