Still in the pink
Moderator: OpenTTD Developers
Still in the pink
I have the DOS version of TTD.
If I copy the GRF files as is to the data directory, I get an error code about "TRG1R.GRF" missing.
If I rename the files to the windows names, I get all those pink rails and roads even when using the '-i' switch.
Please help.
Amit
If I copy the GRF files as is to the data directory, I get an error code about "TRG1R.GRF" missing.
If I rename the files to the windows names, I get all those pink rails and roads even when using the '-i' switch.
Please help.
Amit
Seeing as you own the Dos version, why not just GET a copy of the windows version??
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
Please disregard Sionide's post. I didn't spend time to make the DOS graphics work nicely just so that people illegally download TTD Win instead. 
@amif2000: First make sure which version of OpenTTD you have installed please. You can tell by looking at the title bar of the start screen menu or by clicking the question mark icon and choosing "About OpenTTD". I am 95% certain that you are not using 0.3.6 or a newer version, because OpenTTD 0.3.6 and higher does not check only the file names any more. It also checks the integrity of files and if you simply rename them, the MD5 checksum won't be correct and it would spit out an error message. If you are running 0.3.6 on Linux though, then please make sure that you copy the DOS files over to the data folder and that they are either completely uppercase letters or completely lowercase letters.

@amif2000: First make sure which version of OpenTTD you have installed please. You can tell by looking at the title bar of the start screen menu or by clicking the question mark icon and choosing "About OpenTTD". I am 95% certain that you are not using 0.3.6 or a newer version, because OpenTTD 0.3.6 and higher does not check only the file names any more. It also checks the integrity of files and if you simply rename them, the MD5 checksum won't be correct and it would spit out an error message. If you are running 0.3.6 on Linux though, then please make sure that you copy the DOS files over to the data folder and that they are either completely uppercase letters or completely lowercase letters.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
dominik81:
I've double checked and it is 0.3.6 for sure
This is the debug session when running with renamed files:
MD5 of TRG1R.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGIR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGCR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGHR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGTR.GRF is ****INCORRECT**** - File Corrupt.
dbg: DirectMusic driver: LoadMIDI: SetSearchDirectory failed
dbg: DirectMusic driver: PlaySegment failed
dbg: DirectMusic driver: LoadMIDI: SetSearchDirectory failed
dbg: DirectMusic driver: PlaySegment failed
This is the debug session with the original DOS names:
MD5 of TRGT.GRF is ****INCORRECT**** - File Corrupt.
The error messagebox says that TRG1R is missing.
Looks like there is an issue with the TRGT file that confuses OTTD into thinking it is a Windows install.
My TTDLX disk says Copyright 1995 and the readme file has no special version info.
Amit
I've double checked and it is 0.3.6 for sure
This is the debug session when running with renamed files:
MD5 of TRG1R.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGIR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGCR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGHR.GRF is ****INCORRECT**** - File Corrupt.
MD5 of TRGTR.GRF is ****INCORRECT**** - File Corrupt.
dbg: DirectMusic driver: LoadMIDI: SetSearchDirectory failed
dbg: DirectMusic driver: PlaySegment failed
dbg: DirectMusic driver: LoadMIDI: SetSearchDirectory failed
dbg: DirectMusic driver: PlaySegment failed
This is the debug session with the original DOS names:
MD5 of TRGT.GRF is ****INCORRECT**** - File Corrupt.
The error messagebox says that TRG1R is missing.
Looks like there is an issue with the TRGT file that confuses OTTD into thinking it is a Windows install.
My TTDLX disk says Copyright 1995 and the readme file has no special version info.
Amit
Your TRGT.GRF is definately not the usual file. Did you modify it in any way? If not, I would be glad if you could send me a copy of it and if you could tell me the exact version of TTD. You can find this information in the About Window.
For now, here is an (ugly) solution:
1.) Rename them all to Windows names.
2.) Start OpenTTD with "openttd -i"
For now, here is an (ugly) solution:
1.) Rename them all to Windows names.
2.) Start OpenTTD with "openttd -i"
"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
sorry dom
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
I have exactly the same problem - I've downloaded the latest version twice, and run it on both win 98 and win 2000. Note that it is only the map that shows pink in place of blues greys etc. All other pictures have the correct colours.
'I have the DOS version of TTD.
If I copy the GRF files as is to the data directory, I get an error code about "TRG1R.GRF" missing.
If I rename the files to the windows names, I get all those pink rails and roads even when using the '-i' switch. "
help please.
'I have the DOS version of TTD.
If I copy the GRF files as is to the data directory, I get an error code about "TRG1R.GRF" missing.
If I rename the files to the windows names, I get all those pink rails and roads even when using the '-i' switch. "
help please.
Thanks Ikarus-71,
I downloaded the Win graphics files only and openttd works now. How ethical is this? I think not too bad - I bought the original version of TT, then the Dos version of TTDLX - its not as though I havent bought the game in the first place. Even so, it would be better if version 0.3.6 worked without having to do this. I went back to the original grf files on disc and have tried using the -i parameter with no luck. As it is my first attempt at using openttd, perhaps that is the problem compared to those who succesfully upgraded from the previous version. By the way, one of the windows files is definitely larger than the dos file.
I downloaded the Win graphics files only and openttd works now. How ethical is this? I think not too bad - I bought the original version of TT, then the Dos version of TTDLX - its not as though I havent bought the game in the first place. Even so, it would be better if version 0.3.6 worked without having to do this. I went back to the original grf files on disc and have tried using the -i parameter with no luck. As it is my first attempt at using openttd, perhaps that is the problem compared to those who succesfully upgraded from the previous version. By the way, one of the windows files is definitely larger than the dos file.
One solution
How I solve this problem with ping colors (if using dos grf files):
1. Download GRFencoder: http://www.divxland.org/ttd/ttdsolutions.htm
2. Copy TRG1.GRF TRGC.GRF TRGH.GRF TRGT.GRF files to encoder dir.
3. Decode files:
grfcodec -d TRG1.GRF
grfcodec -d TRGC.GRF
grfcodec -d TRGH.GRF
grfcodec -d TRGT.GRF
4. Encode files in win-pallete:
grfcodec -e -m 0 TRG1.GRF
grfcodec -e -m 0 TRGC.GRF
grfcodec -e -m 0 TRGH.GRF
grfcodec -e -m 0 TRGT.GRF
5. Rename files:
TRG1.GRF -> trg1r.grf
TRGC.GRF -> trgcr.grf
TRGH.GRF -> trghr.grf
TRGT.GRF -> trgtr.grf
TRGI.GRF -> trgir.grf (original in dos-palette)
At this moment I have new problem with letters (dancing colors).
It can be solved by coping letters sprites from dos- palette grf file:
1. Copy TRG1.GRF (in dos- palette) to encoder dir.
2. Run grfdiff:
grfdiff -l 2-674 TRG1.GRF
it will make TRG1.GRD
3. And merge it to win- palette grf file (trg1r.grf):
grfmerge.exe TRG1.GRD trg1r.grf
Then copy all created files to data dir of openttd (don't forget simple.cat)
This make game playable but some ping colors in main icons and some dialogs are remained
.
1. Download GRFencoder: http://www.divxland.org/ttd/ttdsolutions.htm
2. Copy TRG1.GRF TRGC.GRF TRGH.GRF TRGT.GRF files to encoder dir.
3. Decode files:
grfcodec -d TRG1.GRF
grfcodec -d TRGC.GRF
grfcodec -d TRGH.GRF
grfcodec -d TRGT.GRF
4. Encode files in win-pallete:
grfcodec -e -m 0 TRG1.GRF
grfcodec -e -m 0 TRGC.GRF
grfcodec -e -m 0 TRGH.GRF
grfcodec -e -m 0 TRGT.GRF
5. Rename files:
TRG1.GRF -> trg1r.grf
TRGC.GRF -> trgcr.grf
TRGH.GRF -> trghr.grf
TRGT.GRF -> trgtr.grf
TRGI.GRF -> trgir.grf (original in dos-palette)
At this moment I have new problem with letters (dancing colors).
It can be solved by coping letters sprites from dos- palette grf file:
1. Copy TRG1.GRF (in dos- palette) to encoder dir.
2. Run grfdiff:
grfdiff -l 2-674 TRG1.GRF
it will make TRG1.GRD
3. And merge it to win- palette grf file (trg1r.grf):
grfmerge.exe TRG1.GRD trg1r.grf
Then copy all created files to data dir of openttd (don't forget simple.cat)
This make game playable but some ping colors in main icons and some dialogs are remained

Who is online
Users browsing this forum: Amazon [Bot] and 18 guests