Gwindalmir / SEWorkshopTool

Tool which allows batch upload and download of mods for both Space and Medieval Engineers.
32 stars 16 forks source link

SEWorkshopTool is packaging ignored directories but as empty paths #45

Open highlyunavailable opened 11 months ago

highlyunavailable commented 11 months ago

I have a .wtignore using the defaults + a couple things that is packaging directories like .git, .vs, bin, and obj. This also happens with a completely stock .wtignore.

The directories are empty, but still present in the packaged mod.

App version: SEWorkshopTool 0.7.18-alpha+2f2c8574ef35eafbc75523c15e1c66e1df7b64b3

Log: SpaceEngineersModTool_20231104_200023782.log

Additions to stock .wtignore:

*.sln
*.csproj
*.md
STEAM.bbcode.txt

Mod dir: image

Resulting output dir on Steam: image

Gwindalmir commented 11 months ago

Have you tested by uploading from the game itself?

The game code handles the packaging, and as I originally noted at https://github.com/Gwindalmir/SEWorkshopTool/commit/35ed6668b6ea965dadc9ca86335d6396629b848b#diff-7a9eeb030465159b5c00f6c3dedd6bed9be9e76200d1597d25c11bf9341cbdd8R826 for #37, empty folders aren't supposed to be copied.

I suspect something changed recently in SE, possibly to fix the original issue where not having a Data directory would cause the game to fail to load if the mod was used.