fn2006 / PollyMC

DRM-free Prism Launcher fork with support for custom auth servers.
GNU General Public License v3.0
744 stars 48 forks source link

More a question than a bug but it's about launching minecraft #126

Open gameplayoffert opened 6 months ago

gameplayoffert commented 6 months ago

My question is about this launcher and how the launching system work, atm i'm trying to reverse engineer all classes inside this repository because i'm a little bit annoyed about how this software start minecraft. Can you tell me what it use to start minecraft ? Because the command line used is not the full one, it start something before and is able (i never seen that before) to pass args like username directly to minecraft without starting it. Sadly with every class, i'm not really able to find where minecraft is started but i'm sure that it's not started using the "javaw" because the command line is not working, but when i use for example "Legacy Launcher" or even the MDK inside eclipse, the command line is always full and is the only thing you need to start it. So how this software start minecraft, it seems to call a .jar "prismlauncher" where the code is posted here too.