Open TTD GRF File Library

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

Hey, chill out. It is a great idea. Id suggest you look at GRFcrawler. Maybe speka to whoever is in charge and see if you cant modify GRFcrawler to be more useful. I see the others point, but I also think it could be much improved. :D
Dont lose the enthusiasm! :D
User avatar
Kolijn Wolfaardt
Engineer
Engineer
Posts: 41
Joined: 01 Jun 2006 14:13
Location: Somewhere

Grf site

Post by Kolijn Wolfaardt »

I think the idea could work. I've seen many grf files that aren't listed on grf crawler (like the INFRA project). I haven't been able to install ANY station sets, so some instructions for them (on the site) would be helpful.

I'll help with site construction, if it is needed :)
ImageImage
ImageImage
Image

Toyland isn't a climate, its a mistake.
This message was transmitted on 100% recycled electrons

Don't pm, rather e-mail me.
New terrain graphics
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

I don't think we need a new website for this. We already got GRFCrawler, which works fine. Alternatively, there's Linkage to link to GRF websites too. The last thing we need is even more scattering of useful resources.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Purno wrote:I don't think we need a new website for this. We already got GRFCrawler, which works fine. Alternatively, there's Linkage to link to GRF websites too. The last thing we need is even more scattering of useful resources.
The point is to get all the GRFs that are proofed to work with OpenTTD in one place, not also GRFs that aren't compatible with OpenTTD.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
Sleepie
Director
Director
Posts: 534
Joined: 03 Jan 2007 08:46
Location: Germany

Post by Sleepie »

XeryusTC wrote:The point is to get all the GRFs that are proofed to work with OpenTTD in one place, not also GRFs that aren't compatible with OpenTTD.
But couldn't this achieved using different categories etc. on GRFCrawler? I agree with Purno here and think the best option imo would be some enhancements to GRFCrawler to fulfill the needs.
Denke nie gedacht zu haben, denn das Denken der Gedanken ist gedankenloses Denken.
Wiki Page/Talk, Member of the OpenTTD Scenarios Team
Looking for OpenTTD scenarios? - Here's a List of player-made scenarios. Please help us grow the database with your contributions.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

XeryusTC wrote:
Purno wrote:I don't think we need a new website for this. We already got GRFCrawler, which works fine. Alternatively, there's Linkage to link to GRF websites too. The last thing we need is even more scattering of useful resources.
The point is to get all the GRFs that are proofed to work with OpenTTD in one place, not also GRFs that aren't compatible with OpenTTD.
Scroll down, to the bit below "GRFID" and above the download links.
Image
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Born Acorn wrote:
XeryusTC wrote:
Purno wrote:I don't think we need a new website for this. We already got GRFCrawler, which works fine. Alternatively, there's Linkage to link to GRF websites too. The last thing we need is even more scattering of useful resources.
The point is to get all the GRFs that are proofed to work with OpenTTD in one place, not also GRFs that aren't compatible with OpenTTD.
Scroll down, to the bit below "GRFID" and above the download links.
Never noticed that one before.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

It was introduced in the area51 version of GRF Crawler and is now offical in 0.8, if your browser supports javascript with xml remote gets, clicking more details on a list entry will show it aswell (instead linking to the details view)
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
Kolijn Wolfaardt
Engineer
Engineer
Posts: 41
Joined: 01 Jun 2006 14:13
Location: Somewhere

Grf certivicates

Post by Kolijn Wolfaardt »

It looks like most people are against the idea. After thinking about it again, I came up with this idea: What If a grf file could have some kind of 'certificate' that would state with which versions of ttd, OTTD or MiniIN it is compatible with.

The file would simply be a text file, and would be included with the grf zip file. The file wouldn't be required to use the grf file, but would tell the user if it would work.

Also, I suggest that a certain group of people would 'give out' the certificates, so that no fakes could be made. A simple website could be created with a list of all certificates.
ImageImage
ImageImage
Image

Toyland isn't a climate, its a mistake.
This message was transmitted on 100% recycled electrons

Don't pm, rather e-mail me.
New terrain graphics
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Grf certivicates

Post by DaleStan »

Kolijn Wolfaardt wrote:After thinking about it again, I came up with this idea: What If a grf file could have some kind of 'certificate' that would state with which versions of ttd, OTTD or MiniIN it is compatible with.
This already exists in TTDPatch. And it's hard-coded into the GRF, which makes faking it far more work than most people are willing to expend.

Open devs do not document any way for GRF authors to test the OpenTTD version information, but once they do, I'll happily update my GRF files to insist on the appropriate version(s) of OpenTTD, as they already do for TTDPatch.

The simplest option is to generate some equivalent to variable 8B, but I can't figure out how exactly to make this work.

A more robust option would be to specify a set of several standard version IDs, eg "TRNK", "MINI", "HOUS", "0.5X", "32BP", and then write that ID into a parameter using action D, and then read "patch" variable 12 into that parameter, where the result would be:
1) 0 if the ID is unrecognized,
2) The last-committed revision, if the ID specified is for the branch from which this executable was compiled,
3) The revision of the last sync with that branch, if, eg "TRNK" is requested from the newhouses ("HOUS") branch. (As a special case, requesting the trunk revision from eg MiniIN or 0.5 would return the last commit to trunk before 0.5 was branched.)
4) If this is trunk, and the requested branch has already been merged, either 2, or the revision at which the branch was merged.

In case it was not clear, the returned value must always be revision number for which there was a commit to the associated branch, unless the branch has been merged into the current branch (usually trunk), in which case the return must be at least the last commit to that branch (excluding the svn rm).

I think that should cover everything.

So, this procedure would read the code's trunk revision into parameter 0.

Code: Select all

0*0   0D 00 \D= FF 00 "TRNK"
0*0   0D 00 \D= 12 FE FF FF 00 00
For 0.5 and MiniIN, this would be 7535, for newhouses, it would be (currently) 8759, for trunk, it would be (currently) 8802, and so on.
Changing the "TRNK" above to "MINI" would return 0 for all branches except MiniIN, which would return 8644.
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
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 23 guests