aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod
AgeCommit message (Collapse)Author
2023-04-21Refator task to work with multiple providersTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Made some copy by referenceTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Small headers removalTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Semi fixed the Modrinth dependency implementationTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Tried to fix codeQLTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed headersTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21First working version with curseforge modsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-12Added task to load dependenciesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-11Added task to load local mod informationTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-03-20cleanup: code review sugestionsRachel Powers
clean up translation strings Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: typosRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: warnings when instance resources are linkedRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-02-22review fixeskumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-19fix metadata for mods with `.nilmod` extensionkumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-16minor cleanupkumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.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-12switch to qdcss for parsingkumquat-ir
make it not horrible to look at Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-11parse nil metadatakumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@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-24fix(ResourceFolder): don't create two smart ptrs for the same raw ptrflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-16Merge pull request #696 from Ryex/import-all-the-thingsSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/581 Fixes https://github.com/PrismLauncher/PrismLauncher/issues/700
2023-01-13fix: don't fail mod parsing when encountering invalid modListVersionflow
The spec (admitely a very old one) states that this entry should always have the value "2". However, some mods do not follow this convention, causing issues. One notable example is the 1.6 version of Aether II for 1.7.10, that has this value set at "5" for whatever reason. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-09chore: cleanup review suggestionsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-07feat: Import all the things!Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-07Merge pull request #576 from Ryex/identify-zip-packsSefa Eyeoglu
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
2022-12-30fix newlinesRachel Powers
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-30Merge pull request #626 from leo78913/mods-provider-columnflow
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
2022-12-29refactor: add an `identify` function to make easy to reuseRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-29refactor(Mods): make provider() return a std::optionalflow
This makes it easier to check if a mod has a provider or not, without having to do a string comparison. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-26fix: cleanup and suggested changesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-26Merge pull request #618 from TheKodeToad/safer-destructive-actionsSefa Eyeoglu
Fixes https://github.com/PolyMC/PolyMC/issues/948
2022-12-24feat: zip resource validation check for flameRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24fix: update parse testsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: validate world savesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: worldSave parsing and validationRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: add shaderpack validationRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: add a `ModUtils::validate`Rachel Powers
moves the reading of mod files into `ModUtils` namespace Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: add initial support for parseing datapacksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-16fix: translate unknown mod providerleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-15fix(ResourceModel): use a single ConcurrentTask for parsing tasksflow
This avoids creating a bunch of threads that fills up the maximum amount allowed by QThreadPool, and causes a deadlock between the helper threads and the main thread (main thread tries to create threads in painting code, but isn't able to, so it keeps waiting for a thread to free up, but all the threads are waiting on the main thread to process some events). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-15feat: add a provider column to the mods pageleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-14Improve handling of destructive actionsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-11Merge pull request #461 from flowln/fix_big_resource_pack_imgsflow
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/360
2022-11-27fix: check resource pack validity solely using pack formatSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-20fix: remove commented-out assertionsflow
They may not hold true at all times, and that's fine. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-20refactor: move RP/TP validation to their respective utilsflow
This makes it easier to validate individual resources, and allows the logic to be used in other places in the future, if we need to. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-19fix instance IDs and resource pack importsRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-19fix: add resource pack format for 1.19.3Ryan Cao
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-19fix: check if packFormat is valid for resourcepack parsingRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-19fix resource packs and add support for texture packsRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>