You'll need grfcodec (search the TTDPatch wiki) and a text editor (notepad will do), you also need to read the grfspecification of the TTDPatch wiki to know what you'll have to edit.
XeryusTC wrote:You'll need grfcodec (search the TTDPatch wiki) and a text editor (notepad will do), you also need to read the grfspecification of the TTDPatch wiki to know what you'll have to edit.
As i understand there is no frontend or GUI to make it all-in-one?
XeryusTC wrote:You'll need grfcodec (search the TTDPatch wiki) and a text editor (notepad will do), you also need to read the grfspecification of the TTDPatch wiki to know what you'll have to edit.
As i understand there is no frontend or GUI to make it all-in-one?
Thanks i'm going to see TTDPatch Wiki for it...
there are some small tools that can help you with sprite positioning, but for all the really nitty-gritty stuff you'll have to do it by hand.
There is no program that can convert NFO into something higher-level. To my knowledge, there is one program that can compile to NFO, but this is not a reversible procedure. Unfortunately, it is also woefully out of date, and there is no indication that it will be updated any time soon.
Okay, thanks.. I decoded for ex. US Train Set, but i can't find where train parameters such as cost, speed, starting year are stored. There are a lot of hexadecimal digits... I tried km/h and mph, pounds and dollars, and nothing... I can't find patterns for it.
It's not pure HEX until u decode it with -t option.
Hmmm .. I wonder whether is there some tool that will decode (well, decode is to really necessary, but more important will be encoding) using some more human-readable file?
Like the line would be at least something like this:
why d'you want to decode and change those parameters anyway?
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club
<orudge> make love to me while I surf, dear lobster
lobster wrote:why d'you want to decode and change those parameters anyway?
Well, I planned for making a new tram set and I wonder whether there is some easier way than encoding all that hex values by hand ... I'm not interested in modifying existing new GRFs, I want to create new ones at least a bit easier
If you need something, do it yourself or it will be never done.
Bilbo wrote:Well, I planned for making a new tram set and I wonder whether there is some easier way than encoding all that hex values by hand ...
There isn't really, but once you've done one vehicle it gets a lot easier.
Well, I found the tramset with most of the vehicles I seeked to create already created by someone else (not perfect, but I probably wouldn't create better), but I tried another thing - to create large capacity ships (like 15000 tons of cargo). There is one problem, cost is specified as "cost factor", which is byte - http://wiki.ttdpatch.net/tiki-index.php ... _for_ships
So you can stuff in 0-255, but at 255 the ship is still too cheap (it costs 99K pounds, but with such capacity it can easily make 3M pounds per 200 tiles trip if fully loaded). Is there any way to make the ship more expensive? It should cost about 2-4M pounds ... but values between 5000 and 10000 are too large for byte. Anybody know of some trick to increase the cost?
If you need something, do it yourself or it will be never done.
For reasons that are beyond me, the Open devs seem to think that people who use OpenTTD are much too smart to need to be told where, or even if, their grf is invalid. (Yes, even users need to know whether or not the file loaded successfully, folks.)
For reasons that are beyond me, the Open devs seem to think that people who use OpenTTD are much too smart to need to be told where, or even if, their grf is invalid. (Yes, even users need to know whether or not the file loaded successfully, folks.)
Well, if you use -d 2 option on command line and you'll dig through about 10000 lines of debug output, you'll see this: