Posted May 13, 201312 yr I am creating my own multilauncher. I have completed the basics of the launcher and started adding features, running Minecraft with Minecraft Forge works fine with my launcher, but the problem is when I added Shortcut feature. So there wouldn't be a problem with that feature, but the problem is when i have MCP with my mod installed. I have no idea why, but when Forge is launched throught the my launcher shortcut, it loads my mod from MCP causing Minecraft to crash even if the MCP is in another location then shortcut, launcher or forge. The error is: "java.lang.IllegalArgumentException: duplicate key: *mod name*" Shotcut refers to my launcher with arguments, that my program accepts and uses them to launch the correct Minecraft. No others mods then forge are installed. And my question is: Why is forge loading my MCP mod?
May 13, 201312 yr Because you're telling it that the mcp mods folder is the folder that you want to load mods from. See the log, it prints out where it is loading from. Your launcher is probably borked up. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
May 14, 201312 yr Author I taked a look at the log and saw the problem. It was loading mods from where the shortcut was. That explains why when i run it directly from my launcher it tried to load mods from the folder where is the EXE located (no mods are there). But with the shortcut it was trying to load mods from where is the shortcut located (Desktop), where is also MCP located (but in two subfolders) and it loaded my mod from it. So in the launcher I set the process working directory and that fixed it. Thank you very much (I gave you +1 Thanks)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.