Newbie question on 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
batman19
Engineer
Engineer
Posts: 59
Joined: 15 Feb 2006 23:07
Contact:

Newbie question on graphics

Post by batman19 »

I played TTDP b4, and thinking about playing OTTD One quick question here.
I read A LOT of post in the forums and still dont understand how to edit graphics from games

I remember i can run an editor software for TTDpatch, add all the graphics on this list........ then run the game.

How does that work in OTTP? Do i have to edit some of the "code" to be able to change graphics? Or is there an editor like TTDpatch. I need a "user friendly" way to change some of the graphics.
AIM leung19
Sacro
Tycoon
Tycoon
Posts: 1145
Joined: 18 Jun 2005 21:08
Location: Here
Contact:

Post by Sacro »

In OpenTTD you simply place the grf files into your data folder. Then edit you openttd.cfg file, adding

[newgrf]
filename1.grf
filename2.grf
We Am De Best

Host of ThroughTheTube site
batman19
Engineer
Engineer
Posts: 59
Joined: 15 Feb 2006 23:07
Contact:

Post by batman19 »

Sacro wrote:In OpenTTD you simply place the grf files into your data folder. Then edit you openttd.cfg file, adding

[newgrf]
filename1.grf
filename2.grf
how do u overwrite the old one then?

for example
airplane A i want to update to new graphics

how can i edite airplane A with new graphics over the old one?
AIM leung19
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

well, editing graphics, and using graphics packs are 2 completly seperate things...

editing graphics:
this is basicly creating a graphics pack, any of the tools you use in TTDP will work for OTTD(assuming the command is supported, which many are), GRFCodec is basicly what you need. also, look at the NFO guide, and get some graphics editing software. paintbrush will do aslong as you have something that can convert the bitmaps into PCXs, which were never supported on the windows NT environment (this includes 2000 and XP)

Using Graphics packs:
again, very simular to TTDP, main difference is instead of having a newgrf folder and a newgrfw.cfg file, you have a [newgrf] section in OTTD's main config file, right at the bottom, add the GRF filename.grf, instead of newgrf/filename.grf. like what sacro said, the GRF files want to be in the "Data" folder.

so, its basicly the same as TTDP. except only about 90% of the files work in OTTD, because TTDP's Patchman wrote the newGRF format, and OTTD are just playing "Catchup"
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

batman19, all this information is specified in the newgrf file itself. The newgrf is designed to replace or add graphics, specifications and the like in a very specific fashion. You don't get to choose what the newgrf file replaces, you have to have a newgrf file that is set to replace the item you want.

The TTDPatch Graphics forum is probably the most productive place to get help on this subject.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
batman19
Engineer
Engineer
Posts: 59
Joined: 15 Feb 2006 23:07
Contact:

Post by batman19 »

bobingabout wrote:well, editing graphics, and using graphics packs are 2 completly seperate things...

editing graphics:
this is basicly creating a graphics pack, any of the tools you use in TTDP will work for OTTD(assuming the command is supported, which many are), GRFCodec is basicly what you need. also, look at the NFO guide, and get some graphics editing software. paintbrush will do aslong as you have something that can convert the bitmaps into PCXs, which were never supported on the windows NT environment (this includes 2000 and XP)

Using Graphics packs:
again, very simular to TTDP, main difference is instead of having a newgrf folder and a newgrfw.cfg file, you have a [newgrf] section in OTTD's main config file, right at the bottom, add the GRF filename.grf, instead of newgrf/filename.grf. like what sacro said, the GRF files want to be in the "Data" folder.

so, its basicly the same as TTDP. except only about 90% of the files work in OTTD, because TTDP's Patchman wrote the newGRF format, and OTTD are just playing "Catchup"

Sorry manybe i'm just dump, you lost me there

lol, all i want is maybe change the airplane to some new graphics that i can download here. So i have no idea what is "editing graphics" or "Using graphics pack"
Do i just follow the stick post up top to do that?
AIM leung19
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post by Korenn »

batman19 wrote:
bobingabout wrote:well, editing graphics, and using graphics packs are 2 completly seperate things...

editing graphics:
this is basicly creating a graphics pack, any of the tools you use in TTDP will work for OTTD(assuming the command is supported, which many are), GRFCodec is basicly what you need. also, look at the NFO guide, and get some graphics editing software. paintbrush will do aslong as you have something that can convert the bitmaps into PCXs, which were never supported on the windows NT environment (this includes 2000 and XP)

Using Graphics packs:
again, very simular to TTDP, main difference is instead of having a newgrf folder and a newgrfw.cfg file, you have a [newgrf] section in OTTD's main config file, right at the bottom, add the GRF filename.grf, instead of newgrf/filename.grf. like what sacro said, the GRF files want to be in the "Data" folder.

so, its basicly the same as TTDP. except only about 90% of the files work in OTTD, because TTDP's Patchman wrote the newGRF format, and OTTD are just playing "Catchup"

Sorry manybe i'm just dump, you lost me there

lol, all i want is maybe change the airplane to some new graphics that i can download here. So i have no idea what is "editing graphics" or "Using graphics pack"
Do i just follow the stick post up top to do that?
what he's talking about is actually making graphics yourself and putting them ingame.

what you want is what Sacro wrote. any grf you load will overwrite all previously loaded graphics, including the originals.
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

which is basicly "Using Graphics packs:"
someone makes some new graphics, writes the code, then releases it, thats a graphics pack.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot], Baidu [Spider], VikCZ and 24 guests