Difference between revisions of "FF8/WorldMap wmsetxx"
my_wiki>MaKiPL (→Section 40: UNKNOWN) |
my_wiki>MaKiPL (→Section 42: UNKNOWN) |
||
Line 237: | Line 237: | ||
UNKNOWN | UNKNOWN | ||
− | === Section 42: | + | === Section 42: Vehicle and object textures === |
− | + | This section starts with header pointing to '''relative''' offsets to .TIM textures. When engine reads offset as 0 (00 00 00 00) then ends reading offsets (so 0 is end of offset list). THIS section is responsible for vehicles, world map objects textures (Balamb mobile, Galbadia mobile, Balamb halo ring, cactuar statue, lunatic pandora...) | |
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;" | ||
+ | ! style="background:rgb(204,204,204)" | Offset | ||
+ | ! style="background:rgb(204,204,204)" | Length | ||
+ | ! style="background:rgb(204,204,204)" | Description | ||
+ | |- | ||
+ | | 0 | ||
+ | | 4 bytes | ||
+ | | Relative offset to texture | ||
+ | |- | ||
+ | | Various (132 originally) | ||
+ | | 4 bytes | ||
+ | | '00 00 00 00' - offset list end | ||
+ | |- | ||
+ | | Offset pointed by header | ||
+ | | Various | ||
+ | | .TIM texture (10 00 00 00 08) | ||
+ | |} | ||
=== Section 43: UNKNOWN === | === Section 43: UNKNOWN === |
Revision as of 18:03, 10 August 2015
Contents
- 1 Info
- 2 General structure
- 2.1 Section 1: UNKNOWN
- 2.2 Section 2: UNKNOWN
- 2.3 Section 3: UNKNOWN
- 2.4 Section 4: UNKNOWN
- 2.5 Section 5: UNKNOWN
- 2.6 Section 6: UNKNOWN
- 2.7 Section 7: UNKNOWN
- 2.8 Section 8: UNKNOWN
- 2.9 Section 9: UNKNOWN
- 2.10 Section 10: UNKNOWN
- 2.11 Section 11: UNKNOWN
- 2.12 Section 12: UNKNOWN
- 2.13 Section 13: UNKNOWN
- 2.14 Section 14: Texts/Dialogs
- 2.15 Section 15: NULL
- 2.16 Section 16: World map objects data
- 2.17 Section 17: UNKNOWN
- 2.18 Section 18: UNKNOWN
- 2.19 Section 19: UNKNOWN
- 2.20 Section 20: UNKNOWN
- 2.21 Section 21: AKAO
- 2.22 Section 22-28: NULL
- 2.23 Section 29: UNKNOWN
- 2.24 Section 30: NULL
- 2.25 Section 31: UNKNOWN
- 2.26 Section 32: Text- Location names
- 2.27 Section 33: UNKNOWN
- 2.28 Section 34: UNKNOWN
- 2.29 Section 35: UNKNOWN
- 2.30 Section 36: UNKNOWN
- 2.31 Section 37: UNKNOWN
- 2.32 Section 38: World map textures archive
- 2.33 Section 39: Textures - roads, train track, bridge
- 2.34 Section 40: One world map texture/NULL
- 2.35 Section 41: UNKNOWN
- 2.36 Section 42: Vehicle and object textures
- 2.37 Section 43: UNKNOWN
- 2.38 Section 44: UNKNOWN
- 2.39 Section 45: UNKNOWN
- 2.40 Section 46: UNKNOWN (massive data block)
- 2.41 Section 47: UNKNOWN
- 2.42 Section 48: AKAO frame
- 3 Models list by language code
- 4 Texture offsets for models by language code
Info
WMSETxx.obj (where xx may refer to gr,us,it,fr,sp) is a multi-data world map file containing many core functions and 3D objects. This file contains almost everything: sounds, scripts, dialogs, texts, textures, models- all contained in one file. Main differences between en/it/gr/sp/fr are localized dialogs, so next sections have different offsets. Offsets before this are all the same. Wmset.obj is probably never used in-game and is leftover. Dialogs in lang-en/wmset.obj are in english, but the file is different from wmsetus.obj.
General structure
WMSETxx.obj is made from 48 sections. File starts with header, that has 48*4 bytes. Every offset is 4 bytes long.
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Section 1 |
SectNmbr * 4 | 4 bytes | Section SectNmbr |
The last section is offset 188.
Section 1: UNKNOWN
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Section size |
4 | Section size | UNKNOWN |
UNKNOWN
Section 2: UNKNOWN
UNKNOWN
Section 3: UNKNOWN
UNKNOWN
Section 4: UNKNOWN
UNKNOWN
Section 5: UNKNOWN
UNKNOWN
Section 6: UNKNOWN
UNKNOWN
Section 7: UNKNOWN
UNKNOWN
Section 8: UNKNOWN
UNKNOWN
Section 9: UNKNOWN
UNKNOWN
Section 10: UNKNOWN
Starts with header containing offset to sub-sections. UNKNOWN
Section 11: UNKNOWN
UNKNOWN
Section 12: UNKNOWN
UNKNOWN
Section 13: UNKNOWN
UNKNOWN
Section 14: Texts/Dialogs
TODO (8632)[memo]
Section 15: NULL
4 Bytes NULL
Section 16: World map objects data
TODO
Section 17: UNKNOWN
UNKNOWN
Section 18: UNKNOWN
UNKNOWN
Section 19: UNKNOWN
UNKNOWN
Section 20: UNKNOWN
Bunch of AKAO frames headers packed
Section 21: AKAO
Starts with AKAO header
Section 22-28: NULL
4 Bytes NULL
Section 29: UNKNOWN
UNKNOWN
Section 30: NULL
4 Bytes NULL
Section 31: UNKNOWN
UNKNOWN
Section 32: Text- Location names
TODO
Section 33: UNKNOWN
UNKNOWN
Section 34: UNKNOWN
UNKNOWN
Section 35: UNKNOWN
UNKNOWN
Section 36: UNKNOWN
UNKNOWN
Section 37: UNKNOWN
UNKNOWN
Section 38: World map textures archive
This section starts with header pointing to relative offsets to .TIM textures. When engine reads offset as 0 (00 00 00 00) then ends reading offsets (so 0 is end of offset list). This is one of the larger sections in file. THIS section is responsible for 1/2 world map textures (Those are really used in-game). There is 36 textures inside as of original release. Also, sea, beach and special effects texture is present.
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Relative offset to texture |
Various (144 originally) | 4 bytes | '00 00 00 00' - offset list end |
Offset pointed by header | Various | .TIM texture (10 00 00 00 08) |
Section 39: Textures - roads, train track, bridge
This section starts with header pointing to relative offsets to .TIM textures. When engine reads offset as 0 (00 00 00 00) then ends reading offsets (so 0 is end of offset list). THIS section is responsible for train track textures, road textures, bridge train track texture (the one that gets through FH).
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Relative offset to texture |
Various (52 originally) | 4 bytes | '00 00 00 00' - offset list end |
Offset pointed by header | Various | .TIM texture (10 00 00 00 08) |
Section 40: One world map texture/NULL
This section starts with header pointing to relative offsets to only one .TIM texture. This is the first texture that is in texl.obj or wmsetxx.obj/Section 38.
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Relative offset to texture |
4 | 4 bytes | '00 00 00 00' - offset list end |
8 | Various (16384 originally) | .TIM texture (10 00 00 00 08) |
After Texture | Next offset-(header+TIM texture) | NULL data |
Section 41: UNKNOWN
UNKNOWN
Section 42: Vehicle and object textures
This section starts with header pointing to relative offsets to .TIM textures. When engine reads offset as 0 (00 00 00 00) then ends reading offsets (so 0 is end of offset list). THIS section is responsible for vehicles, world map objects textures (Balamb mobile, Galbadia mobile, Balamb halo ring, cactuar statue, lunatic pandora...)
Offset | Length | Description |
---|---|---|
0 | 4 bytes | Relative offset to texture |
Various (132 originally) | 4 bytes | '00 00 00 00' - offset list end |
Offset pointed by header | Various | .TIM texture (10 00 00 00 08) |
Section 43: UNKNOWN
UNKNOWN
Section 44: UNKNOWN
UNKNOWN
Section 45: UNKNOWN
UNKNOWN
Section 46: UNKNOWN (massive data block)
UNKNOWN
Section 47: UNKNOWN
UNKNOWN
Section 48: AKAO frame
Starts with AKAO
Models list by language code
wmsetgr wmsetus wmsetsp wmsetfr wmsetit 1 15772 15420 16200 14700 15676 2 19140 18788 19568 18068 19044 3 19536 19184 19964 18464 19440 4 21100 20748 21528 20028 21004 5 21416 21064 21844 20344 21320 6 22980 22628 23408 21908 22884 7 23296 22944 23724 22224 23200 8 24260 23908 24688 23188 24164 9 24496 24144 24924 23424 24400 10 24652 24300 25080 23580 24556 11 26248 25896 26676 25176 26152 12 27860 27508 28288 26788 27764 13 29448 29096 29876 28376 29352 14 29604 29252 30032 28532 29508 15 31300 30948 31728 30228 31204 16 33332 32980 33760 32260 33236 17 36644 36292 37072 35572 36548 18 37040 36688 37468 35968 36944 19 38480 38128 38908 37408 38384 20 39872 39520 40300 38800 39776 21 41304 40952 41732 40232 41208 22 42764 42412 43192 41692 42668 23 44064 43712 44492 42992 43968 24 45044 44692 45472 43972 44948 25 46128 45776 46556 45056 46032 26 49520 49168 49948 48448 49424 27 55260 54908 55688 54188 55164 28 60968 60616 61396 59896 60872 29 65748 65396 66176 64676 65652 30 66800 66448 67228 65728 66704 31 67196 66844 67624 66124 67100 32 68056 67704 68484 66984 67960 33 68548 68196 68976 67476 68452
Texture offsets for models by language code
wmsetus wmsetsp wmsetit wmsetgr wmsetfr 1 413048 413312 412796 412848 411748 2 429980 430244 429728 429780 428680 3 446912 447176 446660 446712 445612 4 451076 451340 450824 450876 449776 5 453192 453456 452940 452992 451892 6 457356 457620 457104 457156 456056 7 459472 459736 459220 459272 458172 8 463636 463900 463384 463436 462336 9 465752 466016 465500 465552 464452 10 467868 468132 467616 467668 466568 11 470016 470280 469764 469816 468716 12 472164 472428 471912 471964 470864 13 474312 474576 474060 474112 473012 14 474508 474772 474256 474308 473208 15 478768 479032 478516 478568 477468 16 483028 483292 482776 482828 481728 17 491384 491648 491132 491184 490084 18 499740 500004 499488 499540 498440 19 501888 502152 501636 501688 500588 20 504036 504300 503784 503836 502736 21 506184 506448 505932 505984 504884 22 508332 508596 508080 508132 507032 23 510480 510744 510228 510280 509180 24 512628 512892 512376 512428 511328 25 514776 515040 514524 514576 513476 26 523132 523396 522880 522932 521832 27 531488 531752 531236 531288 530188 28 539844 540108 539592 539644 538544 29 548200 548464 547948 548000 546900 30 550316 550580 550064 550116 549016 31 551440 551704 551188 551240 550140 32 551636 551900 551384 551436 550336 33 552728 552992 552476 552528 551428