A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt.
GPL-3.0 License
Bot releases are visible (Hide)
Published by mindstorm38 almost 3 years ago
json_request
method to a common http_request
function and added it to __all__.
libraries.minecraft.net
maven server.DownloadList.download_files()
when non-OK HTTP status code was returned.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 almost 3 years ago
--timeout <seconds>
is available to change how the launcher (and addons) should handle timeout on some requests. Launcher and addons are free to use or not this argument.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 almost 3 years ago
portablemc
and portablemc.cli
directly from add-ons. Add-ons should now define all functions/classes directly in the module, and no longer the load() function. This works for both PIP-installed and single-script versions of PMC. All add-ons have been updated.get_addon_mod
in CLI module to directly get the module of an add-on by its name.AuthSession
no longer requires the legacy_filename
argument, none by default.--no-old-fix
argument has been moved.id
to the real name of the version's directory.jvm
arguments into the generated version metadata.MicrosoftAuthSession.authenticate_base
to handle error in Microsoft OAuth request in case of token refreshing with an invalid token.DownloadList.reset()
, count
and size
were not reset to 0.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 almost 3 years ago
portablemc modr -h
).format_number
function in the CLI used to add suffixes (k, M, G) to a number to shorten it), the format_bytes
function now use it.ellipsis_str
function to add ellipsis to a string if it exceeds a given size.DownloadList
, entries with no size are updated with the downloaded size after downloaded, it allows seeing the real total downloaded size after a download.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
portablemc login [...]
sub command with a non-existing working directory, this directory is now created.clientid
and xuid
replacement variables and arguments for 1.18 version manifests (#41).PMC_ADDONS_PATH
environment variable that can be used to specify multiple directories where to include add-ons. To specify multiple directories, use an adequate path separator (;
for windows, :
for unix). You can check add-ons directories using portablemc addon dirs
.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
release
or snapshot
, in these cases the launcher requires an internet connection).# encoding: utf8
to # encoding: utf-8
, this was crashing with my python 3.6 install.java
(unix) or javaw.exe
(win) executables are missing from the JVM installation.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
utf8
to utf-8
because of an issue with python 3.6 (at least).-m
(--microsoft
) without -l
(--login
) on start
sub command (#31).To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 about 3 years ago
coderpack
and scripting
were removed and add-ons richer
was renamed to console
, and fabric add-on was renamed to fabric
.--anonymise
to start
sub command in order to partially hide the email in output.archives
to start older version from Omniarchives' archives.To install PortableMC, please read this repository README, the single-file script is available below in the portablemc-single
archive.
Published by mindstorm38 over 3 years ago
-m
argument for authentication-related commands, check README for more information (#13).--jvm
argument, an official Java version is installed and run the game (distributed by Mojang).--work-dir
is now available in the main command instead of start
subcommand (#11).scripting
package is no longer distributed as it need too much work to test against newer launcher versions, and is reversed for specific needs.PortableMC
class to include CorePortableMC
.portablemc_1.1.4_standard.zip
: The standard one-script launcherportablemc_1.1.4_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.4_modloaders.zip
: Same as richer
package with additional add-ons for each supported mod loaders (currently, only FabricMC is supported and is properly working)Published by mindstorm38 over 3 years ago
This version is a pre-release, you might encounter many bugs. To report issues, create an issue on the issues board. If this problem is related to upcoming features or fixes, please comment in the related issue thread. Thank you for your support!
portablemc_1.1.4-pre2_standard.zip
: The standard one-script launcherportablemc_1.1.4-pre2_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.4-pre2_modloaders.zip
: Same as richer
package with additional add-ons for each supported mod loaders (currently, only FabricMC is supported and is properly working)Published by mindstorm38 over 3 years ago
-m
argument for authentication-related commands, check README for more information (#13)--jvm
argument, an official Java version is installed and run the game (distributed by Mojang)--work-dir
is now available in the main command instead of start
subcommand (#11)scripting
package is no longer distributed as it need too much work to test against newer launcher versions, and is reversed for specific needsThis version is a pre-release, you might encounter many bugs. To report issues, create an issue on the issues board. If this problem is related to upcoming features or fixes, please comment the related issue thread. Thank you for your support!
portablemc_1.1.4-pre1_standard.zip
: The standard one-script launcherportablemc_1.1.4-pre1_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.4-pre1_modloaders.zip
: Same as richer
package with additional add-ons for each supported mod loaders (currently, only FabricMC is supported and is properly working)Published by mindstorm38 over 3 years ago
pip install ...
.portablemc_1.1.3_standard.zip
: The standard one-script launcherportablemc_1.1.3_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.3_modloaders.zip
: Same as richer
package with additional add-ons for each supported mod loaders (currently, only FabricMC is supported and is properly working)portablemc_1.1.3_scripting.zip
: A work-in-progress remote java reflection add-on for live interaction with Minecraft through a Python APIPublished by mindstorm38 over 3 years ago
coderpack
add-on used to decompile Minecraft using official mappingsmodloader_fabric
add-on used to download and start fabric mod loader automaticallyportablemc_1.1.2_standard.zip
: The standard one-script launcherportablemc_1.1.2_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.2_modloaders.zip
: Same as richer
package with additional add-ons for each supported mod loaders (currently, only FabricMC is supported and is properly working)portablemc_1.1.2_scripting.zip
: A work-in-progress remote java reflection add-on for live interaction with Minecraft through a Python APIPublished by mindstorm38 over 3 years ago
addons
directoryportablemc_1.1.1_standard.zip
: The standard one-script launcherportablemc_1.1.1_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.1_scripting.zip
: A work-in-progress remote java reflection add-on for live interaction with Minecraft through a Python APIPublished by mindstorm38 over 3 years ago
portablemc_1.1.0_standard.zip
: The standard one-script launcherportablemc_1.1.0_richer.zip
: Standard PortableMC with the "richer" extension, this extension adds better progress bar for downloads and a command line application for the game's process outputportablemc_1.1.0_scripting.zip
: A work-in-progress remote java reflection add-on for live interaction with Minecraft through a Python API