mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
decomp: support part-tracker-spawn in jak2, part group constants (#4082)
This commit is contained in:
@@ -165,6 +165,10 @@ int run_decompilation_process(decompiler::Config config,
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (config.process_part_group_table && !config.part_group_table.empty()) {
|
||||
db.dts.part_group_table = config.part_group_table;
|
||||
}
|
||||
|
||||
if (config.process_tpages && !config.texture_info_dump.empty()) {
|
||||
db.dts.textures = config.texture_info_dump;
|
||||
}
|
||||
@@ -190,6 +194,10 @@ int run_decompilation_process(decompiler::Config config,
|
||||
db.dump_art_info(out_folder);
|
||||
}
|
||||
|
||||
if (config.dump_part_group_table) {
|
||||
db.dump_part_group_table(out_folder, config.part_group_table);
|
||||
}
|
||||
|
||||
if (config.hexdump_code || config.hexdump_data) {
|
||||
db.write_object_file_words(out_folder, config.hexdump_data, config.hexdump_code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user