mirror of
https://github.com/zeldaret/oot
synced 2026-06-25 18:04:32 -04:00
Set up iQue disassembly (#2384)
* Set up iQue disassembly * Label libultra vimodes * Format * skapi.c -> skapi.s * Fix AudioDebug functions * Group D_80134488 with fp.s in disassembly * Label boot bss * Add bss split for siacs
This commit is contained in:
+4
-2
@@ -192,7 +192,9 @@ def get_section_hex_dump(path: Path, section: str) -> List[str]:
|
||||
def parse_hex_dump(lines: List[str]) -> bytes:
|
||||
result = bytearray()
|
||||
for line in lines:
|
||||
data = line[6:41].replace(" ", "")
|
||||
# strip offset
|
||||
line = " ".join(line.strip().split(" ", 1)[1])
|
||||
data = line[:35].replace(" ", "")
|
||||
result.extend(bytes.fromhex(data))
|
||||
|
||||
# pad to 0x10-byte alignment
|
||||
@@ -391,7 +393,7 @@ if __name__ == "__main__":
|
||||
"--version",
|
||||
dest="oot_version",
|
||||
help="version to compare",
|
||||
default="ntsc-1.2",
|
||||
default="ique-cn",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--data",
|
||||
|
||||
Reference in New Issue
Block a user