
Lastly, POL should be able to extract the icon from the exe, so you might be able to change your POL_Shortcut line to POL_Shortcut "LegoRR.exe" "$TITLE" "" "Game StrategyGame " Wine has gotten a lot better over the years, and this might only take more time now. POL_Wine_SetVideoDriver, if I understand correctly, is only to be used when Wine doesn't do things properly itself. Wine seems to have d3drm.dll in windows/system32, so you could probably use a cp command to copy it to the installation location of Lego Rock Raiders. If start /unix is neccessary, POL_Wine_WaitBefore won't have any purpose anyway, and only POL_Wine_WaitExit will be noticable. If possible, it's best to remove start /unix on POL_Wine lines so that POL_Wine_WaitExit isn't neccessary. It appears that Lego Rock Raiders was only ever sold on CD, at least it's not on GOG.com or Steam, so you could probably remove the POL_SetupWindow_InstallMethod line-besides, POL_SetupWindow_cdrom gives the user the option to enter the location of the CD-whether it's actually a CD or just a folder. POL_Call POL_Install_d3dx9 shouldn't be neccessary, since Lego Rock Raiders was released in 1999 and DirectX 9 wasn't released until 2002.Īlso, the POL_Install_* functions should override DLLs automatically, so the POL_Wine_OverrideDLL lines also shouldn't be needed. Using a stable version of Wine is best, so if Wine 1.8 works, it's more likely to be already downloaded than a development version of Wine. I would like to point out a few things to help on your script. POL_Shortcut "LegoRR.exe" "$TITLE" "" "Game StrategyGame " POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" If the game still crashes while loading copy it to the game location as well.')" "$TITLE" POL_SetupWindow_message "$(eval_gettext 'After instalation you have to manually download the d3drm.dll file and copy it to the /windows/system32 folder. POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Downloading wine if necessary and creating 32-bit prefix POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_GetSetupImages "$PREFIX/top.jpg" "$PREFIX/left.jpg" "$PREFIX/LegoRockRaiders-48x48.jpg" "$PREFIX/LegoRockRaiders-22x22.jpg" "$TITLE" # Distribution used to test : Ubuntu 15.04 64bit I have run the game installed by this script and no errors found so far.

You will most likey have to manually download d3drm.dll to prevent crashes. Today I created a small script to install a 1999 real-time strategy game called Lego Rock Raiders.
