How do I make a NewGrf without coding?
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 27
- Joined: 19 Sep 2021 15:09
How do I make a NewGrf without coding?
I am wodering how to make a Grf without coding. I know you can make it by coding, but that seems very complicated. Is there some way you can make it without coding?
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: How do I make a NewGrf without coding?
No, GRFs, like AIs, need to be 'coded', using one of the most tedious languages I have ever seen.
If you need help, people on these forums tend to be somewhat helpful at times, there is a forum dedicated to development here; viewforum.php?f=26
There is some information on the wiki for OpenTTD here, but its a somewhat convoluted process https://wiki.openttd.org/en/Development ... nt%20Tools
You can kind of cheat and download grfcodec, which will decompile someone else's GRF. You can figure it out from there, before you re-use anything though, if you do, make sure to follow any licences. Unhelpfully the wiki points to this page for GRFCodec, even though the page doesn't exist. (edit: grfcodec, after a quick google, is here; https://www.openttd.org/downloads/grfco ... ses/latest - I have also edited this link on the dev tools wiki page)
Ultimately, it is much easier to download an existing newgrf, using the surprisingly effective ingame downloader. Chances are by now, whatever you're looking to make, has been done to some degree. If not, you could even put out feelers in a thread and enquire if anyone wants to do it, or help you do it. You not only need to 'code' it, but you will of course also need any sprites and such for your GRF, don't forget.
If you need help, people on these forums tend to be somewhat helpful at times, there is a forum dedicated to development here; viewforum.php?f=26
There is some information on the wiki for OpenTTD here, but its a somewhat convoluted process https://wiki.openttd.org/en/Development ... nt%20Tools
You can kind of cheat and download grfcodec, which will decompile someone else's GRF. You can figure it out from there, before you re-use anything though, if you do, make sure to follow any licences. Unhelpfully the wiki points to this page for GRFCodec, even though the page doesn't exist. (edit: grfcodec, after a quick google, is here; https://www.openttd.org/downloads/grfco ... ses/latest - I have also edited this link on the dev tools wiki page)
Ultimately, it is much easier to download an existing newgrf, using the surprisingly effective ingame downloader. Chances are by now, whatever you're looking to make, has been done to some degree. If not, you could even put out feelers in a thread and enquire if anyone wants to do it, or help you do it. You not only need to 'code' it, but you will of course also need any sprites and such for your GRF, don't forget.
-
- Engineer
- Posts: 27
- Joined: 19 Sep 2021 15:09
Re: How do I make a NewGrf without coding?
Oh Okay, thanks!
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: How do I make a NewGrf without coding?
The newer method of doing GRFs, via the NML language is less annoying to work with than the original GRF stuff. You need Python (the language, not a snake) however, information on that is on a totally different wiki (?) here; https://www.tt-wiki.net/wiki/NMLTutorial
Who is online
Users browsing this forum: Google [Bot] and 20 guests