1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 21:04:43 +00:00
oot/tools/overlayhelpers/batchdisasm/genlist.py

13 lines
294 B
Python
Raw Normal View History

2020-03-17 04:31:30 +00:00
outFile = open("output.cfg", "w+")
inFile = open("../../../docs/notes/out.csv")
lines = inFile.readlines()
for line in lines:
name = line.split(',')[1]
vramAddress = line.split(',')[2]
if (name.startswith("ovl_")):
outFile.write(name + " " + vramAddress)
outFile.close()