Oh, well, your friend just posted this on several forums.
In any case, looks like game has two formats: for tiles and objects, which are the parts of game level.
Provided example file is object file.
Object file structure (in the Kaitai Struct .ksy format):
Code: Select all
meta:
id: obj
file-extension: obj
endian: le
encoding: ascii
seq:
- id: magic
contents: "DCOBJECT0.01"
- id: unk
size: 20
- id: unk_a
type: u2
- id: unk_b
type: u2
- id: unk_c
type: u2
- id: unk_d
type: u2
- id: inds
size: 400
- id: len_a
type: u4
- id: buf_a
size: len_a * 2
- id: len_b
type: u4
- id: buf_b
size: len_b * 2
Tile format:
Code: Select all
meta:
id: obj
file-extension: obj
endian: le
encoding: ascii
seq:
- id: magic
contents: "DCTILE0.03"
- id: unk_a
type: u4
- id: unk_b
type: u4
- id: len_a
type: u4
- id: buf_a_a
size: len_a * 4
- id: buf_a_b
size: len_a * 4
- id: buf_a_c
size: len_a * 4
- id: len_b
type: u4
- id: buf_b
size: len_b * 2
- id: inds
size: 200
# there is must be another data, DIY (I don't have sample for tests)