make rev 501 to work ?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

make rev 501 to work ?

Post by fabca2 »

hello,
I use to compile to try uptodate revision (and it works)
I tried with rev 501, and As I've seen directory structure have changed.
I'm on W2K.
english.lng have been copied into lang\ directory.
ttd.exe complained about file that must now be placed in data\ directory.

now I've all files in data\
- trg*r.grf (5 files)
- canalsw.grf
- openttd.cfg , openttd.grf , opettd.dat
- sample.cat
- signalsw.grf
and
- ttd.map


but when I run ttd.exe now, it do nothing, nothing appears, no message, no menu, no window, it just ends and return to windows.

is there something wrong ???
thank you.
TrueSatan
Transport Coordinator
Transport Coordinator
Posts: 291
Joined: 16 Jul 2003 18:33

Post by TrueSatan »

hi fabca
i'Ve compiled build 501 and did the same as you with the data files.
lang to lang grfs to grfs (openttd.cfg is not needed in data)
everything works fine here. working also on w2k.
oh compiled with vs .net.
don't know if this will help you much ;)

greets
User avatar
MagicBuzz
Tycoon
Tycoon
Posts: 1354
Joined: 15 Feb 2003 17:32
Location: Vergezac, France

Re: make rev 501 to work ?

Post by MagicBuzz »

fabca2 wrote:hello,
but when I run ttd.exe now, it do nothing, nothing appears, no message, no menu, no window, it just ends and return to windows.

is there something wrong ???
thank you.
Try to launch the command line console (start > run > "cmd") (Démarrer > Exécuter > "cmd")
And then go to the ttd.exe directory using the old good ms-dos commands "cd c:\progra~1\open-ttd" and then run ttd.exe

You should be able to see console error messages if there are.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

The .cfg file is ofcourse in the same directory as the ttd executeable.

Don't forget to also put cached_sprites.xxx in the data directory.

All that should be in main is ttd.exe and openttd.cfg
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
soundman
Engineer
Engineer
Posts: 23
Joined: 25 Apr 2004 17:46

Post by soundman »

I've got the same problem as the topic starter.
ttd.exe runs at 100% cpu, but no window is displayed.

What is 'cached_sprites.xxx'? I don't have any in my source/compile directory.
soundman
Engineer
Engineer
Posts: 23
Joined: 25 Apr 2004 17:46

Post by soundman »

svn version 505 has the same problem.
When ttd is started with the '-d' switch, the screen stays empty.
soundman
Engineer
Engineer
Posts: 23
Joined: 25 Apr 2004 17:46

Post by soundman »

Ah (just talking to my self :) )
Replace data\openttd.grf with the openttd.grf from svn.

This solves the problem for me.
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

Post by fabca2 »

soundman wrote:Ah (just talking to my self :) )
Replace data\openttd.grf with the openttd.grf from svn.

This solves the problem for me.
Yes ! it's works,
that was it, thank you very much soundman !


thank you also for others...
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 36 guests