-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated manual install batch/shell script. Removed obsolete sfall setting and disabled debug mode by default.
- Loading branch information
Showing
5 changed files
with
28 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -484,4 +484,3 @@ Paul Naftalis | |
|
||
|
||
@Hah! Enjoy... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters