https://bugs.winehq.org/show_bug.cgi?id=55174
Bug ID: 55174 Summary: Freecol 1.1.0 does not run without change dir to the game directory first Product: Wine Version: 8.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cedric.dewijs@eclipso.eu Distribution: ---
Created attachment 74755 --> https://bugs.winehq.org/attachment.cgi?id=74755 Console output on 2 failed starts, and one succesfull start of freecol
Freecol 1.1.0 does install without errors, but it does not run unless the user cd's into the game directory first.
Steps to reproduce: $ wget https://sourceforge.net/projects/freecol/files/freecol/freecol-1.1.0/freecol... $ rm -rf ~/wine-tmp $ mkdir ~/wine-tmp $ export WINEPREFIX=~/wine-tmp $ wine freecol-1.1.0-with-java.exe Now the installer starts. Accept the defaults. The game installes without any errors. $ wine ~/wine-tmp/drive_c/Program\ Files/FreeCol/FreeCol.exe Now the game does not start $ cd wine-tmp/drive_c/Program\ Files/FreeCol/ $ wine FreeCol.exe Now the game starts.
My versions: $ wine --version wine-8.11 $ uname -a Linux cedric 6.3.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:20 +0000 x86_64 GNU/Linux
https://bugs.winehq.org/show_bug.cgi?id=55174
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Many Windows apps look for their files in the current directory, and thus fail when they are started from somewhere else. It's not a Wine bug, it fails the same way on Windows.
https://bugs.winehq.org/show_bug.cgi?id=55174
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.