decomp: anim-tester and a bunch of progress on files that are blocked (#884)

* blocked: `puffer` has state decomp issues

* blocked: decomp crash when adding process-drawble cast in `helix-water`

* blocked: `green-eco-lurker` no nice way to cast value out of EMB

* decomp: started on `citadel-sages`

* decomp: `seagull` blocked state decomp

* blocked: `sunken-pipegame` runs into handle related issues

* blocked: `snow-ram` and `snow-ram-boss` state decomp

* decomp: `rolling-race-ring` blocked, handle casts

* blocked: state decomp in `part-tester`

* decomp: started `joint-exploder`

* blocked: `anim-tester` has rare cmove-#f-zero usage

* decomp: I lied! `anim-tester` finished

* config: update banned list
This commit is contained in:
Tyler Wilding
2021-10-10 19:53:19 -04:00
committed by GitHub
parent 01b43f6111
commit 2cb00f4a02
17 changed files with 8396 additions and 1149 deletions
+7
View File
@@ -755,3 +755,10 @@
:flags (sp-flag copy-from-other-field)
)
)
(defmacro cmove-#f-zero (dest condition src)
`(if (zero? ,condition)
(set! ,dest #f)
(set! ,dest ,src)
)
)
File diff suppressed because it is too large Load Diff
+18 -7
View File
@@ -81,7 +81,12 @@ const std::unordered_set<std::string> g_functions_expected_to_reject = {
"ambient-inspect", // asm, weird
// background
"background-upload-vu0", "draw-node-cull"};
"background-upload-vu0", "draw-node-cull",
// anim-tester
"(method 3 anim-tester)",
"anim-tester-save-object-seqs" // anim-tester -- new basic on the stack
};
const std::unordered_set<std::string> g_functions_to_skip_compiling = {
/// GCOMMON
@@ -173,7 +178,12 @@ const std::unordered_set<std::string> g_functions_to_skip_compiling = {
"debug-menu-item-var-make-float",
// decompiler BUG
"level-hint-task-process"};
"level-hint-task-process",
// anim-tester
"(method 3 anim-tester)",
"anim-tester-save-object-seqs" // anim-tester -- new basic on the stack
};
// default location for the data. It can be changed with a command line argument.
std::string g_iso_data_path = "";
@@ -188,11 +198,12 @@ struct decomp_meta {
std::vector<decomp_meta> g_object_files_to_decompile_or_ref_check;
std::vector<std::string> dgos = {
"CGO/KERNEL.CGO", "CGO/ENGINE.CGO", "CGO/GAME.CGO", "DGO/BEA.DGO", "DGO/INT.DGO", "DGO/VI1.DGO",
"DGO/VI2.DGO", "DGO/VI3.DGO", "DGO/CIT.DGO", "DGO/MIS.DGO", "DGO/JUB.DGO", "DGO/SUN.DGO",
"DGO/DEM.DGO", "DGO/FIN.DGO", "DGO/JUN.DGO", "DGO/FIC.DGO", "DGO/SNO.DGO", "DGO/SWA.DGO",
"DGO/MAI.DGO", "DGO/ROB.DGO", "DGO/LAV.DGO", "DGO/OGR.DGO", "DGO/TRA.DGO"};
std::vector<std::string> dgos = {"CGO/KERNEL.CGO", "CGO/ENGINE.CGO", "CGO/GAME.CGO", "DGO/BEA.DGO",
"DGO/INT.DGO", "DGO/VI1.DGO", "DGO/VI2.DGO", "DGO/VI3.DGO",
"DGO/CIT.DGO", "DGO/MIS.DGO", "DGO/JUB.DGO", "DGO/SUN.DGO",
"DGO/DEM.DGO", "DGO/FIN.DGO", "DGO/JUN.DGO", "DGO/FIC.DGO",
"DGO/SNO.DGO", "DGO/SWA.DGO", "DGO/MAI.DGO", "DGO/ROB.DGO",
"DGO/LAV.DGO", "DGO/OGR.DGO", "DGO/TRA.DGO", "DGO/ROL.DGO"};
} // namespace