OBD:TXMP: Difference between revisions
Jump to navigation
Jump to search
<== TXMP File ==>
Texture Map - Level, Character and Message File
<== TXMP File ==>
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
http:// | http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/txmp_all.gif | ||
Revision as of 17:14, 16 February 2006
Main Page >> Oni Binary Data >> File Types >> TXMP File
Texture Map - Level, Character and Message File
Hex | Translation | Meaning |
01 1F 00 00 | 31 | 00031-rl_1.TXMP |
01 00 00 06 | 3 | level 3 |
rl_1 | name of the texture | |
00 | 0 | MIP-mapping option; the following options are possible: 00 - off |
10 | 16 | color depth (= 16 bit) |
00 00 | 0 | unknown |
80 00 | 128 | width (= 128 pixel) |
80 00 | 128 | height (= 128 pixel) |
01 00 00 00 | 1 | store type = 1 (uncompressed, without alpha) |
00 00 00 00 | not used | link to a TXAN file; only used if the texture is the first pic of an texture animation |
00 00 00 00 | not used | link to a TXMP file; only used in connection with shade vertex effects (cel shading) |
20 00 00 00 | 32 | at this position starts the texture part in the raw file |
00 00 00 00 | 0 | unknown |
AD DE | dead | not used |
Option | Value | Meaning |
MIP-mapping types | 00 | off |
01 | on | |
11 | unknown | |
1C | unknown (skybox use it, works with 00 too) | |
Color depths | 10 | 16 bit |
12 | 16 bit + shade vertex | |
14 | 16 bit + transparency to the background color, if it's black | |
20 | 32 bit | |
Store types | 00 | uncopmressed, with alpha |
01 | uncopmressed, without alpha | |
02 | unknown | |
03 | unknown | |
08 | 32 bit uncompressed (skybox use it) | |
09 | compressed | |
0A | unknown | |
0B | unknown |
Below you can see the pictures for this example. The first picture shows how its stored in Oni, the second how you'll see it in the game.
Main Page >> Oni Binary Data >> File Types >> TXMP File