aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/MinecraftInstance.cpp
AgeCommit message (Collapse)Author
2023-04-26Fixed typoJapa
Signed-off-by: Japa <japa4551@protonmail.com>
2023-04-21Update launcher/minecraft/MinecraftInstance.cppJapa
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Japa <japa4551@protonmail.com>
2023-04-21Update launcher/minecraft/MinecraftInstance.cppJapa
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Japa <japa4551@protonmail.com>
2023-04-21Instance Description displays the last launch dateJapa
Initial Draft using the Standard C++ Library, still requires testing. Signed-off-by: Japa <japa4551@protonmail.com>
2023-02-13do not create nilmods folderkumquat-ir
"it cant be that easy" - me, clueless Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-11nilmods instance pagekumquat-ir
mostly copied from the coremod page impl Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-04ensure command env vars use native path seperatorsRachel Powers
fix #824 Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-02Allow selecting a default account to use with an instanceAaron
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
2022-12-11chore: replace naive mangohud preload with vklayer detectionJan200101
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-12-08fix: re-add LD_LIBARY_PATH to mangohudJan200101
Upstream officially supports the use of $LIB/mangohud/ Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-11-28fix: don't disable interaction on non-mod models when inst. is runningflow
It is still useful for mods though, since we don't wnt to allow disabling mods when the instance is running, as that wouldn't affect the running instance, possibly causing confusion Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-19Merge pull request #291 from TheKodeToad/betterjavalauncherSefa Eyeoglu
2022-11-08A lot more cleanupTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Remove arguments being passed twiceTheKodeToad
Passing the classpath into stdin has no effect. Java is already provided the classpath with -cp, which pretty much takes up the largest part of the arguments anyway, which leads me to wonder, what's the point of stdin arguments at all? Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Various tweaks to the Java component of the launcherTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-04refactor: move MMCStrings -> StringUtilsflow
General utilities can go in here >:) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: introduce RuntimeContextSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: register JavaRealArchitecture for MinecraftInstanceSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20Merge pull request #1150 from flowln/fix_crash_on_game_quittxtsd
2022-09-16fix: prevent deletes by shared pointer accidental creationflow
This fixes the launcher crashing when opening the game :iea: Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15fix: enable demo launch only on supported instancesflow
e.g. >= 1.3.1 instances Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-05Merge pull request #1111 from PolyMC/revert-1067-classpath-epicnessSefa Eyeoglu
2022-09-05Merge pull request #1034 from Scrumplex/detect-performance-featuresSefa Eyeoglu
2022-09-05Revert "Move classpath definition into NewLaunch itself"Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-31Merge pull request #1067 from Scrumplex/classpath-epicnessflow
Move classpath definition into NewLaunch itself
2022-08-20refactor: adapt rest of the codebase to the new resource modelflow
In order to access the ModFolderModel from the ModFolderPage, i created a new m_model for the correct type, shadowing the m_model of type ResourceFolderModel. This creates two shared_ptr references to the same object, but since they will have the same lifetime, it doesn't generate a memory leak. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: move general info from Mod to Resourceflow
This allows us to create other resources that are not Mods, but can still share a significant portion of code. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20Merge pull request #878 from flowln/lazy_settingsSefa Eyeoglu
2022-08-18refactor: move classpath definition into NewLaunch itselfSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-08fix: don't apply GameMode/MangoHud, if they aren't supportedSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-08refactor: don't include mangohud's library pathSefa Eyeoglu
This could cause issues on some environments. Users should just put MangoHud libs into global LD_LIBRARY_PATH, just like with any other library Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-22change: unicode chars for folders and disabled mods in mod listflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-22fix: use single-space unicode char for checkmark in mod listflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: make Mod a QObject used as a pointerflow
Prevents problems when copying it around! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-12fix: move time record overrides to BaseInstanceflow
This is needed so that we can show time stats in the UI without having to load all type-specific settings, which would make all the previous changes useless :c This is apparently done with console settings too, so I don't think there's a problem doing this too :> Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-06feat: lazy-load MinecraftInstance settingsflow
Makes the startup go fast! vrum Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-06change: put settings initialization in a separate functionflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-06Merge pull request #707 from Jan200101/PR/gamemodeSefa Eyeoglu
Add Performance related settings
2022-07-06Add Performance related settingsJan200101
Integrates support for Feral Gamemode, discrete GPU support for Mesa and the proprietary Nvidia driver and MangoHud support Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-07-02Merge pull request #864 from ivanpu/uncensored-offlineflow
Don't censor "offline" word when that's the access token
2022-07-02don't censor offline access tokenIvan Puntiy
2022-06-30Remove redundant type name from status barKenneth Chew
The type name is always "Minecraft", so it showed "Minecraft X.X.X (Minecraft)"
2022-06-30Fix Minecraft version not appearing in status barKenneth Chew
2022-06-12refactor(test): fix loading mod metadata settingSefa Eyeoglu
2022-06-11Merge pull request #709 from Scrumplex/fix-instancetypesSefa Eyeoglu
Always store InstanceType
2022-06-04fix: always store InstanceTypeSefa Eyeoglu
2022-05-23refactor: abstract metadata handling and clarify namesflow