Skip to content

Instantly share code, notes, and snippets.

View JokerDKha's full-sized avatar

JokerD JokerDKha

View GitHub Profile
@NWPlayer123
NWPlayer123 / parse_btxt.py
Last active August 22, 2021 21:02
Metroid Samus Returns text
def getstr(f):
ret = "";char = f.read(1)
while char != "\x00":
ret += char
char = f.read(1)
return ret
def getustr(f):
ret = "";char = f.read(2)
while char != "\x00\x00":