[How-to] Use newgrf sets

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

User avatar
Ben_Robbins_
Tycoon
Tycoon
Posts: 1234
Joined: 20 Nov 2005 01:56
Location: Abu Dhabi, UAE

Post by Ben_Robbins_ »

It should just be in your main Openttd Folder. Same place as openttd.exe seems to be. Open it into notepad

(Thats where it is on my computer anyway)
Ben
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

That's where it is for every Windows OpenTTD install, assuming you've run Open at least once.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
ervin2
Engineer
Engineer
Posts: 52
Joined: 28 Jun 2006 17:49
Skype: Ervink2

Post by ervin2 »

ive did a search on my comp, for all files and folders, and havent found it. So obviously I dont have it, any idea if theres another way i can get it?
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

ervin2 wrote:ive did a search on my comp, for all files and folders, and havent found it. So obviously I dont have it, any idea if theres another way i can get it?
As DaleStan has already said:
DaleStan wrote:assuming you've run Open at least once
If openttd.cfg can't be found when the game is run, it will be created.
Image
ervin2
Engineer
Engineer
Posts: 52
Joined: 28 Jun 2006 17:49
Skype: Ervink2

Post by ervin2 »

Ive already run the game several times...
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

you surely have "hide extensions" active...
search for a file named openttd which isn't the executable and try to open it using notepad
ervin2
Engineer
Engineer
Posts: 52
Joined: 28 Jun 2006 17:49
Skype: Ervink2

Post by ervin2 »

Wolf01 wrote:you surely have "hide extensions" active...
search for a file named openttd which isn't the executable and try to open it using notepad
the only possible thing i found was a microsoft office file, it had nothing at the end of it (no .cfg)

so heres what it looks like

[misc]
display_opt = SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|FULL_ANIMATION|FULL_DETAIL|WAYPOINTS
news_display_opt = 2862654565
news_ticker_sound = true
fullscreen = false
language = english.lng
resolution = 637,480
screenshot_format =
savegame_format =
rightclick_emulate = false

[win32]
display_hz = 0
force_full_redraw = false
fullscreen_bpp = 8
double_size = false

[network]
max_join_time = 500
pause_on_join = true
server_bind_ip = 0.0.0.0
server_port = 3979
server_advertise = false
and heres the end of it

autorenew = false
autorenew_months = 4294967290
autorenew_money = 100000
population_in_label = true
link_terraform_toolbar = false

[currency]
rate = 1
separator = "."
to_euro = 0
prefix = ""
suffix = " credits"

[servers]

[bans]
is that it?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Yep. You have hide-extensions-for known-filetypes on, and that thoroughly brilliant MSOffice install that thinks it invented the .cfg extension.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

DaleStan wrote:Yep. You have hide-extensions-for known-filetypes on, and that thoroughly brilliant MSOffice install that thinks it invented the .cfg extension.
So, other than blathering on about how MS do things, are you actually going to advise ervin2 on how to get his newgrf working??
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Wasn't the problem that Ervin couldn't find openttd.cfg?
Didn't Ervin just find openttd.cfg?

I would have thought that that meant that the problem was solved.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

don't open the .cfg with msoffice, it can break the file by adding some hidden chars, use notepad or notepad++ insted, with the second one you can also set it as the default program for that extension directly from the program
ervin2
Engineer
Engineer
Posts: 52
Joined: 28 Jun 2006 17:49
Skype: Ervink2

Post by ervin2 »

well prob solved, thanks. :)
Sacro
Tycoon
Tycoon
Posts: 1145
Joined: 18 Jun 2005 21:08
Location: Here
Contact:

Post by Sacro »

As per forum regs, maximum sig height is 45px, yours appears to be 95px over that :roll:
We Am De Best

Host of ThroughTheTube site
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

To see extensions again (in WinXP):

Open any directory with explorer (It can be even "My Computer" or "C:\")


Find "Tools" menu (I don't have english version of widows, but it is the one left to the "Help" menu)

Click on the last item, below the horizontal line - "Folder options..." (perhaps?)

Go to the second tab "View"

Disable "Hide system files", "Hide extensions of known filetypes", and select "Show all hidden files"
User avatar
Rocker
Engineer
Engineer
Posts: 14
Joined: 22 Jul 2009 09:38
Location: Slovakia

Re: [How-to] Use newgrf sets

Post by Rocker »

Hello All!
Is possible to use for example 5 kinds of train sets ? I just want to have international trains in game ( Dutch trains,Hungarian,DB,Serbian,Czech trains...) but it doesn't get.
I have opened openttd.cfg and wrote under [newgrf] names of the sets but something is wrong and i don't know what.
Can someone help me please ? Thanks
User avatar
FHS
Director
Director
Posts: 577
Joined: 18 Apr 2009 17:17
Location: Basel, CH

Re: [How-to] Use newgrf sets

Post by FHS »

1.Dont write the sets in the newgrf section of openttd.cfg, use the ingame configuration window instead.
2.Do you have the engine pool activated?
3.Youre now officially a Gravedigger
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [How-to] Use newgrf sets

Post by planetmaker »

Rocker wrote:Hello All!
Is possible to use for example 5 kinds of train sets ? I just want to have international trains in game
you can. But most likely the result will not be what you intend to get as there can be a lot of unwanted cross-talk between those NewGRF. Use the 2cc Train Set instead. It has trains from all around the world.
User avatar
Rocker
Engineer
Engineer
Posts: 14
Joined: 22 Jul 2009 09:38
Location: Slovakia

Re: [How-to] Use newgrf sets

Post by Rocker »

It works :)) !! ...and it was too simple... :oops:

Thanks :bow:
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: GarryG and 4 guests