Automatic version selector for project.godot based on AHK script

Godot_Launcher.ahk - gist

How it works :

  1. First it will check res://.godot/last_runtime.txt, which records the last godot engine path. Plugin is required for this feature : Godot-Editor-Console
  2. If the above file does not exist, parse project.godot for version name (e.g. 4.1), is_mono etc.
  3. Then, this script scans C:\Softwares\GODOTS folder for all Godot shortcuts. you can define priority by modifying priorityList , so that if multiple candidates exist (e.g. 4.1, 4.1.3), the desired one will be selected first.

What is AHK : it’s a User Script Engine for Windows.

Steps to install

  1. install AHK v1

  2. modify godotFolder and priorityList

  3. Compile the script to exe using AHK dash

  4. Modify *.godot file’s open with… to this exe

Optional

  • uncomment ; MsgBox lines to get a confirmation dialog before launching godot.

  • use resource hacker to extract the icon from godot.exe, feed it to the script compiler

  • use Tablacus Explorer with AHK and modify script.js, so that under certain directory, you can open the godot project instantly by pressing Enter on it’s folder.

Demo

https://gist.github.com/user-attachments/assets/f4bc0db7-ac1c-4dd2-a633-276562103b9a