mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-16 21:05:12 +00:00
Move baserom segments to extracted/ (#1916)
* Move baserom segments to extracted/ * Add old baserom segments dir back to .gitignore * Rename segments/ -> baserom/
This commit is contained in:
parent
9a5b4f3845
commit
bf37ad1368
9 changed files with 15 additions and 17 deletions
|
@ -781,7 +781,7 @@ def main():
|
|||
|
||||
script_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
cs_data = None
|
||||
with open(script_dir + "/../baseroms/gc-eu-mq-dbg/segments/" + file_result.name, "rb") as ovl_file:
|
||||
with open(script_dir + "/../extracted/gc-eu-mq-dbg/baserom/" + file_result.name, "rb") as ovl_file:
|
||||
ovl_file.seek(file_result.offset)
|
||||
cs_data = [i[0] for i in struct.iter_unpack(">I", bytearray(ovl_file.read()))]
|
||||
if cs_data is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue