diff --git a/CHANGELOG.md b/CHANGELOG.md index 5723aea6..02928e52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Completely reworked windows wine installation. This should solve a lot of problems with failing game installs. Innoextract (if installed) is only used to detect and configure the installation language. (thanks to GB609) - Variables and arguments in game settings can now contain blanks when quoted shell-style (thanks to GB609) - Minigalaxy will now create working Desktop Shortcuts for wine games (thanks to GB609) +- Make games Unreal Gold able to launch **1.3.1** - Fix Windows games with multiple parts not installing with wine diff --git a/minigalaxy/launcher.py b/minigalaxy/launcher.py index 790679bf..fed7299a 100644 --- a/minigalaxy/launcher.py +++ b/minigalaxy/launcher.py @@ -147,7 +147,10 @@ def get_windows_exe_cmd(game, files): # in case no goggame info file was found executables = glob.glob(game.install_dir + '/*.exe') executables.remove(os.path.join(game.install_dir, "unins000.exe")) - filename = os.path.splitext(os.path.basename(executables[0]))[0] + '.exe' + if not executables: + # Look one directory level deeper + executables = glob.glob(game.install_dir + '/*/*.exe') + filename = os.path.relpath(executables[0], game.install_dir) exe_cmd = [get_wine_path(game), filename] # Backwards compatibility with windows games installed before installer fixes.