Closed binggo999 closed 1 year ago
看上去不是我这边的问题,至少在我的设备上是能正常启动的。
要不,你启动器参数中加一个 -log 类似 ./gml-windows.exe -run 1.20.1-forge-47.1.43 -ms -email xmdhs -javapath "D:\java\jdk-17\bin\java.exe" -ram 4000 -log
然后发输出的内容
看上去不是我这边的问题,至少在我的设备上是能正常启动的。
要不,你启动器参数中加一个 -log 类似
./gml-windows.exe -run 1.20.1-forge-47.1.43 -ms -email xmdhs -javapath "D:\java\jdk-17\bin\java.exe" -ram 4000 -log
然后发输出的内容
[17:11:18] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, test, --version, GML 1.4.13, --gameDir, C:/Users/Administrator/Desktop/wdsj/.minecraft, --assetsDir, C:/Users/Administrator/Desktop/wdsj/.minecraft/assets, --assetIndex, 5, --uuid, 530fa97a357f3c1994d30c5c65c18fe8, --accessToken, ????????, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, GML 1.4.13, --launchTarget, forgeclient, --fml.forgeVersion, 47.1.43, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412]
[17:11:18] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0
[17:11:19] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow
[17:11:19] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6
[17:11:20] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6
[17:11:20] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Administrator/Desktop/wdsj/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23101!/ Service=ModLauncher Env=CLIENT
[17:11:20] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 441.41, NVIDIA Corporation
[17:11:20] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj.minecraft\libraries\net\minecraftforge\fmlcore\1.20.1-47.1.43\fmlcore-1.20.1-47.1.43.jar is missing mods.toml file
[17:11:20] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj.minecraft\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.1.43\javafmllanguage-1.20.1-47.1.43.jar is missing mods.toml file
[17:11:20] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj.minecraft\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.1.43\lowcodelanguage-1.20.1-47.1.43.jar is missing mods.toml file
[17:11:20] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj.minecraft\libraries\net\minecraftforge\mclanguage\1.20.1-47.1.43\mclanguage-1.20.1-47.1.43.jar is missing mods.toml file
[17:11:20] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 6 dependencies adding them to mods collection
Exception in thread "main" java.lang.module.ResolutionException: Modules minecraft and _1._20._1.forge export package net.minecraft.client to module create_dragon_lib
at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)
at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815)
at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736)
at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
at java.base/java.lang.module.Configuration.
goroutine 1 [running]: github.com/xmdhs/gomclauncher/flag.Flag.Arun({{{0xc0000ca5a0, 0x2e}, {0xc0000a8190, 0x4}, {0xc00017239c, 0x4}, {0xc0000a6f40, 0x20}, {0xc000096dc0, 0x157}, ...}, ...}) github.com/xmdhs/gomclauncher/flag/run.go:73 +0x76d main.main() github.com/xmdhs/gomclauncher/main.go:85 +0x478
是用 forge 的安装器安装的吗,是的话,运行下类似这样的命令呢,然后发输出的内容,记得抹除其中的隐私信息,或者离线登录
./gml-windows.exe -run 1.20.1-forge-47.1.43 -ms -email xmdhs -log -javapath "echo" -ram 4000
First, copy your one-time code: 9WAH7VRS Then press [Enter] to continue in the web browser... If not opening a web browser, try to open https://www.microsoft.com/link
倒不是直接粘贴,这样你执行这个
./gml-windows.exe -run 1.20.1-forge-47.1.43 -username xmdhs -log -javapath "echo" -ram 4000
直接退出了,什么都没有
你先换成这个版本,然后运行类似这样的命令 ./gml-windows.exe -run 1.20.1-forge-47.1.43 -username xmdhs -ram 4000 -log
哦,我重新试了一下,之前用hmcl下载的游戏核心和forge合一的版本不能启动。只能用forge官方安装的版本才可以启动吗?
之前看 hmcl 是用了自己的格式,其他启动器能启动器应该是做了兼容。现在不知道是什么样子。
这个项目只对原版 minecraft 的 json,和一些 mod 安装器产生的 json 格式做兼容。
[098月2023 13:30:50.983] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, test, --version, GML 1.4.13, --gameDir, C:/Users/Administrator/Desktop/wdsj - 副本/.minecraft, --assetsDir, C:/Users/Administrator/Desktop/wdsj - 副本/.minecraft/assets, --assetIndex, 5, --uuid, 530fa97a357f3c1994d30c5c65c18fe8, --accessToken, ????????, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, GML 1.4.13, --launchTarget, forgeclient, --fml.forgeVersion, 47.1.43, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [098月2023 13:30:50.988] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0 [098月2023 13:30:51.792] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [098月2023 13:30:51.870] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [098月2023 13:30:52.186] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [098月2023 13:30:52.284] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Administrator/Desktop/wdsj%20-%20副本/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23151!/ Service=ModLauncher Env=CLIENT [098月2023 13:30:52.313] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 441.41, NVIDIA Corporation [098月2023 13:30:53.929] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj - 副本.minecraft\libraries\net\minecraftforge\fmlcore\1.20.1-47.1.43\fmlcore-1.20.1-47.1.43.jar is missing mods.toml file [098月2023 13:30:53.934] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj - 副本.minecraft\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.1.43\javafmllanguage-1.20.1-47.1.43.jar is missing mods.toml file [098月2023 13:30:53.938] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj - 副本.minecraft\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.1.43\lowcodelanguage-1.20.1-47.1.43.jar is missing mods.toml file [098月2023 13:30:53.943] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Administrator\Desktop\wdsj - 副本.minecraft\libraries\net\minecraftforge\mclanguage\1.20.1-47.1.43\mclanguage-1.20.1-47.1.43.jar is missing mods.toml file [098月2023 13:30:54.087] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 6 dependencies adding them to mods collection