Posted May 11, 2015
This runs well on OS X using WINE, but without music. And playing a Star Wars game without music is just stupid. There are a couple of ways to fix this:
1) Using CrossOver
If the game works for you using CrossOver (it doesn't for me; I can hear it running, but just get a white screen), then follow these steps:
Run the Wine configuration tool.
Click on the Libraries tab.
In the "New override for library:" box, enter "winmm" (no quotes).
Click the Add button, so you have "winmm (native, builtin)" at the bottom of the list.
Click the OK button on the bottom.
2) Using Wineskin
Specifically, I used the Portingkit (from paulthetall.com). Install the game, then follow these steps:
Show package contents for the Dark Forces 2 app.
Open the drive_c/GOG Games/Star Wars Jedi Knight - Dark Forces 2 folder.
Rename the winmm.dll file to something else, as long as it still uses exactly 5 characters. I used winm2.dll.
Use a hex editor and load the JK.EXE file.
Search for "WINMM" and change it to match the new name; WINM2 in my case.
Save the edited file.
(For Mysteries of the Sith, the same steps apply, except the executable is JKM.EXE.)
There, now you have music. For best results, before doing the steps above, replace the original winmm.dll with the modified version, which fixes stuff like volume control and correct track playing. (I'd just link to it, but apparently I can't post if I do?)
(As a side note, this reminds me how much I disliked the era of games with CD music. For me, it was always 50/50 at best whether the music would actually work in any given game, and this was on two different computers with two different CD drives. Glad that era is long over, but even nearly 20 years later it's still causing problems....)
1) Using CrossOver
If the game works for you using CrossOver (it doesn't for me; I can hear it running, but just get a white screen), then follow these steps:
Run the Wine configuration tool.
Click on the Libraries tab.
In the "New override for library:" box, enter "winmm" (no quotes).
Click the Add button, so you have "winmm (native, builtin)" at the bottom of the list.
Click the OK button on the bottom.
2) Using Wineskin
Specifically, I used the Portingkit (from paulthetall.com). Install the game, then follow these steps:
Show package contents for the Dark Forces 2 app.
Open the drive_c/GOG Games/Star Wars Jedi Knight - Dark Forces 2 folder.
Rename the winmm.dll file to something else, as long as it still uses exactly 5 characters. I used winm2.dll.
Use a hex editor and load the JK.EXE file.
Search for "WINMM" and change it to match the new name; WINM2 in my case.
Save the edited file.
(For Mysteries of the Sith, the same steps apply, except the executable is JKM.EXE.)
There, now you have music. For best results, before doing the steps above, replace the original winmm.dll with the modified version, which fixes stuff like volume control and correct track playing. (I'd just link to it, but apparently I can't post if I do?)
(As a side note, this reminds me how much I disliked the era of games with CD music. For me, it was always 50/50 at best whether the music would actually work in any given game, and this was on two different computers with two different CD drives. Glad that era is long over, but even nearly 20 years later it's still causing problems....)