141805d5bb
Major refactoring of the patches, now each modified file gets its own patch file. Rewrote all the scripts to use new multi-patch system. Added linux install.sh using new system. Added some required libraries from GNUWin32 for the windows side of the new setup.bat/update_patches.bat http://gnuwin32.sourceforge.net/
28 lines
No EOL
841 B
Batchfile
Executable file
28 lines
No EOL
841 B
Batchfile
Executable file
echo off
|
|
|
|
echo MinecraftForge Windows Setup Program
|
|
echo:
|
|
|
|
pushd .. >nul
|
|
|
|
cmd /C cleanup.bat
|
|
cmd /C decompile.bat
|
|
|
|
pushd src >nul
|
|
..\runtime\bin\python\python_mcp ..\forge\lfcr.py ../forge/modLoaderMP.patch ../forge/modLoaderMP.patch
|
|
..\runtime\bin\applydiff.exe -uf -p2 -i ../forge/modLoaderMP.patch
|
|
..\runtime\bin\python\python_mcp ..\forge\lfcr.py ../forge/mlprop.patch ../forge/mlprop.patch
|
|
..\runtime\bin\applydiff.exe -uf -p1 -i ../forge/mlprop.patch
|
|
|
|
for /f "delims=" %%a in ('dir /a -d /b /S ..\forge\patches') do (
|
|
pushd "%%a" 2>nul
|
|
if errorlevel 1 (
|
|
..\runtime\bin\python\python_mcp ..\forge\lfcr.py "%%a" "%%a"
|
|
..\runtime\bin\applydiff.exe -uf -p2 -i "%%a"
|
|
) else popd
|
|
)
|
|
popd >nul
|
|
|
|
xcopy /Y /E forge\src\* src
|
|
|
|
cmd /C updatemd5.bat |