Commit graph

1262 commits

Author SHA1 Message Date
Trial97
83d82c2519
fix world import
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-30 23:52:48 +03:00
Octol1ttle
69fe3e3b1a
feat: warn user on launch if there is not enough available RAM
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-24 12:09:11 +05:00
Octol1ttle
838687fb2e
fix: log error if file open/commit fails
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-23 01:07:05 +05:00
Rachel Powers
731866c577
Overwrite component update task when it has different network mode (#5216) 2026-03-20 23:29:49 +00:00
DioEgizio
f945422246 fix: also export LIBGL_KOPPER_DRI2=1 on zink
fixes crashes on certain X11 systems

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-03-20 14:59:07 +01:00
Octol1ttle
cd006d642b
fix(PackProfile): overwrite update task when it has different network mode
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-19 10:54:15 +05:00
Alexandru Ionut Tripon
04786023b0
Some small cleanups (#4772) 2026-03-18 20:29:26 +00:00
Alexandru Ionut Tripon
c7d43f1685
Modrith api optional changelog (#5197) 2026-03-17 08:50:37 +00:00
Trial97
d3f8dfe65c
Updated Resource Pack Formats
superseeds #4242
also this adds support for min_format and max_format and the major.minor
versioning.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-17 00:40:49 +02:00
Rachel Powers
67fe365ae0
chore: clang-tidy work adjacent to changelog api fix
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:58:20 -07:00
Rachel Powers
e16235c1ca
fix: don't always ask for the changelog from modrinth
- per https://discordapp.com/channels/734077874708938864/974050507150729236/1461487847142985982

  `/project/<id>/version` now has an `include_changelog` query param
  which can be set to false to save oodles of bandwidth

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:57:35 -07:00
DioEgizio
1c92ef83e5
Log OS, CPU, RAM and GPUs on all systems (#5169) 2026-03-16 17:28:59 +00:00
Octol1ttle
d221a0a449
feat: print hardware information in launch log
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-16 15:04:46 +05:00
Alexandru Ionut Tripon
5772a8ac93
Reshuffle launch log (#5179) 2026-03-16 07:54:02 +00:00
Octol1ttle
fac0ad7493
feat: mark accounts with errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-15 16:07:55 +05:00
Octol1ttle
76bbd0f9ca
change: reshuffle launch log
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-15 02:03:49 +05:00
Trial97
56936cf485
fix zip path traversal
this makes sure that the file is in the given root

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-10 09:26:12 +02:00
Alexandru Ionut Tripon
9dcb5b7da4
fix %INST_JAVA% incorrect path format on windows (#5072) 2026-03-09 20:22:25 +00:00
Seth Flynn
352b98db8e
Enable warnings as errors (#5101) 2026-03-06 07:42:39 +00:00
Alexandru Ionut Tripon
b114d043f6
Use an owning QByteArray in ByteArraySink (#5050) 2026-03-02 16:53:22 +00:00
Octol1ttle
eda4592f19
Fix implicit fallthrough
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:12 +05:00
Octol1ttle
ec4b36b299
Fix compiler warnings
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:11 +05:00
Alexandru Ionut Tripon
eb26dcd516
fix: parse world_gen_settings.dat for seed (#5071) 2026-02-22 21:57:00 +00:00
Trial97
9d4bde7f96
fix tweakers
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-02-20 23:43:27 +02:00
deiseil
0a4427f9c3
fix %INST_JAVA% incorrect path format on windows
Signed-off-by: deiseil <32784127+deiseil@users.noreply.github.com>
2026-02-20 17:56:50 +01:00
Trial97
e0139185c8
fix: parse world_gen_settings.dat for seed
fixes #5064
Minecraft moved the world gen settins outside the level.dat file.
So now we need to check data/minecraft/world_gen_settings.dat for the
seed.
I did not bother with zip files(I did not even see the zip file in the
launcher so I will not bother with it)

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-02-20 15:28:15 +02:00
TheKodeToad
61d55b4223
fix crash with skin format (#5000) 2026-02-18 12:51:19 +00:00
TheKodeToad
316121ba8f
Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-18 00:31:05 +00:00
Alexandru Ionut Tripon
4a46726cc9
Don't manually format UUIDs (#5045) 2026-02-17 20:40:53 +00:00
Alexandru Ionut Tripon
71abf3beec
Download game files during instance creation (#4944) 2026-02-17 20:23:06 +00:00
Alexandru Ionut Tripon
2b84053011
Highlight resources incompatible with the Minecraft version (#5010) 2026-02-17 20:16:13 +00:00
Octol1ttle
d81fa77d1f
fix: don't manually format UUIDs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 01:14:35 +05:00
Octol1ttle
a9f3be9f45
refactor: LaunchController
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:30 +05:00
TheKodeToad
71278ff7ea
Add opt-in for showing mod incompatibilities
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:37:15 +00:00
TheKodeToad
b664846030
Allow multiple compat issues to be displayed, make game version incompat clearer
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:36:59 +00:00
TheKodeToad
6bbbfa06d1
Allow -Duser.language to be overriden
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:18:42 +00:00
TheKodeToad
9cb33b519f
Render incompatibility highlight and warning
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:57 +00:00
TheKodeToad
081d2f1e51
Reduce duplication in ResourceFolderModel subclasses
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:56 +00:00
TheKodeToad
e2d503456f
Detect resources incompatible with the MC version
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:38 +00:00
Trial97
fe5aee2619
fix crash with skin format
fixes #4994
All the formats lower than Format_Indexed8 will have less information
and can't be used directly.
Also added the check for alphaChannel check just to be sure.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-02-11 13:35:40 +02:00
Rachel Powers
45df360e4c
Reduce include chain further, forward declare settings and log model
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-09 20:03:10 -07:00
Rachel Powers
0ba2c09787
refactor(Application.h): reduce include chain
Include only what's absolutely necessary to reduce headers pulled into a
translation unit. If you need access to
instance's from `APPLICATION` include `BaseInstance.h` separately

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-09 19:16:58 -07:00
Rachel Powers
e8da9ee4fb
feat: Auto handle Http 429 Too Many Requests with retry
- Must be explicitly enabled for a request
- Uses Retry-After Header if present, falls back to exponential back off
  starting with 10 seconds
- if retry delay is greater than 1 minute or it retries more than 3
  times then fail with a "Rate Limited" reason
- Sets task status to inform user of retry.

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-06 09:36:09 -07:00
TheKodeToad
327a554d42
MangoHud: rename to LibraryUtils
It handles more than mangohud

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
248eb13ab9
Agent: Simplify and avoid unnecessary shared_ptr
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
77ebf65c7d
GradleSpecifier: use defaulted == operator
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
2f524c7a80
GradleSpecifier: directly initialise in constructor
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
eba6ffb37b
GradleSpecifier: Use std::optional instead of DefaultVariable
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
Octol1ttle
d35155ca66
change(accounts): stop retrieving Xbox API token for gamertag
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:30 +05:00
Octol1ttle
7bcd2dd768
fix: properly emit aborted instead of failed
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00