Skip to content

Truly portable / use custom modding framework jar #265

@ffafe5

Description

@ffafe5

Fabric offers this downloads page:

https://fabricmc.net/use/installer/

On it, it includes a link to a "universal jar":

https://maven.fabricmc.net/net/fabricmc/fabric-installer/1.1.1/fabric-installer-1.1.1.jar

My assumption is that when you give portablemc args asking to install a minecraft instance using a version of the fabric framework, portablemc does the following:

  • downloads the "universal jar" and then performs.... some kind of mysterious process to:
  • download the game files from microsoft, requiring OAuth authentication for portablemc to do so
  • modifies the microsoft game files using the "universal jar" and registers this with the .minecraft metadata
  • voila, there now exists a launchable modded version of minecraft (which portablemc can also invoke to launch the game)

My goal:

  • I want to package a "future proof" version of singleplayer minecraft so much as is possible, relying on as few web services as possible. This rules out mod managers eg modrinth. I want to come back in 20 years and say "yeah let's boot up that highly customized instance of MC on this new computer" and it Just Work (tm).
  • I've already created my own minecraft installer executable for private use, which packages portablemc and invokes the fabric version and whatnot and takes a pile of offline mod and config files and automatically merges them into the game directory. All of this is bundled into an exe file.

Issues / things that could enhance the portability:

  • Low priority: can the java executables required to run the game and any portablemc dependencies be provided by the user over command line, from a packaged portable instance? This would eliminate the web dependency on acquiring what will eventually be considered ancient java versions.

  • Medium priority: can the game files be provided in some legal way by the command line user of portablemc, such that the install can be completed first and then only have to authenticate with microsoft when first launching the installed instance? This would eliminate the web dependency on portablemc's OAuth details that you have registered with Microsoft. I understand the necessity to authenticate with Microsoft -- the goal is not to "crack" the game, but rather to not have it route through a PortableMC web page.

  • High priority: can the fabric loader "universal jar" be provided by the portablemc user over command line? This would eliminate the web dependency on the Fabric website.

I'm open to suggestions for entirely alternative solutions for my goal. Maybe I'm overcomplicating this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions