Skip to content

Commit

Permalink
Change patch_data references to data
Browse files Browse the repository at this point in the history
  • Loading branch information
Lojemiru authored Apr 7, 2021
1 parent 0f6f0e9 commit b619ea7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Drag-and-Drop AM2R_11.zip onto Here!.bat
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ if "%ReturnCode%"=="2" (


ECHO Patching AM2R.exe...
REM utilities\floating\flips.exe --apply patch_data\AM2R.bps %output%\data.win %output%\AM2R.exe
utilities\xdelta\xdelta3.exe -f -d -s %output%\data.win patch_data\AM2R.xdelta %output%\AM2R.exe
REM utilities\floating\flips.exe --apply data\AM2R.bps %output%\data.win %output%\AM2R.exe
utilities\xdelta\xdelta3.exe -f -d -s %output%\data.win data\AM2R.xdelta %output%\AM2R.exe
ECHO.

if not "%ErrorLevel%"=="0" (
Expand All @@ -102,7 +102,7 @@ if not "%ErrorLevel%"=="0" (


ECHO Copying patch files...
xcopy /s /v /y /q patch_data\files_to_copy %output%
xcopy /s /v /y /q data\files_to_copy %output%

Call :YesNoBox "Install high quality in-game music? Increases filesize by 194 MB!"

Expand All @@ -111,7 +111,7 @@ if "%YesNo%"=="6" (

ECHO.
ECHO Copying high quality music...
xcopy /s /v /y /q patch_data\HDR_HQ_in-game_music %output%
xcopy /s /v /y /q data\HDR_HQ_in-game_music %output%
)


Expand All @@ -121,15 +121,15 @@ IF "%ReturnCode%"=="2" (
ECHO.
ECHO Packaging Android APK...

xcopy /s /v /y /q patch_data\android\AM2RWrapper.apk utilities\android > nul
xcopy /s /v /y /q data\android\AM2RWrapper.apk utilities\android > nul

move %output% utilities\android\assets > nul

xcopy /s /v /y /q patch_data\android\AM2R.ini utilities\android\assets > nul
xcopy /s /v /y /q data\android\AM2R.ini utilities\android\assets > nul

ECHO Patching game.droid...
REM utilities\floating\flips.exe --apply patch_data\droid.bps utilities\android\assets\AM2R.exe utilities\android\assets\game.droid
utilities\xdelta\xdelta3.exe -f -d -s utilities\android\assets\data.win patch_data\droid.xdelta utilities\android\assets\game.droid
REM utilities\floating\flips.exe --apply data\droid.bps utilities\android\assets\AM2R.exe utilities\android\assets\game.droid
utilities\xdelta\xdelta3.exe -f -d -s utilities\android\assets\data.win data\droid.xdelta utilities\android\assets\game.droid

call utilities\android\apk_package_assets.bat

Expand Down Expand Up @@ -164,4 +164,4 @@ set heading=%~2
set message=%~1
echo wscript.echo msgbox(WScript.Arguments(0),%MsgType%,WScript.Arguments(1)) >"%temp%\input.vbs"
for /f "tokens=* delims=" %%a in ('cscript //nologo "%temp%\input.vbs" "%message%" "%heading%"') do set YesNo=%%a
exit /b
exit /b

0 comments on commit b619ea7

Please sign in to comment.