From 9fa8953c3bd0fc1283528bf1b07ecd8a01a0f4fa Mon Sep 17 00:00:00 2001 From: weirdbeardgame Date: Sun, 12 Jul 2026 19:39:49 -0500 Subject: [PATCH] Wip: working on config --- configure.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/configure.py b/configure.py index 4b149fa..18406b8 100755 --- a/configure.py +++ b/configure.py @@ -52,8 +52,7 @@ COMPILER = "ee-gcc2.9-991111-01" COMPILER_FLAGS = "-DMATCHING_DECOMP -O2 -g2 -gstabs" # -malign-functions=3 LANGUAGES: dict[str, str] = { - "SLUS_203.88": "us", - "SLES_508.21": "eu", + "SLUS_210.07": "", } # list of object file names (e.g., "tim2_new.c.o"), that have asm that needs @@ -98,10 +97,6 @@ def make_compiler_cmd(config_dir: Path, src_path: Path, language: str): game_cc_dir = f"{tools_dir}/cc/{COMPILER}/bin" lib_cc_dir = f"{tools_dir}/cc/{COMPILER}/bin" - language_define = "" - if language == "eu": - language_define = "-DBUILD_EU_VERSION" - compiler_includes = f"-I{src_path.parent / 'src'} -I{src_path.parent / 'include'} -Iinclude -isystem include/sdk/ee -isystem include/gcc" assembler_includes = f"-Wa,-I{src_path.parent / 'include'} -Wa,-I{src_path.parent}" common_includes = f"{compiler_includes} {assembler_includes} {language_define}" @@ -569,8 +564,7 @@ def generate_objdiff_configuration(config_path: Path, config: dict[str, Any], la units.append(unit) category_name = { - "us": "Fatal Frame", - "eu": "Project Zero", + "": "Kuon", } progress_categories = [ @@ -685,7 +679,7 @@ def main(): # fix asset .incbin path from relative to root to relative to config dir: # e.g., change: - # .incbin "config/us/assets/name.section.bin" + # .incbin "config/assets/name.section.bin" # to: # .incbin "assets/name.section.bin" fix_assets(asm_data_path, asset_rel_path)