How to compile graphics?

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
User avatar
DerekCZ
Engineer
Engineer
Posts: 105
Joined: 29 Jul 2014 18:08
Location: Czech Republic

How to compile graphics?

Post by DerekCZ »

So, I have all source files of my graphic ready, but when I try to compile it using cmd and compile command, it seems to cmpile it just fine, but there is no file in the specified destination. Am i doing something wrong or is it software issue?
User avatar
oftcrash
Transport Coordinator
Transport Coordinator
Posts: 304
Joined: 03 Jan 2013 17:20
Location: New England, USA

Re: How to compile graphics?

Post by oftcrash »

Can you be more specific? Are you compiling NML? Is the path to the graphics file in your NML relative to the NML file? For example:

Code: Select all

spriteset(ss_passenger_liner, "gfx/passenger-liner.png") {
    liner(0,0)
}
The graphic is in a subfolder called gfx.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 28 guests