[jak2] add pal decomp support (#2434)

Unsure what hacks or type casts might eventually be needed for the PAL
version, but these changes are enough to get things to extract and run
the game (though the extract phase requires iso_data to be in a jak2_pal
folder, but the build still looks for jak2 in iso_data and
decompiler_out).
This commit is contained in:
Dillon Pentz
2023-03-27 18:11:10 +13:00
committed by GitHub
parent 013a4f4612
commit d6c5d32cd3
5 changed files with 19 additions and 2 deletions
+14 -1
View File
@@ -127,5 +127,18 @@
// set to true to apply patch files
"apply_patches": true,
// what to patch an object to and what the patch file is
"object_patches": {}
"object_patches": {},
"version_overrides": {
"ntsc_v1": {},
"pal": {
"game_name": "jak2_pal",
"expected_elf_name": "SCES_516.08",
"is_pal": true,
"type_casts_merge_file": "decompiler/config/jak2/pal/type_casts.jsonc",
"label_types_merge_file": "decompiler/config/jak2/pal/label_types.jsonc",
"hacks_merge_file": "decompiler/config/jak2/pal/hacks.jsonc",
"obj_file_name_map_file": "goal_src/jak2/build/all_objs.json",
"object_patches": {}
}
}
}
+1
View File
@@ -0,0 +1 @@
{}
@@ -0,0 +1 @@
{}
@@ -0,0 +1 @@
{}
+2 -1
View File
@@ -49,7 +49,8 @@ decomp_config_version_map = {
"ntscjp": "jp"
},
"jak2": {
"ntscv1": "ntsc_v1"
"ntscv1": "ntsc_v1",
"pal": "pal"
}
}