You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bottles is not properly setting the working directory for any file executed by "Run Executable" or "Add Shortcuts" buttons.
You have to use command line to manually CD to the correct directory before trying to executable the file.
To execute /home/t/games/age of wonders 4/aow4.exe
assuming you set working directory to /home/t/
what it SHOULD do:
cd age of wonders 4
aow4.exe
but is directly executes just the exe file via some sym link under Z:\\run\\user\\1000\\doc\\62c87a1d\\ where the last number seems to be random
I can execute apps so long as I enter command line tool. CD to their directory. and then run the exe.
But not via the GUI. GUI only works for completely self contained things. such as an installer or very simple apps that have one single exe file and no dependencies.
I also tried placing it in /home/ instead of external drive. same result.
I also tried setting the working directory to the folder of a specific app. And it did not work either. normally my working directory is /media/dext/ which is an external ssd where I keep my games.
I also tried leaving working directory as default instead.
It seems there is something fundamentally different between me opening command line. and the gui executing something within command line.
If I set the working directory for a bottle to be: /media/t/dext/games_mint/Age of Wonders 4/Age.of.Wonders.4.v.1.007.002.94867
I then click on open command line. it will open Z:\run\flatpak\doc\cffac413\Age.of.Wonders.4.v.1.007.002.94867>
allowing me to immediately execute the program using aow4.exe and enter.
but if I try to use the gui it will instead give errors such as: 0024:err:module:import_dll Library steam_api64.dll (which is needed by L"Z:\\run\\user\\1000\\doc\\62c87a1d\\AOW4.exe") not found
as can be seen the directory structure is very different between those two.
Here is a sample of 3 attempts:
top attempt is via Run Executable button. fails due to not finding dll
middle attempt is via add shortcut button and then launching it via 3 dots in terminal mode. fail due to not finding dll
bottom attempt is via command line button within bottles. works
Describe the bug
Bottles is not properly setting the working directory for any file executed by "Run Executable" or "Add Shortcuts" buttons.
You have to use command line to manually CD to the correct directory before trying to executable the file.
To execute
/home/t/games/age of wonders 4/aow4.exe
assuming you set working directory to
/home/t/
what it SHOULD do:
but is directly executes just the exe file via some sym link under
Z:\\run\\user\\1000\\doc\\62c87a1d\\
where the last number seems to be randomI can execute apps so long as I enter command line tool. CD to their directory. and then run the exe.
But not via the GUI. GUI only works for completely self contained things. such as an installer or very simple apps that have one single exe file and no dependencies.
I also tried placing it in /home/ instead of external drive. same result.
I also tried setting the working directory to the folder of a specific app. And it did not work either. normally my working directory is
/media/dext/
which is an external ssd where I keep my games.I also tried leaving working directory as default instead.
It seems there is something fundamentally different between me opening command line. and the gui executing something within command line.
If I set the working directory for a bottle to be:
/media/t/dext/games_mint/Age of Wonders 4/Age.of.Wonders.4.v.1.007.002.94867
I then click on open command line. it will open
Z:\run\flatpak\doc\cffac413\Age.of.Wonders.4.v.1.007.002.94867>
allowing me to immediately execute the program using
aow4.exe
and enter.but if I try to use the gui it will instead give errors such as:
0024:err:module:import_dll Library steam_api64.dll (which is needed by L"Z:\\run\\user\\1000\\doc\\62c87a1d\\AOW4.exe") not found
as can be seen the directory structure is very different between those two.
Here is a sample of 3 attempts:
top attempt is via Run Executable button. fails due to not finding dll
middle attempt is via add shortcut button and then launching it via 3 dots in terminal mode. fail due to not finding dll
bottom attempt is via command line button within bottles. works
To Reproduce
Package
Flatpak from Flathub
Distribution
LMDE6, & Linux Mint 21.3
Debugging Information
Troubleshooting Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: