Jump to content
  • 0

modpacks disappeared?


2KDrop

Question

I logged onto technic launcher and had all the modpacks, disappear but the were still in the folder and had everything in them, but wouldn't show up.

i'm just wondering if this has happened to others? and how to fix it

Edited by 2KDrop
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  • Forum Administrators
5 hours ago, 2KDrop said:

I logged onto technic launcher and had all the modpacks, disappear but the were still in the folder and had everything in them, but wouldn't show up.

i'm just wondering if this has happened to others? and how to fix it

Easiest way is to just reinstall the modpacks. This shouldn't touch your saves.

 

Another way is to reconstruct the installedPacks json file located at the root of the technic install directory. Basically open it up in a text editor. Copy and paste the first object in "installedPack" a few times. Now open up your modpack directory in your file browser. Copy each of their names into seperate objects that you just copied to replace the info in there. Set all the builds to "recommended", set each "name" key to the name of the folder. Change the "directory" key to "%MODPACKS%\\<modpack-folder-name-here".

Then skip down to the "byIndex" array. Add a new string to the array for each folder name.

Examples:

Broken installedPacks:

{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    }
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
  ],
  "selected": "hexxit"
}

Copied the first installed pack object to create a few placeholders:

{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
  ],
  "selected": "hexxit"
}

Modpack folders:

hexxit, some-modpack, testing-1-2-3, my-awesome-modpack, tekkit-legends, to-the-moon-and-back

 

Fixed installedPacks file:

{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    },
    "testing-1-2-3": {
      "name": "testing-1-2-3",
      "build": "recommended",
      "directory": "%MODPACKS%\\testing-1-2-3"
    },
    "my-awesome-modpack": {
      "name": "my-awesome-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\my-awesome-modpack"
    },
    "tekkit-legends": {
      "name": "tekkit-legends",
      "build": "recommended",
      "directory": "%MODPACKS%\\tekkit-legends"
    },
    "to-the-moon-and-back": {
      "name": "to-the-moon-and-back",
      "build": "recommended",
      "directory": "%MODPACKS%\\to-the-moon-and-back"
    },
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
    "testing-1-2-3",
    "my-awesome-modpack",
    "tekkit-legends",
    "to-the-moon-and-back"
  ],
  "selected": "hexxit"
}

 

Link to comment
Share on other sites

  • 0
19 hours ago, Lord Ptolemy said:

Easiest way is to just reinstall the modpacks. This shouldn't touch your saves.

 

Another way is to reconstruct the installedPacks json file located at the root of the technic install directory. Basically open it up in a text editor. Copy and paste the first object in "installedPack" a few times. Now open up your modpack directory in your file browser. Copy each of their names into seperate objects that you just copied to replace the info in there. Set all the builds to "recommended", set each "name" key to the name of the folder. Change the "directory" key to "%MODPACKS%\\<modpack-folder-name-here".

Then skip down to the "byIndex" array. Add a new string to the array for each folder name.

Examples:

Broken installedPacks:


{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    }
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
  ],
  "selected": "hexxit"
}

Copied the first installed pack object to create a few placeholders:


{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
  ],
  "selected": "hexxit"
}

Modpack folders:

hexxit, some-modpack, testing-1-2-3, my-awesome-modpack, tekkit-legends, to-the-moon-and-back

 

Fixed installedPacks file:


{
  "installedPacks": {
    "hexxit": {
      "name": "hexxit",
      "build": "2.0.1c",
      "directory": "%MODPACKS%\\hexxit"
    },
    "some-modpack": {
      "name": "some-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\some-modpack"
    },
    "testing-1-2-3": {
      "name": "testing-1-2-3",
      "build": "recommended",
      "directory": "%MODPACKS%\\testing-1-2-3"
    },
    "my-awesome-modpack": {
      "name": "my-awesome-modpack",
      "build": "recommended",
      "directory": "%MODPACKS%\\my-awesome-modpack"
    },
    "tekkit-legends": {
      "name": "tekkit-legends",
      "build": "recommended",
      "directory": "%MODPACKS%\\tekkit-legends"
    },
    "to-the-moon-and-back": {
      "name": "to-the-moon-and-back",
      "build": "recommended",
      "directory": "%MODPACKS%\\to-the-moon-and-back"
    },
    
  },
  "byIndex": [
    "hexxit",
    "some-modpack",
    "testing-1-2-3",
    "my-awesome-modpack",
    "tekkit-legends",
    "to-the-moon-and-back"
  ],
  "selected": "hexxit"
}

thanks

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...