View Single Post
  #1  
Old 04-07-2018, 20:55
UniSoft's Avatar
UniSoft UniSoft is offline
Family
 
Join Date: May 2010
Location: Shenzhen, China
Posts: 124
Rept. Given: 24
Rept. Rcvd 259 Times in 42 Posts
Thanks Given: 25
Thanks Rcvd at 406 Times in 73 Posts
UniSoft Reputation: 200-299 UniSoft Reputation: 200-299 UniSoft Reputation: 200-299
Quote:
Originally Posted by eychei View Post
Maybe someone can help me out with this.
From what I see,
it is not the plain binary file...
You need parse it...
Code:
typedef struct
{
    uint16_t addr; // ??? looks like address, maybe offset
    uint16_t length; // how many bytes in data
    uint32_t chksum; // 0xffffffff - sum(of all data bytes)
    uint8_t data[0x60]; 
} chunk_t;

typedef struct
{
    uint32_t unkn; // 
    chunk_t chunks[1]; // array of chunk_t blocks
} yourfile_t
Attached Images
File Type: png 15.png (107.3 KB, 5 views)

Last edited by UniSoft; 04-07-2018 at 21:17.
Reply With Quote
The Following User Says Thank You to UniSoft For This Useful Post:
eychei (04-07-2018)