• Godot Help
  • Open projects with correct Godot version (3 or 4) (WIN 10)

Hello, This may sound silly but can a Godot project be set so the correct program version will open it?

I'm leaning v4 but often need to open v3 project as a learning guide (mostly coding). Right now I set v4 as primary program to open project.godot and when I need to open v3 project I "right click" then "open with". But then the Icon and "Godot Engine" name are the same for both versions so I have to remember the version I open last so I can choose the other.

If only they update their version 4 robot Icon it would be so much easier, maybe stick a 4 on its forehead or something 😆

Not as far as I am aware. I have desktop shortcuts for the different versions installed and just use the projects manager to pick projects to open.

In theory one idea would be to create a special launcher(unless someone has already, I haven't looked it up) that maybe could try to determine if the projects file is for version 2, 3, 4 etc. that would then try and open the project with the respective version. Such a launcher could even be possibly created as a godot project itself. 🙂

    Megalomaniak I would use the project manager but don't you run into the problem of its scanner keep piling up projects regardless of which folder you choose to scan? I make a lot of small test projects so this type of scanner is not good for me.

    I have all my 3.0 projects respective folders within a folder titled godot 3 and all my 4.0 projects folders within one titled godot 4. It hasn't been a problem for me since I've changed to this hierarchy. But yeah, ideally I'd like to have 3.2, 3.3, 3.4 etc. folders. But that wouldn't work.

    Your best bet is to use the project manager that opens when you open the engine. Go into the editor settings and set the default project directory to a different folder for each version, e.g. Projects/Godot3 and Projects/Godot4. Then just add the two editor icons on the task bar and open the one you want. You can change the icon (that is what I did) so it's less confusing.

    Thanks all but after trying Project manager again I still think doubleclick or right click open as are quickest and easiest when you need to open/close many small projects often. I'm only learning Godot right now so I guess just have to get used to it.

    ps - I found this godot icon changer. Does it change the actual Godot App icon or the game made by it? Anyone know?

      Megalomaniak
      Yep, that wouldn't be hard.
      The project.godot files have a version field. Although it's only for major versions (Godot 3.x uses version 4, Godot 4.x uses version 5). So it wouldn't be able to choose between 3.4.3 and 3.5 for example.
      (Technically it's the version of the configuration files, not the editor, but it lines up with the versions I tested)

      Visual Studio has it's Version Selector app that does similar.

      Gowydot ps - I found this godot icon changer. Does it change the actual Godot App icon or the game made by it? Anyone know?


      How to use it

      Workflow is very simple. If you have only one png prepared
      run first script in command line like this:

      godot -s CreateIcon.gd customized.ico customized.png

      Call it like this when you have six required resolutions:

      godot -s CreateIcon.gd customized.ico customized1.png customized2.png ...

      Then use created icon with your exported project:

      godot -s ReplaceIcon.gd customized.ico MyProject.exe

      Exported project.

        Megalomaniak
        Thanks, I'm a bit surprise adding your game icon was not already an export option within Godot. (But I'm not planning to export anything now so it doesn't matter to me yet)

        Anyway I probably messed up something and now Godot 3.5 no longer open any gd3 projects 🥲 It just open the Project Manger and when double click or use edit button the pop up says "the proj isn't associated with any version and it will use the appropriate version to open, are you sure to do this? (etc..)". And when I say yes the Godot Splash screen opens up then closes and I'm back at the Project manager. When I tried my Right Click "open as" on the project it just goes to Project manager too. (I tested with newly duplicated gd3 project each time and double check the manager version numbers)

        The Godot 3.2 can still open my version 3 projects, but it leads me to another confusion lol. After I downloaded ver. 3.5 I changed my Godot 3.2 folder name by adding "xxx" in front as I no longer plan to use it (eg. exe folder name is now "xxxGodot_v3.2.3-stable.." but somehow right click a project then "open as" and I can still choose (by guessing on list of recent apps) Godot3.2 to open it. Maybe the .exe is embedded somewhere in my comp now or something.

        I don't know anymore 😄 I will go back and use 3.2 along with 4 and just move on with my learning.