1
0
mirror of synced 2024-11-24 06:50:11 +01:00
FFBArcadePlugin/AutoSetup.cmd
2021-03-30 16:20:06 +13:00

123 lines
3.9 KiB
Batchfile

@echo off
set /p Build=<Version.txt
mkdir ".\Release.Win32\Supermodel 32bit Outputs\ONLY COPY FILE INSIDE THIS FOLDER IF OLDER SUPERMODEL VERSION BEFORE r791"
mkdir ".\Release.Win32\Supermodel 64bit Outputs\ONLY COPY FILE INSIDE THIS FOLDER IF OLDER SUPERMODEL VERSION BEFORE r791"
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\Button Rumble 64bit" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\Button Rumble 64bit" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\Initial D Zero v131" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\Initial D Zero v131" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\Initial D Zero v211" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\Initial D Zero v211" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\Sega World Drivers Championship 2018" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\Sega World Drivers Championship 2018" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\MAME 64bit Outputs" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\MAME 64bit Outputs" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\PokkenTournament" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\PokkenTournament" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\Supermodel 64bit Outputs" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\Supermodel 64bit Outputs" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\WMMT5" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\WMMT5" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\WMMT6" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\WMMT6" /Y
xcopy ".\Release.x64\dinput8.dll" ".\Release.Win32\WMMT6R" /Y
xcopy ".\Release.x64\SDL2.dll" ".\Release.Win32\WMMT6R" /Y
xcopy ".\MAME32.dll" ".\Release.Win32\MAME 32bit Outputs" /Y
xcopy ".\MAME64.dll" ".\Release.Win32\MAME 64bit Outputs" /Y
xcopy ".\MAME32.dll" ".\Release.Win32\Supermodel 32bit Outputs" /Y
xcopy ".\MAME64.dll" ".\Release.Win32\Supermodel 64bit Outputs" /Y
cd Release.Win32
cd Afterburner Climax
rename dinput8.dll opengl32.dll
cd..
cd Aliens Extermination
rename dinput8.dll opengl32.dll
cd..
cd Batman
rename dinput8.dll d3d11.dll
cd..
cd Battle Gear 4 Tuned
rename dinput8.dll d3d9.dll
cd..
cd Chase HQ 2
rename dinput8.dll d3d9.dll
cd..
cd Demul
rename dinput8.dll winmm.dll
cd..
cd Dirty Drivin'
rename dinput8.dll d3d9.dll
cd..
cd H2Overdrive
rename dinput8.dll d3d9.dll
cd..
cd HOTD4
rename dinput8.dll opengl32.dll
cd..
cd Initial D 4
rename dinput8.dll opengl32.dll
cd..
cd Initial D 4 Japan
rename dinput8.dll opengl32.dll
cd..
cd Initial D 5
rename dinput8.dll opengl32.dll
cd..
cd KODrive
rename dinput8.dll d3d9.dll
cd..
cd LGI
rename dinput8.dll d3d9.dll
cd..
cd LGI3D
rename dinput8.dll d3d9.dll
cd..
cd Machstorm
rename dinput8.dll xinput1_3.dll
cd..
cd Outrun 2 Special Tours Deluxe Custom
rename dinput8.dll opengl32.dll
cd..
cd Outrun 2 Special Tours Deluxe Real
rename dinput8.dll opengl32.dll
cd..
cd Rambo
rename dinput8.dll opengl32.dll
cd..
cd R-Tuned
rename dinput8.dll opengl32.dll
cd..
cd "Sonic & Sega All Stars Racing"
rename dinput8.dll d3d9.dll
cd..
cd Supermodel 32bit Outputs
rename dinput8.dll opengl32.dll
cd..
cd Supermodel 64bit Outputs
rename dinput8.dll opengl32.dll
cd..
cd Wacky Races
rename dinput8.dll d3d9.dll
cd..
cd WMMT5
rename dinput8.dll d3d11.dll
cd..
cd WMMT6
rename dinput8.dll d3d11.dll
cd..
cd WMMT6R
rename dinput8.dll d3d11.dll
cd..
del dinput8.exp
del dinput8.lib
del SDL2.dll
move ".\Supermodel 32bit Outputs\SDL2.dll" ".\Supermodel 32bit Outputs\ONLY COPY FILE INSIDE THIS FOLDER IF OLDER SUPERMODEL VERSION BEFORE r791"
move ".\Supermodel 64bit Outputs\SDL2.dll" ".\Supermodel 64bit Outputs\ONLY COPY FILE INSIDE THIS FOLDER IF OLDER SUPERMODEL VERSION BEFORE r791"
rd /s /q ".\DInput8Wrapper\"
"C:\Program Files\7-Zip\7z.exe" a ".\FFB Arcade Plugin %Build%.zip" ".\*"
move ".\FFB Arcade Plugin %Build%.zip" "..\"
"C:\Program Files\7-Zip\7z.exe" a ".\FFB Arcade Plugin %Build%.7z" ".\*"
move ".\FFB Arcade Plugin %Build%.7z" "..\"
EXIT