由于我最喜欢的游戏《我的世界》发生了变化,它现在的启动方式与以前不同,但因为我在进程打开方面不是很先进,所以我需要帮助。
我曾经有这个代码:
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
它现在开始与新的启动器完全不同,但因为它破坏了我的自定义启动器,我需要它恢复工作,有时间的人可以更改进程启动代码以启动游戏吗?任何帮助都非常感谢。