由于我最喜欢的游戏Minecraft改变,它现在以不同的方式发布,但因为我不是非常先进的过程开放我需要帮助。
我以前有这段代码:
Dim p = New ProcessStartInfo("C:\Program Files\Java\jre6\bin\java.exe", "-cp " & mcroot & "bin/minecraft.jar;" & mcroot & "bin/lwjgl.jar;" & mcroot & "bin/lwjgl_util.jar;" & mcroot & "bin/jinput.jar; -Djava.library.path=" & mcroot & "bin\natives -Xmx" & xmx & " -Xms" & xms & " net.minecraft.client.Minecraft " & pseudo & " " & sessionid)
If show_debug = "0" Then
p.WindowStyle = ProcessWindowStyle.Hidden
Else
p.WindowStyle = ProcessWindowStyle.Normal
End If
并且它适用于1.5.2版本,但现在当1.6.2版本出现时,它开始以不同的方式启动它:
Running C:\Program Files\Java\jre7\bin\javaw.exe -Xmx1G -Djava.library.path=C:\Users\Kristjan\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-8702682110482
-cp C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;
C:\Users\Kristjan\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2.jar
net.minecraft.client.main.Main --username mjacobinc --session token:9b7c825b93004afe84ea48d3ebcc9550:5a2c380e72e04e56be0835ee47eb83dc --version 1.6.2 --gameDir C:\Users\Kristjan\AppData\Roaming\.minecraft --assetsDir C:\Users\Kristjan\AppData\Roaming\.minecraft\assets
它现在开始与新的启动器完全不同,但因为它打破了我的自定义启动器,我需要它恢复工作,有时间的人可以更改流程启动代码以启动游戏吗?任何帮助都很受欢迎。