Skip to content

Commit

Permalink
Merge pull request #120 from NovaRain/bgforge-upu
Browse files Browse the repository at this point in the history
Misc files update for upcoming UPU release
  • Loading branch information
burner1024 authored Aug 28, 2023
2 parents 67cfb19 + d587f83 commit 842a16b
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on: [push]

env:
sfall_version: 4.4
sfall_version: 4.4.0.1
mpack_version: 4.4

jobs:
Expand Down
1 change: 0 additions & 1 deletion data/text/english/credits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,3 @@ Paul Naftalis


@Hah! Enjoy...

2 changes: 1 addition & 1 deletion extra/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export release_dir="$(realpath release)"
export mods_dir="$release_dir/mods"
export mpack_version=${mpack_version:-4.4}
export mpack_7z="mpack.7z"
export sfall_version=${sfall_version:-4.4}
export sfall_version=${sfall_version:-4.4.0.1}
export WINEARCH=win32
export WINEDEBUG=-all
export mod_name=upu
Expand Down
5 changes: 1 addition & 4 deletions extra/package/ddraw.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[Main]
HiResMode=0

[Sound]
FadeBackgroundMusic=0

[Misc]
AIDrugUsePerfFix=1
ExtraSaveSlots=1
Expand All @@ -17,7 +14,7 @@ IniConfigFolder=mods

[Debugging]
Enable=0
DebugMode=2
DebugMode=0
Init=1
Hook=1
Script=1
Expand Down
26 changes: 14 additions & 12 deletions release/f2_res.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
;The F2_RES Configuration file 08/03/2014
;A High Resolution Mod For Fallout 2
;The F2_RES Configuration file 12/12/2013
;A High Resolution Mod For Fallout 2
;
;Comments start with ; anything on a line after a comment is not visible to program


;##################################################################################################################
[MAIN]

; Affects Windows Vista/7/8 and above. Allows hi-res patch settings to be changed without admin privileges
; Affects Windows Vista/7/8 and above. Allows hi-res patch settings to be changed without admin privileges
; if installed in the "Program Files" directory.
; When UAC_AWARE=0 the hi-res patches settings will be stored in the game folder as usual.
; When UAC_AWARE=1 the hi-res patches settings will be stored in the users roaming app data folder.
; For Vista this is usually "C:\Documents and Settings\'your user name'\Application Data\Fallout2".
; For Windows 7/8 this is usually "C:\Users\'your user name'\AppData\Roaming\Fallout2".
UAC_AWARE=0

; Set GRAPHICS_MODE=0 to enable Basic mode which supports resolution change only(required for sfalls Graphic modes).
; Set GRAPHICS_MODE=1 to enable Direct Draw 7 mode.
; Set GRAPHICS_MODE=2 to enable DirectX9 mode.
; Set GRAPHICS_MODE=0 to enable Basic mode which supports resolution change only (required for sfalls Graphic modes).
; Set GRAPHICS_MODE=1 to enable DirectDraw 7 mode.
; Set GRAPHICS_MODE=2 to enable DirectX 9 mode.
GRAPHICS_MODE=2

; Set SCALE_2X=1 to scale the game x2.
Expand All @@ -34,17 +34,20 @@ SCR_HEIGHT=768
; 32 for 32bit colour output (set only if your not using Sfall with graphics modes 4 or 5)
COLOUR_BITS=32

; Set the Fullscreen refresh rate here.
; Set the Fullscreen refresh rate here.
; Set REFRESH_RATE=0 for driver default.
REFRESH_RATE=0

; Set WINDOWED=1 to enable windowed mode.
; Set WINDOWED=1 to enable windowed mode.
WINDOWED=0

; Set WINDOWED_FULLSCREEN=1 to play Fallout in a borderless fullscreen top level window (requires WINDOWED=1).
WINDOWED_FULLSCREEN=0

; Window size and position data, Do not modify.
WIN_DATA=0

