Coder Social home page Coder Social logo

Comments (2)

AlexIIL avatar AlexIIL commented on August 21, 2024 1

From a technical perspective this is fairly simple - mods are zip files, just with a different file extension (.jar). In addition, we already have lots of code for extracting mods from within other mods (thanks to the JIJ system), so actually loading them would be fairly simple.

The question then is then should we support this, or do something other than ignoring them. For example we could show an error message if a zip is found, and looks like it might contain mods (either because it has a manifest.json file like curseforge modpacks do, or just contains lots of mod files inside of it).

(Original discussion is here: #38 (comment), for anyone curious).

from quilt-loader.

WanderingCat27 avatar WanderingCat27 commented on August 21, 2024

From a technical perspective this is fairly simple - mods are zip files, just with a different file extension (.jar). In addition, we already have lots of code for extracting mods from within other mods (thanks to the JIJ system), so actually loading them would be fairly simple.

The question then is then should we support this, or do something other than ignoring them. For example we could show an error message if a zip is found, and looks like it might contain mods (either because it has a manifest.json file like curseforge modpacks do, or just contains lots of mod files inside of it).

(Original discussion is here: #38 (comment), for anyone curious).

an error can be helpful altho im not sure how it would be handled. would it be a crash because the mod folder contains a zip file? what if the user just left the file in on accident after extracting. That might lead to more confusion rather than less. And if the warning would be designed for a non technical user to actually read it would need to be displayed in a very simple manner. many non technical users dont even read the crash logs and if they do sometimes it just is too overwhelming and comes off as gibberish. The zip file issue is not that hard to diagnose I find and is one of my go to questions when ppl have issues with mods (every technical issue is extra work tho still) so an error would only serve the user and only so far as the user actually reads it. I dont think an error imo would be necessary if the feature were not to be added cause im not exactly sure crashing over finding a zip is preferable to booting up and loading nothing or crashing from accidentally leaving the zip in the folder in what would have otherwise loaded up perfectly fine.

it might get confusing with curseforge modpacks. idk that ive seen a fabric server that uses curseforge modpacks for fabric only plain zips (not to say they rnt used ofc to be clear). I dont have a massive data set of servers ive been in maybe 10-20 tho so its only my personal experience for that respect and very well could be completely off. I just find the approachability of sticking mods into a zip to be greater than the current modpack format. I just think if quilt is going to be reworking the loader its a worthy addition. It is just one less step for the user.

from quilt-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.