From 32816242e34a460bb5eb0b8ccd63846fa6a75c88 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Tue, 5 Mar 2024 15:02:49 +0800 Subject: [PATCH] Added mods_order.txt with all possible components (foolproof for both installer and zip release) Changed the installer to not overwrite the existing mods_order.txt. --- .gitignore | 3 ++- extra/inno/inno.iss | 3 ++- release/mods/mods_order.txt | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 release/mods/mods_order.txt diff --git a/.gitignore b/.gitignore index 40d1fa2344..17e6477cf9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,11 +18,12 @@ release/ddraw.ini release/sfall-mods.ini release/translations/ -release/mods/ +release/mods/* !release/mods/elevators.ini !release/mods/f2_res.dat !release/mods/rpu.ini !release/mods/upu.ini +!release/mods/mods_order.txt extra/bin/* !extra/bin/dat2.exe diff --git a/extra/inno/inno.iss b/extra/inno/inno.iss index b25a303900..b1f76ee0c7 100644 --- a/extra/inno/inno.iss +++ b/extra/inno/inno.iss @@ -28,7 +28,8 @@ UsePreviousAppDir=no AlwaysShowDirOnReadyPage=yes [Files] -Source: "release\*.*"; DestDir: "{app}"; Components: core; Flags: ignoreversion recursesubdirs overwritereadonly +Source: "release\*.*"; Excludes: "\mods\mods_order.txt"; DestDir: "{app}"; Components: core; Flags: ignoreversion recursesubdirs overwritereadonly +Source: "release\mods\mods_order.txt"; DestDir: "{#mods_dir}"; Components: core; Flags: onlyifdoesntexist #include "files_translations.iss" Source: "optional\rpu_enhanced_worldmap.dat"; DestDir: "{#mods_dir}"; Components: worldmap; Flags: ignoreversion overwritereadonly Source: "optional\rpu_rifle_animations.dat"; DestDir: "{#mods_dir}"; Components: wpn_anims\rifle; Flags: ignoreversion overwritereadonly diff --git a/release/mods/mods_order.txt b/release/mods/mods_order.txt new file mode 100644 index 0000000000..3d28554528 --- /dev/null +++ b/release/mods/mods_order.txt @@ -0,0 +1,22 @@ +rpu.dat +party_orders.dat +npc_armor.dat +rpu_czech.dat +rpu_french.dat +rpu_german.dat +rpu_hungarian.dat +rpu_italian.dat +rpu_polish.dat +rpu_portuguese.dat +rpu_russian.dat +upu_russian_sound.dat +rpu_spanish.dat +rpu_enhanced_worldmap.dat +rpu_extended_flamer.dat +rpu_rifle_animations.dat +rpu_wakizashi_animations.dat +cassidy_head.dat +cassidy_voice_joey_bracken_hq.dat +rpu_improved_mysterious_stranger.dat +walk_speed_fix_low_fps.dat +goris_fast_derobing_low_fps.dat