#Is there a way to make Starbound's workshop uploader exclude folders when uploading a mod?

12 messages · Page 1 of 1 (latest)

hasty hinge
#

I keep backups of some of my mods on GitHub, but a consequence of that is .git folders that can get absurdly large and bloat their size. The current workaround I use involves copying the contents of a mod (excluding .git) into a separate folder and then using that folder in the uploader. This is not only a little inconvenient but also leaves room for errors like using an outdated _metadata file in the source code version of my mod (or possibly even copying .git by accident). I would like to ask if there is a way I can automatically exclude the .git folder when using Starbound's workshop uploader (and also the built-in asset packer) to make my mod updating process a bit less inconvenient.

long surge
#

the asset packer Can excldue files but i dont think the workshop uploader can

hasty hinge
#

how

long surge
#

i need to find it because its not really documented anywhere lol

#

give me a bit

#

asset_packer.exe -c configfile.json modfolder modpak.pak

{
  "extensionOrdering": []
  "globalIgnore": [
    "\\.item$",
    "/meow.config"
  ]
}
#

im not entirely sure how the globalIgnores work .figure it out

hasty hinge
#

thanks

long surge
#

the mod uploader source code is in the leak weve GOTTA start modding the uploader

fleet walrus
#

Idk if this helps since this method doesn't really exclude the folder, but at least the large .git folder won't be uploaded to the workshop

long surge
#

neat