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

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