Giter VIP home page Giter VIP logo

Comments (3)

KANAjetzt avatar KANAjetzt commented on August 21, 2024

PCK versus ZIP pack file formats¶
Each format has its upsides and downsides. PCK is the default and recommended format for most use cases, but you may want to use a ZIP archive instead depending on your needs.

PCK format:

Uncompressed format. Larger file size, but faster to read/write.

Not readable and writable using tools normally present on the user's operating system, even though there are third-party tools to extract and create PCK files.

ZIP format:

Compressed format. Smaller file size, but slower to read/write.

Readable and writable using tools normally present on the user's operating system. This can be useful to make modding easier (see also Exporting packs, patches, and mods).
https://docs.godotengine.org/en/stable/tutorials/export/exporting_projects.html#pck-versus-zip-pack-file-formats

From the docs - so basically file size vs. loading speed.

from godot-mod-loader.

KANAjetzt avatar KANAjetzt commented on August 21, 2024

Can be packaged via GDScript, whereas ZIPs can't be. So if we develop tooling to package mods, they'll have to be PCK.

This can be circumvented by calling an "external" tool via OS.execute() to zip something inside a godot plugin.
This is currently used in the Plugin

The downside with that is, if you use a godot 4 .exe, you ship over 60 MB to zip some files.

from godot-mod-loader.

ithinkandicode avatar ithinkandicode commented on August 21, 2024

I'm gonna close this for now to declutter the issues. I think we decided to use ZIP, at least for now. It should help with integrations too so I think we're all good here 🤗

from godot-mod-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.