Revert "Removed scripts. NO PASSWORD FOR YOU."
This reverts commit e50921e6c3
.
This commit is contained in:
parent
0c93388b73
commit
4e84bf5090
5 changed files with 144 additions and 0 deletions
4
Include2.bat
Normal file
4
Include2.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
cd resources
|
||||
..\..\..\7za.exe a "..\jars\bin\minecraft.jar" "*"
|
||||
pause
|
28
buildlocal.bat
Normal file
28
buildlocal.bat
Normal file
|
@ -0,0 +1,28 @@
|
|||
::ASSEMBLY LINE BUILDER
|
||||
@echo off
|
||||
set FILE_NAME=AssemblyLine_test.jar
|
||||
set API_NAME=AssemblyLine_test_api.zip
|
||||
set BACKUP_NAME=AssemblyLine_test_backup.zip
|
||||
|
||||
echo Starting to build %FILE_NAME%
|
||||
|
||||
::BUILD
|
||||
runtime\bin\python\python_mcp runtime\recompile.py %*
|
||||
runtime\bin\python\python_mcp runtime\reobfuscate.py %*
|
||||
|
||||
::ZIP-UP
|
||||
cd reobf\minecraft\
|
||||
7z a "..\..\builds\%FILE_NAME%" "*"
|
||||
cd ..\..\
|
||||
cd resources\
|
||||
7z a "..\builds\%FILE_NAME%" "*"
|
||||
7z a "..\builds\%BACKUP_NAME%" "*" -pdarkguardsman
|
||||
cd ..\
|
||||
cd src\
|
||||
7z a "..\builds\%BACKUP_NAME%" "*\assemblyline\" -pdarkguardsman
|
||||
7z a "..\builds\%API_NAME%" "*\assemblyline\api\"
|
||||
cd ..\
|
||||
|
||||
echo Done building %FILE_NAME% for UE %UE_VERSION%
|
||||
|
||||
pause
|
4
include.bat
Normal file
4
include.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
cd resources
|
||||
7z a "..\jars\bin\minecraft.jar" "*"
|
||||
pause
|
56
publish.bat
Normal file
56
publish.bat
Normal file
|
@ -0,0 +1,56 @@
|
|||
::ASSEMBLY LINE BUILDER
|
||||
@echo off
|
||||
echo Promotion Type? (Choose * for recommended, @ for stable and x for unstable)
|
||||
set /p PROMOTION=
|
||||
|
||||
set /p MODVERSION=<modversion.txt
|
||||
set /p CurrentBuild=<buildnumber.txt
|
||||
set /a BUILD_NUMBER=%CurrentBuild%+1
|
||||
echo %BUILD_NUMBER% >buildnumber.txt
|
||||
|
||||
if %PROMOTION%==* (
|
||||
echo %MODVERSION% >recommendedversion.txt
|
||||
)
|
||||
|
||||
set FILE_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%.jar
|
||||
set API_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%_api.zip
|
||||
set BACKUP_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%_backup.zip
|
||||
|
||||
echo Starting to build %FILE_NAME%
|
||||
|
||||
::BUILD
|
||||
runtime\bin\python\python_mcp runtime\recompile.py %*
|
||||
runtime\bin\python\python_mcp runtime\reobfuscate.py %*
|
||||
|
||||
::ZIP-UP
|
||||
cd reobf\minecraft\
|
||||
7z a "..\..\builds\%FILE_NAME%" "*"
|
||||
cd ..\..\
|
||||
cd resources\
|
||||
7z a "..\builds\%FILE_NAME%" "*"
|
||||
7z a "..\builds\%BACKUP_NAME%" "*" -pdarkguardsman
|
||||
cd ..\
|
||||
cd src\
|
||||
7z a "..\builds\%BACKUP_NAME%" "*\assemblyline\" -pdarkguardsman
|
||||
7z a "..\builds\%API_NAME%" "*\assemblyline\api\"
|
||||
cd ..\
|
||||
|
||||
::UPDATE INFO FILE
|
||||
echo %PROMOTION% %FILE_NAME% %API_NAME%>>info.txt
|
||||
|
||||
::GENERATE FTP Script
|
||||
echo open calclavia.com>ftpscript.txt
|
||||
echo al@calclavia.com>>ftpscript.txt
|
||||
echo VkE4laBa84R9>>ftpscript.txt
|
||||
echo binary>>ftpscript.txt
|
||||
echo put "recommendedversion.txt">>ftpscript.txt
|
||||
echo put "builds\%FILE_NAME%">>ftpscript.txt
|
||||
echo put "builds\%API_NAME%">>ftpscript.txt
|
||||
echo put info.txt>>ftpscript.txt
|
||||
echo quit>>ftpscript.txt
|
||||
ftp.exe -s:ftpscript.txt
|
||||
del ftpscript.txt
|
||||
|
||||
echo Done building %FILE_NAME% for UE %UE_VERSION%
|
||||
|
||||
pause
|
52
publish_obf.bat
Normal file
52
publish_obf.bat
Normal file
|
@ -0,0 +1,52 @@
|
|||
::ASSEMBLY LINE BUILDER
|
||||
@echo off
|
||||
echo Promotion Type? (Choose * for recommended, @ for stable and x for unstable)
|
||||
set /p PROMOTION=
|
||||
|
||||
set /p MODVERSION=<modversion.txt
|
||||
set /p CurrentBuild=<buildnumber.txt
|
||||
set /a BUILD_NUMBER=%CurrentBuild%+1
|
||||
|
||||
set NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%
|
||||
set FILE_NAME=%NAME%.jar
|
||||
set TEMP_FILE=%NAME%_temp.jar
|
||||
set TEMP_FILE2=%NAME%_temp2.jar
|
||||
set TEMP_FOLDER=%NAME%_temp
|
||||
set API_NAME=%NAME%_api.zip
|
||||
set BACKUP_NAME=%NAME%_backup.zip
|
||||
|
||||
echo Starting to build %NAME%
|
||||
|
||||
::BUILD
|
||||
::runtime\bin\python\python_mcp runtime\recompile.py %*
|
||||
::runtime\bin\python\python_mcp runtime\reobfuscate.py %*
|
||||
|
||||
::ZIP-UP
|
||||
cd reobf\minecraft\
|
||||
"..\..\..\7za.exe" a "..\..\builds\%TEMP_FILE_NAME%" "*"
|
||||
cd ..\..\
|
||||
cd resources\
|
||||
"..\..\7za.exe" a "..\builds\%FILE_NAME%" "*"
|
||||
"..\..\7za.exe" a "..\builds\%BACKUP_NAME%" "*" -pdarkguardsman
|
||||
cd ..\
|
||||
cd src\
|
||||
"..\..\7za.exe" a "..\builds\%BACKUP_NAME%" "*\assemblyline\" -pdarkguardsman
|
||||
"..\..\7za.exe" a "..\builds\%API_NAME%" "*\assemblyline\api\"
|
||||
cd ..\
|
||||
|
||||
::Obfuscation
|
||||
echo Injector Minecraft Source
|
||||
cd obf_minecraft
|
||||
"..\..\7za.exe" a "..\builds\%TEMP_FILE_NAME%" "*"
|
||||
cd ..\
|
||||
echo Obfuscating...
|
||||
java -jar "retroguard.jar" "builds\%TEMP_FILE_NAME%" "builds\%TEMP_FILE2%" obf.rgs
|
||||
echo Repacking
|
||||
"..\7za.exe" x "builds\%TEMP_FILE_NAME%" "builds\%TEMP_FOLDER%"
|
||||
cd "builds\%TEMP_FOLDER%"
|
||||
"..\..\..\7za.exe" a "..\..\builds\%FILE_NAME%" "*"
|
||||
cd ..\..\
|
||||
|
||||
echo Done building %NAME%
|
||||
|
||||
pause
|
Loading…
Reference in a new issue