Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BoyC authored Apr 6, 2024
1 parent c975c47 commit 129f0f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ File format descriptions follow.
## KKP file format
Used to describe a binary file with all its contents and compression statistics, including symbol info

```
4 bytes: FOURCC: 'KK64'
4 bytes: size of described binary in bytes (Ds)
4 bytes: number of source code files (Cc)
Expand Down Expand Up @@ -33,9 +34,12 @@ Ds times: (for each byte of the described binary)
double: packed size
2 bytes: source code line
2 bytes: source code file index
```

## SYM file format
Used to describe the contents of the a symbol inside a kkp file to enable more precise analysis of an embedded resource

```
4 bytes: FOURCC: 'PHXP'
ASCIIZ string: symbol name
4 bytes: symbol data size (Ds)
Expand All @@ -44,3 +48,4 @@ For each symbol (Sc)
ASCIIZ string: symbol name
For each byte in the symbol (Ds)
2 bytes: symbol index
```

0 comments on commit 129f0f0

Please sign in to comment.