File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ UsePreviousAppDir=no
2727AlwaysShowDirOnReadyPage = yes
2828
2929[Files]
30- Source : " release\*.*" ; Excludes: " \mods\mods_order.txt" ; DestDir : " {app} " ; Components : core; Flags : ignoreversion recursesubdirs overwritereadonly
31- Source : " release\mods\mods_order.txt" ; DestDir : " {#mods_dir}" ; Components : core; Flags : onlyifdoesntexist
30+ Source : " release\*.*" ; DestDir : " {app} " ; Components : core; Flags : ignoreversion recursesubdirs overwritereadonly
3231#include " files_translations.iss"
3332Source : " optional\rpu_alternative_explosions.dat" ; DestDir : " {#mods_dir}" ; Components : alternative_explosions; Flags : ignoreversion overwritereadonly
3433Source : " optional\rpu_enhanced_worldmap.dat" ; DestDir : " {#mods_dir}" ; Components : worldmap; Flags : ignoreversion overwritereadonly
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ if exist f2_res.dat (
1010 move f2_res.dat %bdir% \
1111)
1212
13+ :: Backup old mods_order.txt if exists
14+ if exist mods\mods_order.txt (
15+ move mods\mods_order.txt %bdir% \
16+ )
17+ move /y mods_order.txt mods\mods_order.txt
18+
1319:: I don't know how to iterate over files in batch properly, so just moving back and forth
1420move /y data %bdir% \
1521mkdir data\sound
Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ if [[ -d appearance ]]; then
6464 done
6565fi
6666
67+ # Backup old mods_order.txt if exists
68+ if [ -f mods/mods_order.txt ]; then
69+ mv mods/mods_order.txt $bdir /
70+ fi
71+ mv -f mods_order.txt mods/mods_order.txt
72+
6773# sound path fix
6874rm -f camlrt.dll initool.exe
6975cp fallout2.cfg " $bdir " /
You can’t perform that action at this time.
0 commit comments