Godot-Project-Builds icon indicating copy to clipboard operation
Godot-Project-Builds copied to clipboard

Add cli parameter for loading different projects file

Open Fox-Alpha opened this issue 1 year ago • 4 comments

New PR with Engine Version 4.3 stable For PR #21

Adding a new Parameter for CLI starting.

Reason: I use different Engine Versions, latest Stable and latest Dev / RC for example

I am using the self contained mode with the ._sc_file in the engine directory. See Engine Documentation: https://docs.godotengine.org/en/4.3/tutorials/io/data_paths.html#self-contained-mode

With this addition it is possible to get different project list --projects-file-path [PathToEngine]\editor_date\projects.cfg

Please ignore the .CMD File. It is my local export / Build script before i found your project. I have use it to build one exorted Version from your source. Because your last release is 4 month old.

I have added a short description to the readme.

I have commented the source for better understanding

First PR without Button for manually loading projects.cfg. It will follow.

Fox-Alpha avatar Dec 23 '24 13:12 Fox-Alpha

And now with file selection and reload list Shows Message if the provided or default projects.cfg is not found

Fox-Alpha avatar Dec 23 '24 15:12 Fox-Alpha

Trying to manually input in the custom cfg field crashes the engine.

Please ignore the .CMD File.

I can't ignore it if it's part of the pull request. It should be removed.

KoBeWi avatar Dec 26 '24 11:12 KoBeWi

Hi @KoBeWi

sorry for the long delay. I think i have fixed the crashed. It works now for me.

Can you verify that ?

Kind regards Fox

Fox-Alpha avatar Jan 14 '25 10:01 Fox-Alpha

Yes, the crash is fixed. But it would be nice if you didn't modify DirectorySelector for that. You can instead check in _on_custom_projects_submitted() whether the path points to cfg file and return if it doesn't.

KoBeWi avatar Jan 14 '25 13:01 KoBeWi

Superseded by d31f2e244c01eee6e495b4574d1060ec91816cd6 Thanks for the contribution.

KoBeWi avatar Jul 28 '25 12:07 KoBeWi