Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import instances and modpacks (for example from zip files) #366

Closed
Kashdeya opened this issue Jul 14, 2014 · 4 comments · Fixed by #781
Closed

Import instances and modpacks (for example from zip files) #366

Kashdeya opened this issue Jul 14, 2014 · 4 comments · Fixed by #781
Assignees
Labels

Comments

@Kashdeya
Copy link

It would be great to be able to import a modpack/instance. This would make it easier for modpack dev teams to work together and be able to share the same modpack.

@peterix
Copy link
Member

peterix commented Jul 14, 2014

I agree. However, there are multiple good solutions for that, outside MultiMC, that integrate well with MultiMC.

Just off the top of my head:

  • version control systems. You can have the instance in git for example. With the big mod jar files, the repo won't be small, but it's a workable solution. If you add git annex for the large mod files, you have an efficient solution.
  • A batch/shell script that synchronizes with a remote server (ghetto solution). 'rsync' is a thing :)
  • Whole instance in dropbox or network share mounted into the instances folder.

Not saying we won't do it in some form or another, integrated into the MultiMC UI. However, collaboration options are there if you look for them.

Point is: an instance is just a folder with files. Getting a zip should be as easy as 'right click -> make zip' in your file manager of choice.

@peterix peterix changed the title zip import Import instances and modpacks (for example from zip files) Jul 22, 2014
@DusteDdk
Copy link

I'd like to add my 5 cents, as I was going to add a feature request, but searched if anyone already suggested something similar.
Instead of a zip, it'd be kind of neat if one could create modpack lists instead, something like a simple text or json file that listed urls (and associated hashes for the packages) for the mods, and (optional) payloads, like config files.

The format might look like:
modUrl: http://thatsite.tld/path/to/mymod.jar 3b5fee5885515fa6fd5034242034ecdd
modUrl: http://thatsite.tld/path/to/mymod.jar 3b5fee5885515fa6fd5034242034ecdd
modUrl: http://thatsite.tld/path/to/mymod.jar 3b5fee5885515fa6fd5034242034ecdd
confUrl: http://thatsite.tld/path/to/mymod.conf 3b5fee5885515fa6fd5034242034ecdd
confUrl: http://thatsite.tld/path/to/mymod2.conf 3b5fee5885515fa6fd5034242034ecdd
AND OR
confTxt: forge.cfg "Some
text
here"
AND OR
confTxt: forge.cfg "some\nText\nhere"

One could then under under the edit instance tab, click "add modpack" where one could either browse for the txt file, or simply copy/paste it into a text window (for easier distribution of modpacks via forums without the need for external filehosts). MMC would then download and check hashes before moving files to the instance/name/minecraft/{mods,config} dir

Additionally, one could add parameters like:
updateCheck: http://thatsite.tld/path/to/mymod.version
version: 0.1
and MMC could automatically check and ask if you want to update.

Another great thing about modlists is that they'd work well with git.

I believe I'd be qualified to implement such a feature, let me know what you think.

@Loetkolben
Copy link
Contributor

@DusteDdk As jar as I've understood QuickMods, it does similar things and @02JanDal has already a specification for it (https://02jandal.github.io/QuickModDoc/qm_spec.html). However, I'm not sure what the current state of implementaion is? jan?
EDIT: petrix just told me in IRC that QuickMods is "stalled/undead" and jan says it's "being half worked on" and he would be working on a new approch. We'll have to see how it works out...

@DusteDdk
Copy link

@Loetkolben ah, I see! In that case, it will be interesting to see if anything comes up :)

@02JanDal 02JanDal self-assigned this Feb 12, 2015
02JanDal added a commit that referenced this issue Feb 19, 2015
Also removed the in-source QuaZIP in favour of upstream version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants