Youda008 / DoomRunner

Preset-oriented graphical launcher of various ported Doom engines (an alternative to ZDL)
GNU General Public License v3.0
204 stars 13 forks source link

Selecting a different version of GZDoom will launch the first one #85

Closed wolfmanfp closed 1 year ago

wolfmanfp commented 1 year ago

Greetings, I have three different versions of GZDoom set up in DoomRunner: 4.8.2, a devbuild, and the recent 4.9.0. The first one is in the same folder as DR, the two other versions are in subfolders. If I select the other two versions, DR launches 4.8.2 instead. It only works as intended if I rename the two other executables as gzdoom-dev.exe and gzdoom-4.9.0.exe.

Youda008 commented 1 year ago

Can you please screenshot me the exact directory stucture where i can see where the executables are located? And can you also send me your options.json?

wolfmanfp commented 1 year ago

Sure. Képernyőkép 2022-11-06 233624 options.zip

wolfmanfp commented 1 year ago

I forgot to mention, I'm currently using the latest stable version. Launching different GZDoom versions worked correctly in 1.5.

Youda008 commented 1 year ago

So apparently this is a Windows feature https://superuser.com/a/1683394/401036. It searches in the parent process directory first and only if not found it looks into current directory.

Luckily there is a simple workaround.

Youda008 commented 1 year ago

Should be fixed in the recent release.

wolfmanfp commented 1 year ago

Just tried 1.6.5 and it works now. Thank you!