rpfm icon indicating copy to clipboard operation
rpfm copied to clipboard

Add ability to provide rpfm_reserved files or options when creating or adding to a pack using rpfm_cli

Open ilia-r-s opened this issue 2 years ago • 2 comments

Possible usage example: rpfm_cli --game empire pack create -p my.pack --settings settings.rpfm_reserved.json --notes notes.rpfm_reserved.md

ilia-r-s avatar Oct 05 '23 13:10 ilia-r-s

It already should work adding them as normal files. It's just the added files do not show up as files.

Frodo45127 avatar Oct 05 '23 20:10 Frodo45127

I see. This part, indeed, works. However, my concern is, when you add a folder using cli, the files which are marked to be ignored in the settings are imported anyway.

An example of what I do:

rpfm_cli --game empire pack create -p my.pack
rpfm_cli --game empire pack add -p my.pack -f tgg_core/settings.rpfm_reserved.json
rpfm_cli --game empire pack add -p my.pack -F tgg_core

compile.sh file is listed to ignore in settings.rpfm_reserved.json, but is imported anyway.

ilia-r-s avatar Oct 06 '23 20:10 ilia-r-s