purple color problems
Moderator: OpenTTD Developers
purple color problems
Hi!
The colors are wrong for me (there is a lot of purple where it shouldn't be), see the attached image.
I've just download, compiled and started the most recent OpenTTD (0.3.5). I use Linux (Debian Woody). I have the DOS version of TTD, I don't have the Windows version. I've copied the *.cat and *.grf files, I've renamed the *.grf files to match the file names OpenTTD required. OpenTTD starts up nicely, the game is playable, but the colors are wrong.
Any suggestions?
Thanks,
Dan
The colors are wrong for me (there is a lot of purple where it shouldn't be), see the attached image.
I've just download, compiled and started the most recent OpenTTD (0.3.5). I use Linux (Debian Woody). I have the DOS version of TTD, I don't have the Windows version. I've copied the *.cat and *.grf files, I've renamed the *.grf files to match the file names OpenTTD required. OpenTTD starts up nicely, the game is playable, but the colors are wrong.
Any suggestions?
Thanks,
Dan
- Attachments
-
- Screen shot describing the problem
- t.jpg (76.53 KiB) Viewed 3759 times
Alternatively you could use the "-i" switch, as described when you run "openttd -h":
Code: Select all
-i = Force to use the DOS palette (use this if you see a lot of pink)
"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
It does check automatically. The files of the DOS version have a different name than the ones of the Windows version. Depending on the names of the files it choses the appropriate mode. Of course it does not work correctly if you rename the DOS files to the Windows file names.lucaspiller wrote:Are there any plans for the game to check automatically for what version of the graphics are there?

"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Well it doesn't for me with 0.3.5, so unless it is in a later revision there is something wrong:

Code: Select all
bash-2.05b$ ls /usr/share/games/openttd/data/
canalsw.grf sample.cat trgc.grf trgt.grf used.grf
openttd.grf signalsw.grf trgh.grf trkfoundw.grf
opntitle.dat trg1.grf trgi.grf ttd.map
bash-2.05b$ openttd
Error: Cannot open file '/usr/share/games/openttd/data/trg1r.grf'
bash-2.05b$ openttd -i
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
warning: leaving MCOP Dispatcher and still 146 types alive.

No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Quote from the Readme:lucaspiller wrote:Well it doesn't for me with 0.3.5, so unless it is in a later revision there is something wrong:
The filenames must remain uppercase as they have been in the original DOS version.(Alternatively you can use the TTD GRF files from the DOS version: TRG1.GRF,
TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. Those filenames have to be uppercase
to be detected correctly. A few minor graphical glitches with the DOS
graphics remain. E.g. the autorail button in the rail toolbar doesn't look
as nice as with the Windows graphics.)

"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
MD5 Checking
There is now a patch on sourceforge that checks the MD5 of the files to make sure that renaming like this is noticed by the user.
Who is online
Users browsing this forum: Ahrefs [Bot] and 21 guests