Version 7.2

This commit is contained in:
2020-03-04 06:42:14 +01:00
parent ace7a24751
commit 90d8702e33
10 changed files with 76 additions and 64 deletions
+28 -48
View File
@@ -6,14 +6,14 @@ if not exist PCs\mc-config.bat goto Minecraft-Portable
call PCs\mc-config.bat
REM Version Prüfen
set aktuelleversion=6.0
set aktuelleversion=7.2
if not %Version%==%aktuelleversion% goto Minecraft-Portable
goto start
goto startprogram
:Minecraft-Portable
call Minecraft-Portable.bat
goto start
goto startprogram
:launcher
cls
@@ -21,28 +21,26 @@ echo [0] Zuruch ins menu
echo.
echo [1] Minecraft Launcher
echo [2] Technic Launcher
echo [3] Cracket Launcher
echo.
set /p launcher=Bitte Zahl eingeben:
if %launcher%==0 goto start
if %launcher%==0 goto startprogram
if %launcher%==1 goto minecraft
if %launcher%==2 goto technic
if %launcher%==3 goto cracket
goto start
goto startprogram
:technic
del PCs\%computername%.bat
echo set jar=TechnicLauncher>>PCs\%computername%.bat
echo set Java=%Java%>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
goto startprogram
:cracket
:minecraft
del PCs\%computername%.bat
echo set jar=Cracket_Launcher>>PCs\%computername%.bat
echo set jar=Minecraft>>PCs\%computername%.bat
echo set Java=%Java%>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
goto startprogram
:menu32
echo [1] = RAM einstellen
@@ -56,7 +54,7 @@ if %ei%==3 goto launcher
echo Falsche Eingabe, der Befehl: %ei% gibt es nicht.
echo Bitte nochmal Versuchen
ping localhost -n 10>nul
goto start
goto startprogram
:Java
CLS
@@ -68,13 +66,13 @@ echo [1] 32Bit
echo [2] 64Bit
echo.
set /p java=Bitte Zahl eingeben:
if %java%==0 goto start
if %java%==0 goto startprogram
if %java%==1 goto Java32Bit
if %java%==2 goto Java64Bit
echo Falsche Eingabe, der Befehl: %java% gibt es nicht.
echo Bitte nochmal Versuchen
ping localhost -n 10>nul
goto start
goto startprogram
:RAM
CLS
@@ -89,7 +87,7 @@ echo M = MB
echo G = GB
echo.
set /p ram=Bitte Groesse eingeben:
if %ram%==0 goto start
if %ram%==0 goto startprogram
FOR /F "tokens=2 delims='='" %%A in ('wmic memorychip Get capacity /value') Do (Set "pram=%%A")
FOR /F "tokens=1 delims='|'" %%A in ("%pram%") Do (Set "pram=%%A")
set /a kb=%pram:~0,-3%
@@ -102,25 +100,21 @@ del PCs\%computername%.bat
echo set jar=%jar%>>PCs\%computername%.bat
echo set Java=%Java%>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
:Update
start https://www.dropbox.com/sh/lhl2rlzj1fdkli2/AABHIf2r28jWq8gpQIHUEcJqa?dl=0
goto start
goto startprogram
:Java32Bit
del PCs\%computername%.bat
echo set jar=%jar%>>PCs\%computername%.bat
echo set Java=32>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
goto startprogram
:Java64Bit
del PCs\%computername%.bat
echo set jar=%jar%>>PCs\%computername%.bat
echo set Java=64>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
goto startprogram
:ram-error
cls
@@ -129,40 +123,26 @@ echo Du hast so viel RAM Eingegeben: %ram%B
pause
goto RAM
:minecraft
del PCs\%computername%.bat
echo set jar=Minecraft>>PCs\%computername%.bat
echo set Java=%Java%>>PCs\%computername%.bat
echo set ram=%ram%>>PCs\%computername%.bat
goto start
:start
if not exist PCs\%computername%.bat goto Minecraft-Portable
:startprogram
CLS
call PCs\%computername%.bat
title %starter% Einstellungen [Version: %Version%] [RAM: %ram%B] [Java: %java% Bit] [PC: %computername%] [Launcher: %jar%]
if /i %processor_architecture%==x86 goto menu32_beta
echo [1] = Java Einstellen
echo [2] = RAM einstellen
echo [3] = Update Suchen
echo [4] = Launcher
echo [1] = Launcher
echo [2] = Java Einstellen
echo [3] = RAM einstellen
echo [4] = Update Suchen
echo.
set /p ei=Bitte zahl eingeben:
if %ei%==1 goto Java
if %ei%==2 goto RAM
if %ei%==3 goto Update
if %ei%==4 goto launcher
if %ei%==5 goto clear
if %ei%==1 goto launcher
if %ei%==2 goto Java
if %ei%==3 goto RAM
if %ei%==4 goto Update
echo Falsche Eingabe, der Befehl: %ei% gibt es nicht.
echo Bitte nochmal Versuchen
ping localhost -n 10>nul
goto start
goto startprogram
:Update
start https://www.dropbox.com/sh/lhl2rlzj1fdkli2/AABHIf2r28jWq8gpQIHUEcJqa?dl=0
goto start
:clear
rmdir /s /q .minecraft
rmdir /s /q PCs
exit
start https://github.com/daniel156161/Minecraft-Portable
goto startprogram