Difference between revisions of "GRepo - The NewGRF Repository"

From #openttdcoop wiki

Jump to: navigation, search
(Tables)
(Functions)
Line 37: Line 37:
  
 
==Functions==
 
==Functions==
*Fetching Filesystem for all available GRFs
+
===Fetching Filesystem for all available GRFs===
*Fetching GRFdata from GRF Crawler
+
===Fetching GRFdata from GRF Crawler===
*generating GRFPacks (zip)
+
I guess the GRFID is needed for that:
*auto checking for available updates
+
 
 +
Example nfo of the depot replacement GRF:
 +
<pre>
 +
// Automatically generated by GRFCODEC. Do not modify!
 +
// (Info version 7)
 +
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
 +
    0 * 4 09 00 00 \71
 +
    1 * 41 08 06 "DG" 00 00 "New Depots" 00 "(c) 2006, Gavin "
 +
"Dowland" 00
 +
    2 * 5 0A 01 06 27 04
 +
    3 h:\bin\ttwin95\sprites/dep2.1w.pcx 66 8 01 11 16 17 3
 +
    4 h:\bin\ttwin95\sprites/dep2.1w.pcx 98 8 01 53 64 -9 -37
 +
    5 h:\bin\ttwin95\sprites/dep2.1w.pcx 178 8 01 11 16 -32 3
 +
    6 h:\bin\ttwin95\sprites/dep2.1w.pcx 210 8 01 53 64 -54 -37
 +
    7 h:\bin\ttwin95\sprites/dep2.1w.pcx 290 8 01 53 64 -54 -37
 +
    8 h:\bin\ttwin95\sprites/dep2.1w.pcx 370 8 01 53 64 -9 -37
 +
</pre>
 +
===generating GRFPacks (zip)===
 +
===auto checking for available updates===
  
 
[[Category:OpenTTD Web Admin]]
 
[[Category:OpenTTD Web Admin]]

Revision as of 18:41, 25 August 2007

The GRF Manager is the first module of a set for administrating a OpenTTD server over Web.

Tables

Depense on the used Framework, but at least a field for TIMESTAMP (updated), DELETED, CREATED is default for every table.

GRFS

  • GRFID
  • name
  • (same as GRF Crawler)
  • static
  • exklusiveSet

VERSIONS

  • name
  • md5sum
  • path

CATEGORIES

  • Link GRF Crawler

DEPENDENCIES

  • Before/After
  • optional

USERS

already a table of the admin (mainmodul)?

  • Nick
  • Realname
  • Link to TT-Forum Profile
  • Link to wiki.openttd.org Userpage
  • openttdcoop username

LINKS

  • Download
  • Forum
  • GRF Crawler
  • Homepage

Headline text

Functions

Fetching Filesystem for all available GRFs

Fetching GRFdata from GRF Crawler

I guess the GRFID is needed for that:

Example nfo of the depot replacement GRF:

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 09 00 00 \71
    1 * 41	 08 06 "DG" 00 00 "New Depots" 00 "(c) 2006, Gavin "
	 "Dowland" 00
    2 * 5	 0A 01 06 27 04
    3 h:\bin\ttwin95\sprites/dep2.1w.pcx 66 8 01 11 16 17 3
    4 h:\bin\ttwin95\sprites/dep2.1w.pcx 98 8 01 53 64 -9 -37
    5 h:\bin\ttwin95\sprites/dep2.1w.pcx 178 8 01 11 16 -32 3
    6 h:\bin\ttwin95\sprites/dep2.1w.pcx 210 8 01 53 64 -54 -37
    7 h:\bin\ttwin95\sprites/dep2.1w.pcx 290 8 01 53 64 -54 -37
    8 h:\bin\ttwin95\sprites/dep2.1w.pcx 370 8 01 53 64 -9 -37

generating GRFPacks (zip)

auto checking for available updates

Powered by MediaWiki