making new graphics
Moderator: Graphics Moderators
making new graphics
so im a little confused. i would like to create a new vehicle for ottd but i cant find any tutorials for it. there are some like the onehere but it doesnt talk about ottd. the different versions of tt is confusing. is there any tutorial aimed at making new graphics for OTTD?
Re: making new graphics
Graphics (or rather, GRF files) are not OpenTTD specific. They can be used both by OpenTTD and TTDPatch. They are indeed encoded using NFO and grfcodec, so you seem to be at the right spot.
Re: making new graphics
I am sorry if I am "hijacking" this thread, but this question is pointed at the article in PikkaWiki which this thread points to.
How do I decompile a .grf file? PikkaWiki sais "grfcodec -d trg1r.grf -p2", and nothing more. I tried the command in cmd, but I just got an error that said: "GRFCodec is not a valid command."
Edit: Haha, I figured it out! I had to make a .bat file with the command.
I've added this to the wiki.
How do I decompile a .grf file? PikkaWiki sais "grfcodec -d trg1r.grf -p2", and nothing more. I tried the command in cmd, but I just got an error that said: "GRFCodec is not a valid command."
Edit: Haha, I figured it out! I had to make a .bat file with the command.

I've added this to the wiki.

Re: making new graphics
i got as far as that. there is nothing that tells you how to take X sprite, and insert it into the game.
Re: making new graphics
Have a look here: http://wiki.ttdpatch.net/tiki-index.php ... RFTutorial
(Yes, it sais TTDPatch, but it is for OpenTTD too.)
(Yes, it sais TTDPatch, but it is for OpenTTD too.)
Re: making new graphics
Not reallyBennythen00b wrote:Edit: Haha, I figured it out! I had to make a .bat file with the command.

If you have both grfcodec.exe and the .grf file you want to decode in the same directory, then in the command prompt, you can just cd to that directory and run grfcodec.exe -d -p 2 file.grf from there.
Batch files are useful if you want to run the same command over and over again (for instance, when encoding test versions of the grf you're working on). For the incidental decode, a batch surely can work, but you don't really need one.
Re: making new graphics
Yes, I know. But that is a lot harder even if you just want to do it once. With a .bat file, you can just copy/paste. But with cmd, you have to write it manually.
Re: making new graphics
Ofcourse, use whatever method suits you best, but I just want to say that you can paste in cmd. Try a rightclick in the command window 

Re: making new graphics
Now don't be ashamed, Benny. Cmd isn't the most advanced tool, and the features it has are hidden pretty badly...
Re: making new graphics
like its inbuilt flight sim. who woulda knew
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests