Page 1 of 1
Nice trees : which grf it is ?
Posted: 24 Dec 2006 03:10
by MagicBuzz
I often saw very nice trees in screenshots, but I can't find which GRF it is.
According Astath's post
http://www.tt-forums.net/viewtopic.php?t=28860 it seems it works with OTTD, and it should be "stolentrees".
But I can't find it anywhere :/
Could you tell me where to find it?
Posted: 24 Dec 2006 03:21
by WWTBAM
try SAC's thread in ttdpatch graphics
Posted: 24 Dec 2006 09:08
by MagicBuzz
i did. i just found 1 grf and it's not this one.
the thread is just 41 pages length, and the trees should be lost somewhere in it as I can't see it :
- first link on first page just changes some graphics (pylons, etc.)
- i found a stolentrees.zip at page 33 but it's only a PCX file, not a grf
Posted: 24 Dec 2006 09:20
by Wolf01
it should be 2 or 3 pages further
Posted: 24 Dec 2006 10:47
by MagicBuzz
i found it on the 39th page.
but it's a windows version
waaaaa

Posted: 25 Dec 2006 07:47
by DaleStan
And the problem with that is?
When it comes to grf files, "Windows" and "DOS" refer to the palette of the graphics in the file, not the required host OS.
Posted: 25 Dec 2006 09:12
by SAC
It should be noted though that these trees are in fact a "test version" released only as a sort of taster, noting else.
As for DOS versions, as there are players out there using the DOS-version I'd very much like to provide a final INFRA-set for DOS as well. However, not sure how to do that but possibly there will be someone willing to offer the help when the time comes!

Posted: 25 Dec 2006 11:10
by Purno
SAC wrote:It should be noted though that these trees are in fact a "test version" released only as a sort of taster, noting else.
As for DOS versions, as there are players out there using the DOS-version I'd very much like to provide a final INFRA-set for DOS as well. However, not sure how to do that but possibly there will be someone willing to offer the help when the time comes!

GRFcodec can do that with a simple command. I don't know the exact command, but I believe you can find out quite easily if you run the program without any command. You just need to know how to handle MS-DOS tho, IIRC.
Posted: 25 Dec 2006 12:53
by Born Acorn
There's actually a lot of OpenTTD players that use the DOS palette, as they do as they are told by the instructions and use their old DOS CDs.

Posted: 25 Dec 2006 13:45
by MagicBuzz
SAC wrote:It should be noted though that these trees are in fact a "test version" released only as a sort of taster, noting else.
As for DOS versions, as there are players out there using the DOS-version I'd very much like to provide a final INFRA-set for DOS as well. However, not sure how to do that but possibly there will be someone willing to offer the help when the time comes!

as i can see, dos and win versions doesn't use the same palette.
it means some of the trees are dotted with blue pixels. it's not a big problem, but they are less nice as they should.

Posted: 25 Dec 2006 18:35
by SAC
Born Acorn wrote:There's actually a lot of OpenTTD players that use the DOS palette, as they do as they are told by the instructions and use their old DOS CDs.

Didn't know that! Even more a reason as to why a DOS-version is needed. As Purno says it's doable using GrfCodec and I'll look into it, although in the end I believe someone actually playing the DOS-version may have to assist me with this.
MagicBuzz wrote:as i can see, dos and win versions doesn't use the same palette. it means some of the trees are dotted with blue pixels. it's not a big problem, but they are less nice as they should.
Sorry about that, but again; this is a test version and wasn't even planned to be released in the first place, so I'm afraid you'll have to settle with it for now - unless someone with time on his/her hands can be bothered to convert the test.grf into a DOD-version as well - for the time being!

Posted: 25 Dec 2006 19:29
by Connum
I just wanted to remark that I use the Windows-version files but nevertheless got the blue pixels on the trees! Don't get me wrong, this is not a complaint - like you said it's just a test release - but I just want to understand why this is happening! But didn't DaleStan say that OTTD just uses the palette of the grf file?
I'm confused!

