Difference between revisions of "GRepo - The NewGRF Repository"

From #openttdcoop wiki

Jump to: navigation, search
(Fetching GRFdata from GRF Crawler)
(No difference)

Revision as of 14:05, 6 November 2008

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

GRFCODEC is also available for Linux, so no wine needed for that.

generating GRFPacks (zip)

auto checking for available updates

Powered by MediaWiki