Skip to content

Instantly share code, notes, and snippets.

View justinian's full-sized avatar
🦇
What a horrible night to have a curse.

Justin Miller justinian

🦇
What a horrible night to have a curse.
View GitHub Profile
@justinian
justinian / parse.py
Created November 1, 2023 06:13
Ark Survival Ascended save file parsing work
#!/usr/bin/env python3
def read_from(data, form):
import struct
n = struct.calcsize(form)
return data[n:], struct.unpack_from(form, data)[0]
def read_string(data):
data, n = read_from(data, "I")