Jump to content

Terminator1998

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Terminator1998's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello everyone, how can I run maincraft forge (1.12.2) + Optifine with command-line arguments? I will try so, but nothing happens: StringBuilder args = new StringBuilder(); args.Append("-Xmx" + cnfg.ram + 'M').AppendLine(); args.Append("-Djava.library.path=" + cnfg.folder + u_core + "\\natives"); args.Append("-cp " + cnfg.folder + u_other + @"libraries\net\minecraftforge\forge\1.12.2-14.23.3.2655\forge-1.12.2-14.23.3.2655.jar;" + cnfg.folder + u_other + @"libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar;" + cnfg.folder + u_other + @"libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;" + cnfg.folder + u_other + @"libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;" + cnfg.folder + u_other + @"libraries\net\sf\jopt-simple\jopt-simple\4.6\jopt-simple-4.6.jar;" + cnfg.folder + u_other + @"libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;" + cnfg.folder + u_other + @"libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;" + cnfg.folder + u_other + @"libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;" + cnfg.folder + u_other + @"libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;" + cnfg.folder + u_other + @"libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;" + cnfg.folder + u_other + @"libraries\io\netty\netty-all\4.0.15.Final\netty-all-4.0.15.Final.jar;" + cnfg.folder + u_other + @"libraries\com\google\guava\guava\17.0\guava-17.0.jar;" + cnfg.folder + u_other + @"libraries\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;" + cnfg.folder + u_other + @"libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;" + cnfg.folder + u_other + @"libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;" + cnfg.folder + u_other + @"libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;" + cnfg.folder + u_other + @"libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;" + cnfg.folder + u_other + @"libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;" + cnfg.folder + u_other + @"libraries\com\mojang\authlib\1.5.17\authlib-1.5.17.jar;" + cnfg.folder + u_other + @"libraries\com\mojang\realms\1.5.4\realms-1.5.4.jar;" + cnfg.folder + u_other + @"libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;" + cnfg.folder + u_other + @"libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;" + cnfg.folder + u_other + @"libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;" + cnfg.folder + u_other + @"libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;" + cnfg.folder + u_other + @"libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;" + cnfg.folder + u_other + @"libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;" + cnfg.folder + u_other + @"libraries\org\lwjgl\lwjgl\lwjgl\2.9.1\lwjgl-2.9.1.jar;" + cnfg.folder + u_other + @"libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1\lwjgl_util-2.9.1.jar;" + cnfg.folder + u_core + @"core.jar").AppendLine(); args.Append("net.minecraft.client.main.Main").AppendLine(); args.Append("--username " + cnfg.nick).AppendLine(); args.Append("--version Forge_1.12.2").AppendLine(); args.Append("--gameDir " + cnfg.folder + u_other).AppendLine(); args.Append("--assetsDir " + cnfg.folder + u_other + "assets\\").AppendLine(); args.Append("--assetIndex 1.12.2").AppendLine(); args.Append("--width 854").AppendLine(); args.Append("--height 480").AppendLine(); args.Append("--tweakClass cpw.mods.fml.common.launcher.FMLTweaker"); Process.Start("javaw",args.ToString()); It turns out that such an error: Arguments used from here: (Link Removed) To whom I am interested, I write my launcher with the assembly of mods, I will be glad if you help:
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.