chickensoft-games / GodotEnv

Manage Godot versions and addons from the command line on Windows, macOS, and Linux.
https://www.nuget.org/packages/Chickensoft.GodotEnv/
MIT License
333 stars 17 forks source link

Feature Request: Add support for downloading build tools like rcedit #83

Open donovani opened 4 hours ago

donovani commented 4 hours ago

Looking into exporting with Godot and it seems there's a decent amount of manual steps and environment-specific programs involved. The most notable of these that comes to mind is needing rcedit to fully modify Windows exports - which needs to be run on wine if exporting projects on a Mac or Linux. For basically required path in in Editor Settings > Export, it feels like there's no tooling available to set this up quickly on any environment.

I think it would be a great if GodotEnv support downloading/linking to these dependencies.

How it could work:

How the command could look:

# Installs all necessary build tools as listed above
godotenv build-tools install

How the files could be structured:

bin/
  rcedit/.          (symlinked build tool)
    rcedit.exe
  wine/             (symlinked build tool)
    wine.dmg
    other-files.txt
addons/
  .editorconfig
  example-addon/    (symlinked addon)
    plugin.cfg
    other-files.txt
donovani commented 2 hours ago

I've also opened a Godot feature proposal for this. Feel free to provide any feedback to it if you think it'd help discussion around it. There's potentially a case for this funtionality to just be built into the engine like it is for Export Templates and FBX2GLTF.

That said, I think it might still be valuable if GodotEnv managed it as well, but open to hearing thoughts on what this looks like in a perfect world.