Guide: Fix FGII v3 Open Folder Buttons in Wine
*** NOTE YOU DO NOT NEED TO DO THIS IF YOU INSTALLED FROM STEAM ***
If you use Wine to run FGII and update to FGII v3 you may find that the new 'open folder' buttons either do not work or open a file browser pointing to the wrong folders.
I have managed to get all but one of the new 'open folder' buttons to work in Wine so that they open in the operating systems native file system browser, for me that is Finder on the Mac.
FIXED
Images and Maps - Folder button
Tokens - GM button
Tokens - Shared button
NOT FIXED
Launch Screen - Open data folder button
To fix you will need to edit the Wine registry. As I created my Wine wrapper using Wineskin Winery on the Mac I did the following:
- In Finder right click on you FGII wrapper [mine is called FGII 3.0 Test.app]
- Select 'Show Package Contents' from the popup menu
- Launch the Wineskin.app from the list of files now showing
- The Wineskin.app menu will be displayed, select Advanced
- The 'Wineskin Advanced' window will be displayed, select the Tools tab
- Now click on the 'Registry Editor (regedit)' button
- In the registry editor locate the key HKEY_CLASSES_ROOT -> folder -> shell -> open
- right click on the key open and select New -> Key
- Rename key you just created to command
- Select the command key and double click on the key field in the right panel
- Chance the 'Value data' text box to C:\windows\system32\winebrowser.exe "%1"
- Click OK. Your changes will be auto saved.
- Close the registry editor and the Wineskin Advanced window, then launch FGII
If you create your Wine wrapper either directly from Wine or using something other then Wineskin Winery then steps 1-6 will be different but so long as you use Wine's registry editor the remaining steps should be identical.