Запуск версии 1.16.3
@echo off
@rem путь к исполняемому файлу 7zip
set zipexec="C:\Program Files\7-Zip\7z.exe"
@rem путь к корневой папке с игрой
set mcgamedir="F:\Games\Minecraft\MyMCGame"
@rem путь к папке, куда будут распакованы требуемые библиотеки
set templib="%mcgamedir%\bin"
@rem путь к папке с библиотеками игры
set libdir="%mcgamedir%\libraries"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl\3.2.2\lwjgl-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-jemalloc\3.2.2\lwjgl-jemalloc-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-openal\3.2.2\lwjgl-openal-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-opengl\3.2.2\lwjgl-opengl-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-glfw\3.2.2\lwjgl-glfw-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-tinyfd\3.2.2\lwjgl-tinyfd-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-stb\3.2.2\lwjgl-stb-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\com\mojang\text2speech\1.11.3\text2speech-1.11.3-natives-windows.jar"
java.exe -showversion -Djava.library.path=%templib% -Xms1G -Xmx6G -cp %libdir%\com\mojang\patchy\1.1\patchy-1.1.jar;%libdir%\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;%libdir%\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar;%libdir%\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;%libdir%\com\ibm\icu\icu4j\66.1\icu4j-66.1.jar;%libdir%\com\mojang\javabridge\1.0.22\javabridge-1.0.22.jar;%libdir%\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar;%libdir%\io\netty\netty-all\4.1.25.Final\netty-all-4.1.25.Final.jar;%libdir%\com\google\guava\guava\21.0\guava-21.0.jar;%libdir%\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;%libdir%\commons-io\commons-io\2.5\commons-io-2.5.jar;%libdir%\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;%libdir%\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;%libdir%\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;%libdir%\com\mojang\brigadier\1.0.17\brigadier-1.0.17.jar;%libdir%\com\mojang\datafixerupper\4.0.26\datafixerupper-4.0.26.jar;%libdir%\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;%libdir%\com\mojang\authlib\1.6.25\authlib-1.6.25.jar;%libdir%\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;%libdir%\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;%libdir%\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;%libdir%\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;%libdir%\it\unimi\dsi\fastutil\8.2.1\fastutil-8.2.1.jar;%libdir%\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar;%libdir%\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar;%libdir%\org\lwjgl\lwjgl\3.2.2\lwjgl-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-jemalloc\3.2.2\lwjgl-jemalloc-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-openal\3.2.2\lwjgl-openal-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-opengl\3.2.2\lwjgl-opengl-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-glfw\3.2.2\lwjgl-glfw-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-stb\3.2.2\lwjgl-stb-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-tinyfd\3.2.2\lwjgl-tinyfd-3.2.2.jar;%libdir%\com\mojang\text2speech\1.11.3\text2speech-1.11.3.jar;%mcgamedir%\versions\1.16.3\1.16.3.jar net.minecraft.client.main.Main --username Player --version 1.16.3 --gameDir %mcgamedir% --assetsDir %mcgamedir%\assets --assetIndex 1.16 --uuid 0 --accessToken 0 --userType legacy --versionType release
Запуск версии 1.16.2
@echo off
@rem путь к исполняемому файлу 7zip
set zipexec="C:\Program Files\7-Zip\7z.exe"
@rem путь к корневой папке с игрой
set mcgamedir="D:\#Prog\MYPROBE19\MCLauncher\MCLauncher\bin\Debug"
@rem путь к папке, куда будут распакованы требуемые библиотеки
set templib="%mcgamedir%\bin"
@rem путь к папке с библиотеками игры
set libdir="%mcgamedir%\libraries"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl\3.2.2\lwjgl-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-jemalloc\3.2.2\lwjgl-jemalloc-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-openal\3.2.2\lwjgl-openal-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-opengl\3.2.2\lwjgl-opengl-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-glfw\3.2.2\lwjgl-glfw-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-tinyfd\3.2.2\lwjgl-tinyfd-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl-stb\3.2.2\lwjgl-stb-3.2.2-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\com\mojang\text2speech\1.11.3\text2speech-1.11.3-natives-windows.jar"
java.exe -showversion -Djava.library.path=%templib% -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -cp %libdir%\com\mojang\patchy\1.1\patchy-1.1.jar;%libdir%\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;%libdir%\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar;%libdir%\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;%libdir%\com\ibm\icu\icu4j\66.1\icu4j-66.1.jar;%libdir%\com\mojang\javabridge\1.0.22\javabridge-1.0.22.jar;%libdir%\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar;%libdir%\io\netty\netty-all\4.1.25.Final\netty-all-4.1.25.Final.jar;%libdir%\com\google\guava\guava\21.0\guava-21.0.jar;%libdir%\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;%libdir%\commons-io\commons-io\2.5\commons-io-2.5.jar;%libdir%\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;%libdir%\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;%libdir%\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;%libdir%\com\mojang\brigadier\1.0.17\brigadier-1.0.17.jar;%libdir%\com\mojang\datafixerupper\4.0.26\datafixerupper-4.0.26.jar;%libdir%\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;%libdir%\com\mojang\authlib\1.6.25\authlib-1.6.25.jar;%libdir%\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;%libdir%\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;%libdir%\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;%libdir%\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;%libdir%\it\unimi\dsi\fastutil\8.2.1\fastutil-8.2.1.jar;%libdir%\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar;%libdir%\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar;%libdir%\org\lwjgl\lwjgl\3.2.2\lwjgl-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-jemalloc\3.2.2\lwjgl-jemalloc-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-openal\3.2.2\lwjgl-openal-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-opengl\3.2.2\lwjgl-opengl-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-glfw\3.2.2\lwjgl-glfw-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-stb\3.2.2\lwjgl-stb-3.2.2.jar;%libdir%\org\lwjgl\lwjgl-tinyfd\3.2.2\lwjgl-tinyfd-3.2.2.jar;%libdir%\com\mojang\text2speech\1.11.3\text2speech-1.11.3.jar;%mcgamedir%\versions\1.16.2\1.16.2.jar net.minecraft.client.main.Main --username Player --version 1.16.2 --gameDir %mcgamedir% --assetsDir %mcgamedir%\assets --assetIndex 1.16 --uuid 0 --accessToken 0 --userType legacy --versionType release
Запуск версии 1.12.2
@echo off
@rem путь к исполняемому файлу 7zip
set zipexec="C:\Program Files\7-Zip\7z.exe"
@rem путь к корневой папке с игрой
set mcgamedir="D:\#Prog\MYPROBE19\MCLauncher\MCLauncher\bin\Debug"
@rem путь к папке, куда будут распакованы требуемые библиотеки
set templib="%mcgamedir%\bin"
@rem путь к папке с библиотеками игры
set libdir="%mcgamedir%\libraries"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl\lwjgl-platform\2.9.4-nightly-20150209\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\com\mojang\text2speech\1.10.3\text2speech-1.10.3-natives-windows.jar"
java.exe -showversion -Djava.library.path=%templib% -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -cp %libdir%\com\mojang\patchy\1.1\patchy-1.1.jar;%libdir%\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;%libdir%\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar;%libdir%\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;%libdir%\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;%libdir%\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar;%libdir%\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;%libdir%\com\paulscode\codecwav\20101023\codecwav-20101023.jar;%libdir%\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;%libdir%\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;%libdir%\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;%libdir%\io\netty\netty-all\4.1.9.Final\netty-all-4.1.9.Final.jar;%libdir%\com\google\guava\guava\21.0\guava-21.0.jar;%libdir%\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;%libdir%\commons-io\commons-io\2.5\commons-io-2.5.jar;%libdir%\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;%libdir%\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;%libdir%\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;%libdir%\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;%libdir%\com\mojang\authlib\1.5.25\authlib-1.5.25.jar;%libdir%\com\mojang\realms\1.10.22\realms-1.10.22.jar;%libdir%\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;%libdir%\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;%libdir%\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;%libdir%\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;%libdir%\it\unimi\dsi\fastutil\7.1.0\fastutil-7.1.0.jar;%libdir%\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar;%libdir%\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar;%libdir%\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar;%libdir%\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar;%libdir%\org\lwjgl\lwjgl\lwjgl-platform\2.9.4-nightly-20150209\lwjgl-platform-2.9.4-nightly-20150209.jar;%libdir%\com\mojang\text2speech\1.10.3\text2speech-1.10.3.jar;%mcgamedir%\versions\1.12.2\1.12.2.jar net.minecraft.client.main.Main --username Player --version 1.12.2 --gameDir %mcgamedir% --assetsDir %mcgamedir%\assets --assetIndex 1.12 --uuid 0 --accessToken 0 --userType legacy --versionType release
Запуск версии 1.0
@echo off
@rem путь к исполняемому файлу 7zip
set zipexec="C:\Program Files\7-Zip\7z.exe"
@rem путь к корневой папке с игрой
set mcgamedir="F:\Games\Minecraft\MyMCGame"
@rem путь к папке, куда будут распакованы требуемые библиотеки
set templib="%mcgamedir%\bin"
@rem путь к папке с библиотеками игры
set libdir="%mcgamedir%\libraries"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar"
%zipexec% x -y -o%templib% -ir!*.dll "%libdir%\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar"
javaw.exe -Djava.library.path=%templib% -Xms32M -Xmx1G -cp %libdir%\net\minecraft\launchwrapper\1.5\launchwrapper-1.5.jar;%libdir%\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;%libdir%\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;%libdir%\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;%libdir%\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;%libdir%\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;%libdir%\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;%mcgamedir%\versions\1.0\1.0.jar net.minecraft.launchwrapper.Launch Player 0 --gameDir %mcgamedir% --assetsDir %mcgamedir%\assets