ZekerZhayard / ForgeWrapper

Allow MultiMC to launch Minecraft 1.13+ with Forge
MIT License
52 stars 17 forks source link

NeoForged support #12

Closed Lolothepro closed 1 year ago

Lolothepro commented 1 year ago

Currently, this error occurs

Exception caught from launcher
java.lang.RuntimeException: Unable to detect the forge installer!
    at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getDataFromInstaller(IFileDetector.java:136)
    at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.getInstallProfileExtraData(IFileDetector.java:115)
    at io.github.zekerzhayard.forgewrapper.installer.detector.IFileDetector.checkExtraFiles(IFileDetector.java:147)
    at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:29)
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)

Note: https://maven.neoforged.net/#/releases/net/neoforged/forge/

ZekerZhayard commented 1 year ago

NeoForge is still in a very early stage. Can you provide the full java parameters used to start the game? If you are using MultiMC, can you provide the relevant json files in the patches?

Lolothepro commented 1 year ago

NeoForge is still in a very early stage. Can you provide the full java parameters used to start the game? If you are using MultiMC, can you provide the relevant json files in the patches?

net.minecraftforge.json.txt

ZekerZhayard commented 1 year ago

image You are installing NeoForge using the native Forge installer, which of course is wrong. ForgeWrapper does not consider installing native Forge derivatives, so you need to manually modify this part.

Lolothepro commented 1 year ago

image You are installing NeoForge using the native Forge installer, which of course is wrong. ForgeWrapper does not consider installing native Forge derivatives, so you need to manually modify this part.

For the moment, NeoForge just uses the native Forge installer. Isn't there a way to make it work without modifying the patch?

Lolothepro commented 1 year ago

Note: https://neoforged.net/