This repository has been archived on 2020-03-22. You can view files and clone it, but cannot push or open issues/pull-requests.
ThatMinecraftLauncher/lib/launcher/python
LinuxMint4Ever 00cfdae466 some functions implemented 2019-10-16 22:44:34 +02:00
..
runtime This is not worth a description. 2019-10-06 22:54:01 +02:00
README.md fixed syntax 2019-10-12 06:46:49 +02:00
__init.py started implementation of mchandler.py and some testing 2019-10-12 11:58:46 +02:00
cfghandler.py most of the implementation for the config handler done 2019-10-12 06:40:18 +02:00
gui.py added placeholder files 2019-10-06 19:28:35 +02:00
mchandler.py some functions implemented 2019-10-16 22:44:34 +02:00
updater.py added placeholder files 2019-10-06 19:28:35 +02:00
yggdrasil.py added something similar to a license 2019-10-08 03:27:37 +02:00

README.md

lib/launcher/python

Directories:

  • runtime will contain a python runtime

Files

  • gui.py will contain the GUI (Wow! Really?). The GUI will be accessed by main.py
  • mchandler.py will be the launcher library. This time, it will not be a runnable hybrid library
  • updater.py will be used for updating the mod pack and possibly the launcher as well
  • cfghandler.py will deal with config files
  • yggdrasil.py is a nearly feature-complete Minecraft authentication library

TODO list

  • gui.py
    • add a function to open the GUI
    • add functions for reading values from the GUI
    • add functions for writing values to the GUI
    • put the port of the GUI here or in a new file?
  • mchandler.py
    • add a launch function using the access token
    • add a function to verify a given access token
    • add functtions to pass configuration data
      • launch command (with escape sequences for non-static values (configuration and user data)
      • RAM amount
      • Game Directory
      • Additional arguments
      • Anything I may have forgotten
  • updater.py
    • add a function to determine whether updates are available
    • add a function to download updates
    • add a function to update the launcher
    • add a function to update the mod pack
    • add different types of updates
      • required launcher updates
      • required mod pack updates
      • optional launcher updates
      • optional mod pack updates
      • setup change updates (used to install/uninstall components)
    • add initial mod pack install by applying a setup change update main.py
  • cfghandler.py
    • provide read and write functions for config values
    • add a function to set the config file path
    • add functions to load and store the configuration to the file
    • implement functions for config updates
    • raise adequate exceptions where needed
  • yggdrasil.py
    • add a function to verify user credentials and get the access token
    • add a function to verify a given acces token