Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add the ability to specify a prefix to PCK content #8

Closed
DmitriySalnikov opened this issue Nov 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DmitriySalnikov
Copy link
Owner

DmitriySalnikov commented Nov 16, 2023

Feature description

This can be useful when developing mods/addons in the form of separate PCKs for released games, so that you do not have to save the directory structure in the file system. Or you can specify only one of the directories inside the mods SDK.

C:\Game\SDK

C:\Game\SDK\project.godot
C:\Game\SDK\icon.png
C:\Game\SDK\Mods\Base\icon.png
C:\Game\SDK\Mods\Base\mod.json
C:\Game\SDK\Mods\MyMod\icon.png
C:\Game\SDK\Mods\MyMod\mod.json

Using the prefix, it will be possible to specify the root directory for packing C:\Game\SDK\Mods\MyMod, and the prefix Mods\MyMod\.

res://Mods/MyMod/icon.png
res://Mods/MyMod/mod.json

Without the prefix, it would look like this:

res://icon.png
res://mod.json

Or required specifying the root C:\Game\SDK and removing all unnecessary files from the packing list.

Implementation Ideas

Add a prefix TextBox to the packing window.


Based on a comment by ArcturusForge from itch.io

@DmitriySalnikov DmitriySalnikov added the enhancement New feature or request label Nov 16, 2023
DmitriySalnikov added a commit that referenced this issue Jan 21, 2024
Fixed a bug with duplicate files that was found in `Window kill`
DmitriySalnikov added a commit that referenced this issue Apr 17, 2024
Fixed a bug with duplicate files that was found in `Window kill`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant