Problem about Total Town Replacement

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Problem about Total Town Replacement

Post by leaderfrontier »

As picture below,it was disable and say wad:attempt to use invalid ID

Who can kindly tell me wad the problem .Thank you
[img]Unnamed,%201st%20Jan%201965.png[/img]
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Problem about Total Town Replacement

Post by Alberth »

Run openttd with debugging enabled for newgrf to get additional information.

Code: Select all

path/to/openttd -d grf=2
Bigger numbers mean more debug output.
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

Sorry,may i know how to debug?
User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: Problem about Total Town Replacement

Post by tigerface »

Open up the command prompt and enter

Code: Select all

path/to/openttd -d grf=2
where path/to/openttd is your path to openttd (C:\OpenTTD\... or something like that wherever you have it). Remember no spaces..
Formerly thanet-bomber.
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

My OpenTTD path is not on Hard disc driver C,but is on HDD D.

My path:
D:\My-Games\Transport tycoon\OpenTTD\openttd -d grf=2

Wad should i type
User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: Problem about Total Town Replacement

Post by tigerface »

Code: Select all

cd D:\My-Games\Transport tycoon\OpenTTD
then

Code: Select all

openttd -d grf=2
Formerly thanet-bomber.
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

Wad the problem that fact now?
User avatar
Rainer
Traffic Manager
Traffic Manager
Posts: 240
Joined: 14 Nov 2007 10:01
Location: Wiesbaden, Germany

Re: Problem about Total Town Replacement

Post by Rainer »

Hi,
thanet-bomber wrote:

Code: Select all

cd D:\My-Games\Transport tycoon\OpenTTD
you forgot the quotes (there are spaces in the path)

Code: Select all

cd "D:\My-Games\Transport tycoon\OpenTTD"
cu
Rainer
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

Hi,so wad should i type?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Problem about Total Town Replacement

Post by DaleStan »

You should type "what" and "I", not "wad" and "i".
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
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

DaleStan wrote:You should type "what" and "I", not "wad" and "i".
Opss,sorry.
I usually type shortcut word..
User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: Problem about Total Town Replacement

Post by tigerface »

Rainer wrote:
thanet-bomber wrote:

Code: Select all

cd D:\My-Games\Transport tycoon\OpenTTD
you forgot the quotes (there are spaces in the path)

Code: Select all

cd "D:\My-Games\Transport tycoon\OpenTTD"
Ahhh one of the few joys of having Vista - you don't have to put the quotes in. I slyly mentioned the fact that you can't have spaces in my first post but then promptly forgot in my second :roll:
leaderfrontier wrote:Hi,so wad should i type?
Try

Code: Select all

cd "D:\My-Games\Transport tycoon\OpenTTD"
Then

Code: Select all

openttd -d grf=2
Formerly thanet-bomber.
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

thanet-bomber wrote:
Rainer wrote:
thanet-bomber wrote:

Code: Select all

cd D:\My-Games\Transport tycoon\OpenTTD
you forgot the quotes (there are spaces in the path)

Code: Select all

cd "D:\My-Games\Transport tycoon\OpenTTD"
Ahhh one of the few joys of having Vista - you don't have to put the quotes in. I slyly mentioned the fact that you can't have spaces in my first post but then promptly forgot in my second :roll:
leaderfrontier wrote:Hi,so wad should i type?
Try

Code: Select all

cd "D:\My-Games\Transport tycoon\OpenTTD"
Then

Code: Select all

openttd -d grf=2

Hi,nid to space or not?

thanet-bomber wrote:Open up the command prompt and enter

Code: Select all

path/to/openttd -d grf=2
where path/to/openttd is your path to openttd (C:\OpenTTD\... or something like that wherever you have it). Remember no spaces..
User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: Problem about Total Town Replacement

Post by tigerface »

That's not an easy question to answer. I'm guessing by that you mean "Can I do it all in one line?" The simplest answer is no. Where path/to/openttd was written before it was assumed that your OTTD was on the C drive and so you wouldn't need to change directory. Have you tried what I suggested in my previous post?
Formerly thanet-bomber.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Problem about Total Town Replacement

Post by DaleStan »

leaderfrontier wrote:nid
You should also consider typing words, instead of acronyms for colleges in Ahmedabad.
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
kolomati
Engineer
Engineer
Posts: 1
Joined: 18 Dec 2008 11:21

Re: Problem about Total Town Replacement

Post by kolomati »

Code: Select all

start -> run ->  cmd [enter]

D: [enter]
cd "D:\My-Games\Transport tycoon\OpenTTD" [enter]
openttd -d grf=2 [enter]
1. start up the cmd line
2. change the drive letter
3. change directory
4. run "openttd -d grf=2"
leaderfrontier
Traffic Manager
Traffic Manager
Posts: 133
Joined: 01 Aug 2008 03:58

Re: Problem about Total Town Replacement

Post by leaderfrontier »

kolomati wrote:

Code: Select all

start -> run ->  cmd [enter]

D: [enter]
cd "D:\My-Games\Transport tycoon\OpenTTD" [enter]
openttd -d grf=2 [enter]
1. start up the cmd line
2. change the drive letter
3. change directory
4. run "openttd -d grf=2"
Thank you.I just success do it...
Before it,I always didn't do the 2nd.
Sorry for my bad English Grammer
Sorry due to my ISP problem so cannot reply.
DaleStan wrote:
leaderfrontier wrote:nid
You should also consider typing words, instead of acronyms for colleges in Ahmedabad.
Thank again because i make a mistake again....
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 4 guests