Last active
December 10, 2020 12:56
-
-
Save JacksonChen666/805e76f474f5cbbfdb8a8bf4ceb7d152 to your computer and use it in GitHub Desktop.
This is a binary template file for HexFiend for replay mod tmcpr files.
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
# Replay Mod tmcpr format by JacksonChen666 | |
# Format Specification: https://github.com/ReplayMod/ReplayMod/issues/49#issuecomment-447420151 | |
big_endian; | |
requires 0 "00 00 00 00 00 00 00 2D 02"; | |
move 9; | |
section "Player" { | |
ascii [uint8 "UUID Size"] "UUID"; | |
sectionvalue [ascii [uint8 "Size"] "Username"]; | |
} | |
section "Packets" { | |
while {![end]} { | |
incr count; | |
section "Packet ${count}" { | |
uint32 "MS since start"; | |
bytes [uint32 "Packet Size"] "Data"; | |
} | |
} | |
sectionvalue $count; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment