1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-01 23:36:00 +00:00
oot/tools/overlayhelpers/batchdisasm/genlist.py
2020-03-17 00:31:30 -04:00

13 lines
No EOL
294 B
Python

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()