Skip to content

Instantly share code, notes, and snippets.

@quend quend/dump_rounds.py

Created Sep 14, 2015
Embed
What would you like to do?
roundMapEa = 0x5004
currentRnd = 0
out = []
while currentRnd < 23:
roundEa = Dword(roundMapEa + 4 * currentRnd)
i = 0
round_list = []
while i < 3476:
round_list.append(Word(roundEa))
roundEa += 2
i += 1
out.append(round_list)
currentRnd += 1
fd = open(r'rounds.py', 'w')
fd.write("round_map = %s\n" % repr(out))
fd.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.