Posted: 25 Dec 2006 19:48
by SAC
Connum wrote:I just wanted to remark that I use the Windows-version files but nevertheless got the blue pixels on the trees! Don't get me wrong, this is not a complaint - liek you said it's just a test release - but I just want to understand why this is happening! But didn't DaleStan say that OTTD just uses the palette of the grf file?
I'm confused!

Odd!

Well, I don't use the test version myself but I haven't heard anyone mention these blue pixels before - unless of course you use a DOS-version of OTTD, (not sure how this OTTD-versions works as I've never used any of them), which could explain why you get the blue pixels!
Posted: 25 Dec 2006 19:56
by Connum
Hmm don't ask me why but I made a new clean "installation" (well I extracted the files from the archive and copied the original TTDLX files into the folder) and now the trees work without any annoying pixels! =) Just great!

Posted: 25 Dec 2006 22:04
by Born Acorn
Connum wrote:I just wanted to remark that I use the Windows-version files but nevertheless got the blue pixels on the trees! Don't get me wrong, this is not a complaint - liek you said it's just a test release - but I just want to understand why this is happening! But didn't DaleStan say that OTTD just uses the palette of the grf file?
I'm confused!

Where did you get your data files from? (tg1r.grf, sample.cat, etc)
Posted: 26 Dec 2006 06:35
by DaleStan
SAC wrote:Born Acorn wrote:There's actually a lot of OpenTTD players that use the DOS palette, as they do as they are told by the instructions and use their old DOS CDs.

Didn't know that! Even more a reason as to why a DOS-version is needed. As Purno says it's doable using GrfCodec and I'll look into it, although in the end I believe someone actually playing the DOS-version may have to assist me with this.
Code: Select all
$ cp winfile.grf dosfile.grf
$ grfcodec -dp2 dosfile.grf
$ grfcodec -em1 dosfile.grf
If you're using XP/NT's cmd.exe or 9x/Me/XP/NT's command.com, instead of a Unixy system, "cp" needs to be changed to "copy".
I suppose I should wikify this at some point.
Posted: 26 Dec 2006 08:29
by SAC
Thanks!
I'll look closer into this when the time comes!
Posted: 26 Dec 2006 12:05
by MagicBuzz
i'll do a test with the grf converter this evening if sac allows me to do it.
Posted: 26 Dec 2006 17:48
by MagicBuzz
it works
Code: Select all
C:\MPS>grfcodec -dp2 stolentrees_temp.grf
GRFCodec version 0.9.10 - Copyright (C) 2000-2005 by Josef Drexler
Decoding:
stolentrees_temp.grf has 136 sprites, maxx 40, maxy 64, maxs 2568.
C:\MPS>grfcodec -em1 stolentrees_temp.grf
GRFCodec version 0.9.10 - Copyright (C) 2000-2005 by Josef Drexler
Encoding in temporary file stolentrees_temp.new
Warning: Found 1 fewer sprites than sprite 0 reports.:100%, Redundancy:100%)
Loading sprites/stolentrees_temp.pcx00% (Transparency:100%, Redundancy:100%)
Sprite 135 Done: 99% Compressed: 40% (Transparency:100%, Redundancy: 40%)
Renaming stolentrees_temp.grf to stolentrees_temp.bak
Replacing stolentrees_temp.grf with stolentrees_temp.new
Done!
Now I have nice trees with my DOS files based OTTD.
SAC, you can do the same, or ask me to share it

I won't distribute it till you don't give me autorization

Posted: 26 Dec 2006 18:35
by Connum
Born Acorn wrote:Where did you get your data files from? (tg1r.grf, sample.cat, etc)
I own the original game in different versions, TTO, TTD (DOS) and TTD (Win)... I could swear that I had copied them from the Win CD all the time... But maybe I accidentally used the DOS version for the first installation! Nevertheless, it's now working like a charm! =)