32bit standard tar format

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
(example)
(out-of-date -> historic)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
{{Other_languages
 +
|en=32bit standard tar format
 +
|fr=Format tar standard 32 bits
 +
|language_page=en
 +
}}
 +
{{-}}
 +
{{historic|'''The method of loading 32bpp graphics changed in OpenTTD 1.2.0. The content on this page does not apply to OpenTTD 1.2.0 or newer.'''}}
 
It is advisable that all [[32bit Graphics Development|32bit graphics]] are released in a standard format. This is to ensure compatibility between different kinds of OpenTTD installations, and ease of manual organising and file management, and automatic distribution.
 
It is advisable that all [[32bit Graphics Development|32bit graphics]] are released in a standard format. This is to ensure compatibility between different kinds of OpenTTD installations, and ease of manual organising and file management, and automatic distribution.
  
You can download a [http://www.tt-forums.net/download/file.php?id=123411 template archive made by GeekToo] at [http://www.tt-forums.net/viewtopic.php?p=852091#p852091 tt-forums]. You can also look at [http://jupix.info/openttd/gfxdev-repo/index.php?act=file&id=195 an example release].
+
You can download a [http://www.tt-forums.net/download/file.php?id=128654 template archive made by GeekToo] at [http://www.tt-forums.net/viewtopic.php?p=875812#p875812 tt-forums]. You can also look at [http://jupix.info/openttd/gfxdev-repo/index.php?act=file&id=195 an example release].
  
 
==Tar layout==
 
==Tar layout==
Line 11: Line 18:
 
sources/                [blend files, materials, photos, rendering instructions, etc.]
 
sources/                [blend files, materials, photos, rendering instructions, etc.]
 
sprites/
 
sprites/
sprites/ogfx1_base/    [temperate sprites]
+
sprites/ogfx1_base/    [main sprite set]
 
sprites/ogfxc_arctic/  [sub-arctic sprites]
 
sprites/ogfxc_arctic/  [sub-arctic sprites]
 
sprites/ogfxh_tropical/ [sub-tropical sprites]
 
sprites/ogfxh_tropical/ [sub-tropical sprites]
sprites/ogfxi_logos/    [FIXME]
+
sprites/ogfxi_logos/    [logos & graphics]
 
sprites/ogfxt_toyland/  [toyland sprites]
 
sprites/ogfxt_toyland/  [toyland sprites]
sprites/openttdd        [FIXME: symlink to where?]
 
sprites/openttdw        [FIXME: symlink to where?]
 
 
sprites/trg1            [symlink to ogfx1_base]
 
sprites/trg1            [symlink to ogfx1_base]
 
sprites/trg1r          [symlink to ogfx1_base]
 
sprites/trg1r          [symlink to ogfx1_base]
Line 30: Line 35:
 
</pre>
 
</pre>
  
Sources can be omitted in packages aimed at players.
+
Sources will be omitted in packages aimed at players, but they are still needed to fulfil GPL rules.
  
 
==See also==
 
==See also==
  
 
* [[32bit Graphics Development Documentation]]
 
* [[32bit Graphics Development Documentation]]

Latest revision as of 09:42, 8 September 2013


Content.png

Historic content
This page or section contains content that is no longer relevant for the current version of OpenTTD. Please keep it intact because it shows some of the history of this wiki as documentation.
The method of loading 32bpp graphics changed in OpenTTD 1.2.0. The content on this page does not apply to OpenTTD 1.2.0 or newer.

It is advisable that all 32bit graphics are released in a standard format. This is to ensure compatibility between different kinds of OpenTTD installations, and ease of manual organising and file management, and automatic distribution.

You can download a template archive made by GeekToo at tt-forums. You can also look at an example release.

[edit] Tar layout

A tar is supposed to have the following layout.

readme.txt              [author information, license, etc.]
sources/                [blend files, materials, photos, rendering instructions, etc.]
sprites/
sprites/ogfx1_base/     [main sprite set]
sprites/ogfxc_arctic/   [sub-arctic sprites]
sprites/ogfxh_tropical/ [sub-tropical sprites]
sprites/ogfxi_logos/    [logos & graphics]
sprites/ogfxt_toyland/  [toyland sprites]
sprites/trg1            [symlink to ogfx1_base]
sprites/trg1r           [symlink to ogfx1_base]
sprites/trgc            [symlink to ogfxc_arctic]
sprites/trgcr           [symlink to ogfxc_arctic]
sprites/trgh            [symlink to ogfxh_tropical]
sprites/trghr           [symlink to ogfxh_tropical]
sprites/trgi            [symlink to ogfxi_logos]
sprites/trgir           [symlink to ogfxi_logos]
sprites/trgt            [symlink to ogfxt_toyland]
sprites/trgtr           [symlink to ogfxt_toyland]

Sources will be omitted in packages aimed at players, but they are still needed to fulfil GPL rules.

[edit] See also

Personal tools