Format DARC (D? ARChive)
Binary format that contains files without name. Every file is compressed with
the format DENC
.
Specification
Offset | Size | Description |
---|---|---|
0x00 | 4 | Stamp DARC |
0x04 | 4 | Number of files |
- | - | 32-bits file pointers, relative to their position |
- | - | File data |
The first four bytes of the file data is a 32-bits value (uint
) with the file
size. Then it follows the file data.
Subroutines
The following subroutines get a file inside the DARC
container, decompressing
the DENC
data. The access is via index in R1
. The main subroutine that gets
any file is at 0x020D527C
. Then, there is a wrapper per file type:
darc_getAsc
: 0x020D5088darc_getAcg
: 0x020D50ACdarc_getAcl
: 0x020D50D0darc_getAce
: 0x020D50F4darc_getAnm
: 0x020D5118darc_getAcp
: 0x020D513Cdarc_getAcb
: 0x020D5160darc_getNftr
: 0x020D5184darc_getMsg
: 0x020D51A8darc_getSedl
: 0x020D51CCdarc_getSmdl
: 0x020D51F8darc_getSwdl
: 0x020D5224darc_getUnk8
: 0x020D5250- This is the file 8 from
ll_common.darc
that has size 0.
- This is the file 8 from