Newgrf specs - OpenTTD vs TTDPatch
Moderator: Graphics Moderators
Newgrf specs - OpenTTD vs TTDPatch
Does anyone know if there is a list of the parts of a grf file that are used in openttd?
I found these two pages:
http://wiki.openttd.org/index.php/Newgrf
http://wiki.ttdpatch.net/tiki-index.php ... phicsSpecs
However neither of them have a list of which parts that openTTD uses. The second page has a similar sort of thing for TTDPatch.
Im just looking for a guide so that i can create a grf file for openTTD.
I found these two pages:
http://wiki.openttd.org/index.php/Newgrf
http://wiki.ttdpatch.net/tiki-index.php ... phicsSpecs
However neither of them have a list of which parts that openTTD uses. The second page has a similar sort of thing for TTDPatch.
Im just looking for a guide so that i can create a grf file for openTTD.
Reality is that which, when you stop believing in it, doesn't go away. - PKD
Re: Newgrf specs - OpenTTD vs TTDPatch
Yes. Read the source.uzusan wrote:Does anyone know if there is a list of the parts of a grf file that are used in openttd?
There is no other listing of what parts of NewGRF are supported by OpenTTD.
Don't.uzusan wrote:Im just looking for a guide so that i can create a grf file for openTTD.
Create it for TTDPatch, and then add code to Open to make it work there too.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Newgrf specs - OpenTTD vs TTDPatch
Does this change often then?DaleStan wrote: There is no other listing of what parts of NewGRF are supported by OpenTTD.
Ill have a look at the code and see if i can figure out what extra stuff is required for openTTD.DaleStan wrote: Create it for TTDPatch, and then add code to Open to make it work there too.
Thanks for your reply.
Reality is that which, when you stop believing in it, doesn't go away. - PKD
- Born Acorn
- Tycoon
- Posts: 7596
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
Re: Newgrf specs - OpenTTD vs TTDPatch
Every time someone changes it.uzusan wrote:Does this change often then?DaleStan wrote:There is no other listing of what parts of NewGRF are supported by OpenTTD.
Which is not an answer, I know.
This is far from an official list, but my understanding is as follows:
Actions 0..A, C, and 10..12 have a good chance of working (but see below for more on actions 00..04)
Actions B and D work partially.
Actions E, F, and 13 do not work.
For actions 0..4:
Features 00..04 have a very good chance of working.
Feature 05 will not work.
Feature 06 may work.
Feature 07 may work, but only for action 0.
Feature 08, prop 08 will work, prop 09 will not work, others probably will not work.
Feature 09..0B will not work.
Feature 0C will work.
For anything more specific than that (eg which properties/variables/callbacks work), you'll have to read the source, or do what Born Acorn said. Except that if you have feature 07 questions, poke Belugas too.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
I presume we are talking about what is working in the latest version of the trunk. NewGRF support is very much a work-in-progress, the trunk already has far better support than 0.4.8.
DaleStan’s list is mostly correct except (AFAIK) for the following:
Action E will work
Action 11 won't work - peter1138 is working on it.
Action 12 won't work with the trunk code but works with the utf-8 branch
For actions 0..4:
Feature 07 will not work - belugas wrote a patch for this but I’m not sure of its current status.
Feature 08 props 0A..0F will work -this was added by belugas about a week ago.
Feature 0C will not work

DaleStan’s list is mostly correct except (AFAIK) for the following:
Action E will work
Action 11 won't work - peter1138 is working on it.
Action 12 won't work with the trunk code but works with the utf-8 branch
For actions 0..4:
Feature 07 will not work - belugas wrote a patch for this but I’m not sure of its current status.
Feature 08 props 0A..0F will work -this was added by belugas about a week ago.
Feature 0C will not work
Don't forget belugasBorn Acorn wrote:You'll want to talk to peter1138 and mart3p. Those guys are pretty much the only people doing newgrf suppors. (pasky too, but that was all the inital support)

- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Feature 07 : should be in trunk sometimes in some undetermined futurmart3p wrote: For actions 0..4:
Feature 07 will not work - belugas wrote a patch for this but I’m not sure of its current status.
Feature 08 props 0A..0F will work -this was added by belugas about a week ago.
Feature 0C will not work
Feature 09, 0A, 0B : Might too, even further in time
Feature 0C : i THINK it might work with some stuff not in trunk yet due to REAL LIFE affecting SOMEONE

If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Who is online
Users browsing this forum: No registered users and 16 guests