I edited a newgrf, how do I turn it into a working newgrf?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
tama123
Engineer
Engineer
Posts: 3
Joined: 13 Aug 2018 18:55

I edited a newgrf, how do I turn it into a working newgrf?

Post by tama123 »

Today I found a newgrf that I didn't like the colours of. So I used grfwizard to decode it and get the png file of the sprite. I then edited that sprite file to my liking but now I have no idea what to do. I have an Nfo file, and 1 png file that seems to be empty and the edited png file. I tried messing around with grfcodec and the encoding option on grfwizard but I can't seem to work it out. Thank you in advance.
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: I edited a newgrf, how do I turn it into a working newgrf?

Post by acs121 »

You may check the tutorial on the tt-wiki on how to save paletted files.
tama123
Engineer
Engineer
Posts: 3
Joined: 13 Aug 2018 18:55

Re: I edited a newgrf, how do I turn it into a working newgrf?

Post by tama123 »

acs121 wrote:You may check the tutorial on the tt-wiki on how to save paletted files.
I can't find that.. could you send me the link? Sorry for being so noobish
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: I edited a newgrf, how do I turn it into a working newgrf?

Post by acs121 »

https://www.tt-wiki.net/wiki/Save_paletted_image_files

(more text so i don't break a rule)
tama123
Engineer
Engineer
Posts: 3
Joined: 13 Aug 2018 18:55

Re: I edited a newgrf, how do I turn it into a working newgrf?

Post by tama123 »

acs121 wrote:https://www.tt-wiki.net/wiki/Save_paletted_image_files

(more text so i don't break a rule)

Thank you!

It's actually your suspended subway grf that I'm trying to edit! I really love the idea of it but I don't like the green so I was trying to make it more into a modern white/grey colour kind of thing. If you have any version of the newgrf that looks like that I'd love to have it. I also read you were planning on making more of those bridges.
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: I edited a newgrf, how do I turn it into a working newgrf?

Post by acs121 »

I'm not the author of the bridge, Tony Pixel is.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 11 guests