Created
March 3, 2020 00:51
-
-
Save Traderain/33e5a6a18556d038b04c61171e07b33f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: hl2sav | |
file-extension: hl2sav | |
endian: le | |
seq: | |
- id: magic | |
type: u4 | |
- id: version | |
type: u4 | |
- id: size | |
type: u4 | |
- id: tokencount | |
type: u4 | |
- id: tokensize | |
type: u4 | |
- id: tokenlist | |
type: str | |
encoding: ASCII | |
size: tokensize | |
- id: unk1 | |
type : u4 | |
- id: unk2 | |
type: u4 | |
- id: commentsize | |
type: u2 | |
- id: commentid | |
type: u2 | |
- id: comment | |
type: str | |
encoding: ASCII | |
size: commentsize | |
- id: mapsize | |
type: u2 | |
- id: mapid | |
type: u2 | |
- id: map | |
size: mapsize | |
type: str | |
encoding: ASCII | |
- id: tokens | |
size: size-8-mapsize-commentsize-4 | |
- id: files | |
type: hlfile | |
#repeat: eos | |
types: | |
hlfile: | |
seq: | |
- id: filename | |
type: str | |
encoding: ASCII | |
size: 260 | |
- id: len | |
type: u4 | |
- id: contents | |
type: hlfile_data | |
hlfile_data: | |
seq: | |
- id: mw | |
size: 4 | |
- id: version | |
type: u4 | |
- id: nbytessymbols | |
type: u4 | |
- id: nsymbols | |
type: u4 | |
- id: nbytesdataheaders | |
type: u4 | |
- id: nbytesdata | |
type: u4 | |
- id: symboltable | |
type: str | |
encoding: ASCII | |
size: nbytessymbols | |
- id: unkk | |
size: nbytesdata | |
token: | |
seq: | |
- id: len | |
type: u2 | |
- id: idx | |
type: u2 | |
- id: data | |
size: len | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment