Skip to content

Commit

Permalink
Added mods_order.txt with all possible components
Browse files Browse the repository at this point in the history
(foolproof for both installer and zip release)

Changed the installer to not overwrite the existing mods_order.txt.
Synced git ignore list with RPU.
  • Loading branch information
NovaRain committed Mar 5, 2024
1 parent 1051f12 commit 2c139d0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
*.int
*.tmp
*.7z
*.dat
*.err
*.exe
*.int
*.log
*.tmp
*.zip
*.dat
*.7z
**/.tmp.ssl

# used to build dat files
file.list

translations/*/text
translations/*.dat
data/text/english/cuts_female

release/data
release/ddraw.dll
release/ddraw.ini
release/sfall-mods.ini
release/translations/
release/mods/

release/mods/*
!release/mods/f2_res.dat
!release/mods/upu.ini
!release/mods/mods_order.txt

extra/bin/*
!extra/bin/dat2.exe
scripts_src/sfall
translations/*.dat
extra/inno/Output
extra/inno/release
extra/inno/translations

.venv/
scripts_src/sfall
dat2.list
3 changes: 2 additions & 1 deletion extra/inno/inno.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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\walk_speed_fix_low_fps.dat"; DestDir: "{#mods_dir}"; Components: walk_speed\low_fps; Flags: ignoreversion overwritereadonly
Source: "optional\goris_fast_derobing_low_fps.dat"; DestDir: "{#mods_dir}"; Components: goris\low_fps; Flags: ignoreversion overwritereadonly
Expand Down
12 changes: 12 additions & 0 deletions release/mods/mods_order.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
upu.dat
upu_czech.dat
upu_french.dat
upu_german.dat
upu_hungarian.dat
upu_italian.dat
upu_polish.dat
upu_portuguese.dat
upu_russian.dat
upu_spanish.dat
walk_speed_fix_low_fps.dat
goris_fast_derobing_low_fps.dat

0 comments on commit 2c139d0

Please sign in to comment.