This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptimiseWindows.bat
65 lines (61 loc) · 2.45 KB
/
optimiseWindows.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@echo off
:start
set unverum=
set /p unverum=Welcome to the King of Fighters XV Optimiser! Would you like to use the Unverum mod manager for the pak mods? (Y/N):
if not '%unverum%'=='' set unverum=%unverum:~0,1%
if '%unverum%'=='Y' goto uyes
if '%unverum%'=='y' goto uyes
if '%unverum%'=='yes' goto uyes
if '%unverum%'=='Yes' goto uyes
if '%unverum%'=='YES' goto uyes
if '%unverum%'=='N' goto uno
if '%unverum%'=='n' goto uno
if '%unverum%'=='no' goto uno
if '%unverum%'=='No' goto uno
if '%unverum%'=='NO' goto uno
echo "%unverum%" is not a valid response. Please try again.
echo.
goto start
:uyes
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\Scalability.ini" "Scalability.ini.bak"
copy ".\source\good.ini" "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\"
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\good.ini" "Scalability.ini"
xcopy /s /q ".\source\~mods\" ".\Pak Files\"
echo Installation complete. Pak files have been copied to this directory for use with Unverum.
@pause
exit
:uno
set dircheck=
set /p dircheck=Is KOFXV installed in the default Steam directory (C:\Program Files (x86)\Steam\)? (Y/N):
if not '%dircheck%'=='' set dircheck=%dircheck:~0,1%
if '%dircheck%'=='Y' goto yes
if '%dircheck%'=='y' goto yes
if '%dircheck%'=='yes' goto yes
if '%dircheck%'=='Yes' goto yes
if '%dircheck%'=='YES' goto yes
if '%dircheck%'=='N' goto no
if '%dircheck%'=='n' goto no
if '%dircheck%'=='no' goto no
if '%dircheck%'=='No' goto no
if '%dircheck%'=='NO' goto no
echo "%dircheck%" is not a valid response. Please try again.
echo.
goto uno
:yes
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\Scalability.ini" "Scalability.ini.bak"
copy ".\source\good.ini" "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\"
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\good.ini" "Scalability.ini"
xcopy /s ".\source\~mods\" "%PROGRAMFILES(X86)%\Steam\steamapps\common\THE KING OF FIGHTERS XV\KOFXV\Content\Paks"
echo Installation complete.
@pause
exit
:no
set dirr=
set /p dirr=Please input the full file path to your Steam library (e.g. steamapps) folder where KOFXV is installed:
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\Scalability.ini" "Scalability.ini.bak"
copy ".\source\good.ini" "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\"
rename "%LOCALAPPDATA%\KOFXV\Saved\Config\WindowsNoEditor\good.ini" "Scalability.ini"
xcopy /s ".\source\~mods\" "%dirr%\common\THE KING OF FIGHTERS XV\KOFXV\Content\Paks"
echo Installation complete.
@pause
exit