Difference between revisions of "Memory Management (USE/fREe)"

From Wulinshu
Jump to navigation Jump to search
Line 17: Line 17:
|-
|-
| 0x40 || Content size || ? || Storage data
| 0x40 || Content size || ? || Storage data
|}
=Storage tokens=
{| class="wikitable"
|-
! Name !! Description
|-
| TASK || Used for task parameters
|-
| MAI || Model data?
|-
| SHDM || Model data
|-
| SCNC || Scene stuff?
|-
| WNDB || ?
|-
| SHAD || Textures?
|-
| WARN || Warning (uses textures?)
|-
| WARP || (uses textures?)
|-
| ITPH || (uses textures?)
|-
| SNCT || (uses textures?)
|-
| PAWN || Pawnshop?
|-
| FLDD || Collision data
|-
| ACPH || ?
|-
| ACPD || ?
|-
| DOME || Skybox dome?
|-
| CVIX || Indexing?
|-
| ADFS || ?
|-
| CHID || Character ID?
|-
| MODL || Model info?
|-
| MAIX || Model info?
|-
| PAKT || ?
|-
| PAKa || ?
|-
| PAKM || ?
|-
| CLIP || ?
|-
| WALL || ?
|-
| WALC || ?
|-
| FLAG || FLAG.BIN?
|-
| HMDL || Model?
|}
|}

Revision as of 22:48, 10 January 2019

Storage entry

Position Length Type Description
0x00 0x04 string Memory type token
0x04 0x04 ? Padding?
0x08 0x08 uint64_t Content size
0x10 0x08 uint64_t* Previous storage entry pointer
0x18 0x08 uint64_t* Next storage entry pointer
0x20 0x04 string USE/fREe token (determines if the space is being used)
0x40 Content size ? Storage data

Storage tokens

Name Description
TASK Used for task parameters
MAI Model data?
SHDM Model data
SCNC Scene stuff?
WNDB ?
SHAD Textures?
WARN Warning (uses textures?)
WARP (uses textures?)
ITPH (uses textures?)
SNCT (uses textures?)
PAWN Pawnshop?
FLDD Collision data
ACPH ?
ACPD ?
DOME Skybox dome?
CVIX Indexing?
ADFS ?
CHID Character ID?
MODL Model info?
MAIX Model info?
PAKT ?
PAKa ?
PAKM ?
CLIP ?
WALL ?
WALC ?
FLAG FLAG.BIN?
HMDL Model?