Decompile overlay 24 (Part 2) (#66)

* remove scratch links

* UnkAdventureModeSystem1 OK

* UnkStruct_ov024_020d8694_024 OK

* UnkTitleCardSystem1_024 99%

* UnkTitleCardSystem1_024 OK

* fix regressions

* title card vfunc_08 oddity

* tools: make build.ninja deterministic and delink when objdiff rebuild-on-change

* clean up link node mess

* UnkStruct_020d8698_024 24%

* UnkStruct_020d8698_024 49%

* UnkStruct_020d8698_024 65%

* fix build issues

* UnkStruct_020d8698_024 92%

* UnkStruct_020d8698_024 OK

* delink data_ov024_020d8694 symbol

* tools: revert previous objdiff change and reduce ds-rom logs on objdiff
This commit is contained in:
Yanis
2026-05-24 17:20:48 +02:00
committed by GitHub
parent 0698c28bb0
commit 530fcd8c07
100 changed files with 4150 additions and 1201 deletions
+11 -1
View File
@@ -25,11 +25,21 @@ class ConfigVersion:
objdiff_json = json.loads(self.objdiff_path.read_text())
self.objdiff_json: dict = copy.copy(objdiff_json)
# deprecated options
# remove deprecated options
self.objdiff_json.pop("target_dir")
self.objdiff_json.pop("base_dir")
self.objdiff_json.pop("build_base")
# fix watch patterns, remove yaml, json and all txt files
# except symbols, delinks and relocs
self.objdiff_json["watch_patterns"].remove("*.yml")
self.objdiff_json["watch_patterns"].remove("*.yaml")
self.objdiff_json["watch_patterns"].remove("*.json")
self.objdiff_json["watch_patterns"].remove("*.txt")
self.objdiff_json["watch_patterns"].append("*symbols.txt")
self.objdiff_json["watch_patterns"].append("*delinks.txt")
self.objdiff_json["watch_patterns"].append("*relocs.txt")
for i, unit_dict in enumerate(objdiff_json["units"]):
if "name" in unit_dict:
unit_dict["name"] = f"{self.name}/{unit_dict['name']}"