BestOftheworld

Problems with version.json file

Recommended Posts

Hello Technic Forum,

 

This is my first time posting on a forum. But I'll get straight to my problem. I am making a custom modpack an a corresponding server with it. I noticed that my server was using quite a lot of RAM. But that is something I fixed with some Java Arguments. But that's not why I am here. My problem is when I go in a world, I experience some micro frame rate drops. And now there are few options:

 

1. My computer isn't strong enough to run it.

2. My Minecraft settings are set wrong.

3. I don't have the latest version of Java.

 

My answers would be:

 

1. My computer is definitely strong enough to handle Minecraft. Because I run programs like Cinema4d, Adobe Photoshop and FTB Direwolf20 1.6.4 at the same time with out any problem.

2. I tested with a lot of different settings, from Ultra high to Ultra low. And yes it improves the quality on Ultra Low, but it is still there.

3. I have a the latest JDK version of Java: JDK 7u60 (also checked that there is only one version installed).

 

So I think I will have to set some Java arguments containing permsize and such. On FTB that is easily fixed by going into options and set some Java arguments. But on Technic that is currently something else. I researched it on how to to it, but I haven't found some good documentation about it. So if you are able to point me to a good explanation on how to use the version.json file. Or you can explain to me how to set the java arguments into it. Then that would be awesome and great.

 

Kind regards,

BestOftheworld

 

Ps. I would wanna ask you not to ask for the link of the modpack, I don't wanna be mean or anything. But it is hidden currently for a reason. ;)

 

 

Share this post


Link to post
Share on other sites

Unless you are having trouble with the pack itself we have no need of your pack page link or API URL.

 

You need to edit the version.json file in your modpack.jar file. A version.json file with a setting for 256m of permgen space would look like this (at the top):

{
    "minecraftArguments": "--username ${auth_player_name} --session ${auth_session} --version ${version_name} --gameDir ${game_directory} --assetsDir ${game_assets} -XX:MaxPermSize=256m --tweakClass cpw.mods.fml.common.launcher.FMLTweaker",
    "libraries": [

The file can just be pulled out, edited and then placed back in the archive. Simply rename your modpack.jar to modpack.jar.zip, do the change and rename the file back to modpack.jar. No need to fully extract and recompress it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By princesschalia
      hey everyone this is my first time posting so hopfully i can do it right but basically im making a custom modpack for my boyfriend as a surprise so we can play together with all our favorite mods and ive encountered some problems which ive manged to fix myself but now i load into minecraft and theres no mods! its just vanillia ive tried so hard to make it work and i really want it to work becuase seeing the reaction of my boyfriend would be so sweet c,: any help will be greatly appricated thanks!
      https://www.technicpack.net/modpack/couplepack.1538467
      https://www.dropbox.com/home?preview=modpack.zip
       
       
    • By Dekasaurus
      Hey there, I am trying to put together a custom modpack for a group that has asked for one. Currently the mods list is 

      Bibliocraft, Chisel, CustomNPCS, Decocraft, MalisisCore, MalisisDoors, MorePlayerModels, MrCrayfishFurnitureMod, Pam's Harvestcraft, and WorldEdit.

      It has been installing just fine, but as soon as I try to launch it, it crashes. 
    • By PogiePogie
      My technic launcher won't load any textures in game 
       
    • By Leafzy
      hello lately when i wanna play a modpack it crashes it happens like this i can download every modpack no problem but when i click on play it loads en at the end of loading it stops  and crashes the modpacks just wont open i tried many things but nothing worked can somebody me pls 


      log files 
    • By TsE
      Hello, I have made a working modpack and then I wanted to add more mods so i updated it. After the update the error unzipping file error just popped up. Dont know how to fix this please help.