Skip to content

Commit

Permalink
Add file data sections to fpk pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ExcaliburZero committed Feb 20, 2024
1 parent c1b4473 commit 60aa786
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions patterns/dqmj1_fpk.hexpat
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
u32 magic @ 0x0;
u32 num_files @ 0x4;

struct file {
u8 unknown[0x20];
u8 name_info[0x20];
u32 offset;
u32 size;
u8 data[size] @ offset;
};

struct fpk {
u32 magic;
u32 num_files;
file files[num_files];
};

file files[num_files] @ $;
fpk fpk @ 0x0;

0 comments on commit 60aa786

Please sign in to comment.