-
Automating the Forge Installer
Understood. I'd been wanting to limit the number steps, but having a user install the Forge client should not be too difficult. Instead, I'll either provide a method within my plugin to navigate through the webpage (.net webbrowser) so they see the ads or provide a check for the forge version to exist within .minecraft/version, just checking major version (i.e. "1.8-forge") -- if any of those exist, all is well. If not, stop the user and have them download Forge. Thanks for the help!
-
Automating the Forge Installer
Understood. I'd been wanting to limit the number steps, but having a user install the Forge client should not be too difficult. Instead, I'll either provide a method within my plugin to navigate through the webpage (.net webbrowser) so they see the ads or provide a check for the forge version to exist within .minecraft/version, just checking major version (i.e. "1.8-forge") -- if any of those exist, all is well. If not, stop the user and have them download Forge. Thanks for the help!
-
Automating the Forge Installer
I'm leaving this post right before I crash, so bear with me here... I'm a C# developer writing a custom cross-platform install package (through Mono). The install package is small and configurable, and provides the end-user with a single package for installing the provided Forge version as well as deploying a few resource packs and Forge mods. My question has to do with the Forge Installer itself - there are three modes once launced: install client, install server, and extract. All three require you to select a destination. I've attempted to use the extract option, which dumps forge-1.8.8-11.15.0.1655-universal.jar to my selected folder. I then, for test purposes, attempt to execute the program with the --help flag, but it appears to just instantly close. I get the same result with the installer .jar and .exe. What I would like to do, ultimately, is either replicate the installation process within C# or to have my installer kick off a Forge Client Install. Question-time then... What is the purpose of forge-1.8.8-11.15.0.1655-universal.jar? There does not appear to be an attached GUI (double clicking does nothing) and running the program through the command line does not appear to have any results either. I can't find anything on the Wiki for this either - it mentions that "extract" is an option, but it does not elaborate further. My second question is whether or not there are any command line options for installing the client. So far, the only command line options I can find are --help, --install-server, and --extract, though these are poorly documented on the wiki. Lastly, has anyone else attempted to automate this process with any degree of success? I can re-write the entire installer in C# or I can fork the Java installer and trim out what I don't need, providing a surface for my C# app. However, for logging purposes, having what I need in the C# installer seems to be a better option. Food for thought. Thanks, Fox
-
Automating the Forge Installer
I'm leaving this post right before I crash, so bear with me here... I'm a C# developer writing a custom cross-platform install package (through Mono). The install package is small and configurable, and provides the end-user with a single package for installing the provided Forge version as well as deploying a few resource packs and Forge mods. My question has to do with the Forge Installer itself - there are three modes once launced: install client, install server, and extract. All three require you to select a destination. I've attempted to use the extract option, which dumps forge-1.8.8-11.15.0.1655-universal.jar to my selected folder. I then, for test purposes, attempt to execute the program with the --help flag, but it appears to just instantly close. I get the same result with the installer .jar and .exe. What I would like to do, ultimately, is either replicate the installation process within C# or to have my installer kick off a Forge Client Install. Question-time then... What is the purpose of forge-1.8.8-11.15.0.1655-universal.jar? There does not appear to be an attached GUI (double clicking does nothing) and running the program through the command line does not appear to have any results either. I can't find anything on the Wiki for this either - it mentions that "extract" is an option, but it does not elaborate further. My second question is whether or not there are any command line options for installing the client. So far, the only command line options I can find are --help, --install-server, and --extract, though these are poorly documented on the wiki. Lastly, has anyone else attempted to automate this process with any degree of success? I can re-write the entire installer in C# or I can fork the Java installer and trim out what I don't need, providing a surface for my C# app. However, for logging purposes, having what I need in the C# installer seems to be a better option. Food for thought. Thanks, Fox
IPS spam blocked by CleanTalk.