20 lines
800 B
Python
20 lines
800 B
Python
"""DIMENSION 5 -- query 8. Dump the DAT_1802e0f04 case 1 (SBC/SBS tile) and case 2
|
|
regions of FUN_1800b2680 in full, to confirm the SBS tile (GameHub_SBS.png) receives
|
|
only FG_PATH from CardsDLL and no DESTINATION / no SBC-specific enable gate.
|
|
Print raw line numbers so the case boundaries are unambiguous.
|
|
"""
|
|
import traceback
|
|
try:
|
|
d = dec(0x1800b2680)
|
|
lines = d.splitlines()
|
|
# find the SBS image line and print a wide window
|
|
for i, ln in enumerate(lines):
|
|
if "GameHub_SBS" in ln:
|
|
lo = max(0, i-30); hi = min(len(lines), i+60)
|
|
print("=== window %d..%d around GameHub_SBS ===" % (lo, hi))
|
|
for j in range(lo, hi):
|
|
print("%4d %s" % (j, lines[j].rstrip()[:150]))
|
|
break
|
|
except Exception:
|
|
traceback.print_exc()
|