http://bugs.winehq.org/show_bug.cgi?id=7587
------- Additional Comments From snildo@bolina.hsb.se 2007-02-03 17:58 ------- I run it from a custom Application Launcher that resides in my GNOME Applications menu. The command is wine "/home/snild/runewizard/RuneWord Wizard.exe"
The .dat files are by default located at "/home/snild/runewizard/items.dat" "/home/snild/runewizard/runes.dat" "/home/snild/runewizard/runewords.dat" In Windows, these files would be found when the app starts. In Ubuntu using Wine, the files are not found. However, it works if I move the .dat files to "/home/snild/items.dat" "/home/snild/runes.dat" "/home/snild/runewords.dat" - That's why I think Wine is using the wrong working directory.
I just noticed: If I use the console to navigate to /home/snild/runewizard/ and then run 'wine "Runeword Wizard.exe"', the working directory appears to be correct. So I guess the problem is that the working directory is set to your home folder when using GNOME application launchers.. Might be a GNOME feature request, then, since there is no way to set the working directory on the Applaunchers..