; Hi-Res Patch data file and patch folder(Loaded after master.dat)
; Hi-Res Patch data file and patch folder (Loaded after master.dat)
f2_res_dat=mods\f2_res.dat
f2_res_patches=data\

Expand Down Expand Up @@ -174,7 +177,6 @@ USE_HIRES_IMAGES=1
; if set to 1 - menu-buttons, text & text-background are scaled up for better visibility when using hi-res graphics.
SCALE_BUTTONS_AND_TEXT_MENU=0


; When using a hi-res background, MENU_BG_OFFSET_X & MENU_BG_OFFSET_Y equal the
; distances in pixels from the top button to Menu Background Graphic edges.
; For Fallout1 in Fallout2 engine mod, when using graphics from the Fallout1 Hi-Res patch.
Expand Down Expand Up @@ -215,7 +217,7 @@ DIALOG_SCRN_ART_FIX=1
; Increases the length of time the Splash screen is displayed in seconds
SPLASH_SCRN_TIME=0

; Set to 1 to reduce CPU usage and heat generation by allowing the system to go idle.
; Set to 1 to reduce CPU usage and heat generation by allowing the system to go idle.
; This setting should not be enabled if Sfalls "ProcessorIdle" setting is also enabled as this will likly cause slowdowns.
CPU_USAGE_FIX=0

Expand All @@ -226,6 +228,6 @@ BARTER_PC_INV_DROP_FIX=1
FADE_TIME_MODIFIER=60

; Set to 1 to enable, recalculates fade time length each time a transitional fade occurs.
; May be useful if the length of transitional fade effects seems to randomly change between game restarts.
; May be useful if the length of transitional fade effects seems to randomly change between game restarts.
FADE_TIME_RECALCULATE_ON_FADE=0

54 changes: 26 additions & 28 deletions release/upu-install.bat
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
set "bdir=backup\upu"
set "scripts_dir=data\scripts"

if not exist %bdir% mkdir %bdir%

if exist patch000.dat (
move patch000.dat %bdir%\
)
if exist f2_res.dat (
move f2_res.dat %bdir%\
)

:: I don't know how to iterate over files in batch properly, so just moving back and forth
move /y data %bdir%\
mkdir data\sound
move /y %bdir%\data\savegame data\
move /y %bdir%\data\*.txt data\
move /y %bdir%\data\*.gcd data\
move /y %bdir%\data\sound\music data\sound\

:: sfall scripts
mkdir %scripts_dir%
move /y gl_ammomod.int %scripts_dir%\
move /y gl_highlighting.int %scripts_dir%\
move /y gl_partycontrol.int %scripts_dir%\

del /s upu-install.sh upu-install.bat upu-install.command
echo UPU installed. Backup is in %bdir%
set "bdir=backup\upu"
set "scripts_dir=data\scripts"

if not exist %bdir% mkdir %bdir%

if exist patch000.dat (
move patch000.dat %bdir%\
)
if exist f2_res.dat (
move f2_res.dat %bdir%\
)

:: I don't know how to iterate over files in batch properly, so just moving back and forth
move /y data %bdir%\
mkdir data\sound
move /y %bdir%\data\savegame data\
move /y %bdir%\data\*.txt data\
move /y %bdir%\data\*.gcd data\
move /y %bdir%\data\sound\music data\sound\

:: sfall scripts
mkdir %scripts_dir%
move /y gl_ammomod.int %scripts_dir%\

del /s upu-install.sh upu-install.bat upu-install.command
echo UPU installed. Backup is in %bdir%
2 changes: 0 additions & 2 deletions release/upu-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ done
mkdir -p data/scripts
scripts="
gl_ammomod.int
gl_highlighting.int
gl_partycontrol.int
"
for f in $scripts; do
mv "$f" data/scripts/
Expand Down

0 comments on commit 842a16b

Please sign in to comment.