Commit graph

1235 commits

Author SHA1 Message Date
Alexandru Ionut Tripon
b114d043f6
Use an owning QByteArray in ByteArraySink (#5050) 2026-03-02 16:53:22 +00: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
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
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
Octol1ttle
aa9896031d
refactor(InstanceCreationTask): return created instance to caller
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:08 +05:00
Alexandru Ionut Tripon
083671e4b3
Improvements to ComponentUpdateTask (#4942) 2026-02-03 22:07:09 +00:00
Alexandru Ionut Tripon
131e8711aa
launcher/minecract/auth/AccountList.cpp: add missing QIcon include (#4956) 2026-02-03 21:59:41 +00:00
Octol1ttle
8e992a324c
change(AuthFlow): remove XboxProfileStep
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-03 21:28:44 +05:00
Octol1ttle
9fac7065a7
fix(XboxAuthorizationStep): set x-xbl-contract-version
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-03 21:26:18 +05:00
Alfred Wingate
8a53949f67
launcher/minecract/auth/AccountList.cpp: add missing QIcon include
In member function ‘virtual QVariant AccountList::data(const QModelIndex&, int) const’:
/var/tmp/portage/games-action/prismlauncher-9999/work/prismlauncher-9999/launcher/minecraft/auth/AccountList.cpp:331:35: error: incomplete type ‘QIcon’ used in nested name specifier
  331 |                     return QIcon::fromTheme("noaccount").pixmap(24, 24);
      |

Fixes: fc1e29111b
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2026-02-03 14:41:16 +02:00
Octol1ttle
02d1878a36
fix: manually copy task info when connecting
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:28:19 +05:00
Octol1ttle
a58e3049b9
change(ComponentUpdateTask): add status, details, and progress
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:27:10 +05:00
Octol1ttle
f007d90076
fix(ComponentUpdateTask): allow aborting
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:08:45 +05:00
Trial97
f943331e39
fix codeql
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-31 21:46:36 +02:00
Alexandru Ionut Tripon
ef1e35d585
Track dependencies in Mods page (#3738) 2026-01-31 20:28:01 +02:00
Alexandru Ionut Tripon
204f9c5d8e
Abort launch when there are libraries missing (#4899) 2026-01-30 13:10:46 +02:00
Octol1ttle
ffd1e7bc33
improve wording
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:54:02 +05:00
Octol1ttle
584dc47da5
chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Octol1ttle
193840b237
style: reorder includes
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 18:17:22 +05:00
Octol1ttle
d4817a5669
feat: abort launch when there are libraries missing
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 18:14:23 +05:00
Octol1ttle
665aa4c546
change(MSAStep): log server errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 17:11:30 +05:00
Octol1ttle
caec4ef96c
feat: allow overriding URL for downloading legacy FML libs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-27 19:26:02 +05:00
Octol1ttle
f0a17d82d9
refactor: FMLLibrariesTask -> LegacyFMLLibrariesTask
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-27 19:24:13 +05:00
Alexandru Ionut Tripon
7945a7c626
Make Minecraft resource URL override consistent with other overrides (#4860) 2026-01-27 14:04:24 +02:00
Octol1ttle
c6072ff434
fix(PackProfile): don't reset dirty if component list saving failed
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-26 21:53:51 +05:00
Octol1ttle
1cdddd93ad
style: don't use keyword as variable name
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-25 17:05:43 +05:00
Octol1ttle
3f0af19ed3
refactor: make Minecraft resource URL override consistent with other overrides
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-25 16:45:52 +05:00
Alexandru Ionut Tripon
1184a28a05
MSAStep: Tighten isSchemeHandlerRegistered check (#4841) 2026-01-25 10:28:13 +02:00
Alexandru Ionut Tripon
60a3745e50
Print custom environment variables during instance launch (#4832) 2026-01-22 22:49:33 +02:00
Alexandru Ionut Tripon
2554c37964
Add asserts to invalid Task states (#4835) 2026-01-22 22:40:43 +02:00
Alexandru Ionut Tripon
8abaea382d
Add missing returns after task signal activation (#4836) 2026-01-22 22:39:43 +02:00