OBD:TXMP: Difference between revisions
Jump to navigation
Jump to search
m (copied stuff from the discussion page...) |
mNo edit summary |
||
Line 15: | Line 15: | ||
:0x'''04''' 00 00 00 - U wrapping disabled | :0x'''04''' 00 00 00 - U wrapping disabled | ||
:0x'''08''' 00 00 00 - V wrapping disabled | :0x'''08''' 00 00 00 - V wrapping disabled | ||
:0x'''10''' 00 00 00 - unknown | :0x'''10''' 00 00 00 - unknown; appears to have no effect | ||
:0x'''40''' 00 00 00 - play animation back to back (frames 0 to n then n-1 to 0) | :0x'''40''' 00 00 00 - play animation back to back (frames 0 to n then n-1 to 0) | ||
:0x00 '''01''' 00 00 - animation related; exact effect not known | :0x00 '''01''' 00 00 - animation related; exact effect not known |
Revision as of 12:06, 5 February 2008
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 1F 00 00 | 31 | 00031-rl_1.TXMP |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | char[128] | rl_1 | name of the texture | |
0x88 | bitset | 00 10 00 00 | 0 | no options; possible option flags
see the discussion page also |
0x8C | int16 | 80 00 | 128 | width of the image in pixel |
0x8E | int16 | 80 00 | 128 | height of the image in pixel |
0x90 | int32 | 01 00 00 00 | 1 | texture format RGB555; used texture formats:
|
0x94 | link | 00 00 00 00 | unused | link to a TXAN file; only used if the texture is the first pic of an texture animation |
0x98 | link | 00 00 00 00 | unused | link to a TXMP file; only used in connection with shade vertex effects |
0x9C | offset | 20 00 00 00 | 00 00 00 20 | at this position starts the texture part in the raw file (PC only) |
0xA0 | offset | 00 00 00 00 | unused | at this position starts the texture part in the sep file (Mac and PC demo only) |
0xA4 | char[28] | AD DE | dead | unused |
Below you can see the pictures for this example. The first picture shows how it's stored in Oni, the second how you see it in the game.
how it's stored | how you'll see it | |
---|---|---|
ONI BINARY DATA |
---|
TXMB << Other file types >> TxtC |
TXMP : Texture Map |
Generic file |