I managed to get the game working under wine without playonlinux.
1. First install wine and winetricks:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine32 winetricks
2. Then run the following commands:
export WINEPREFIX="/home/YOURUSERNAME/.wineprefixes/legorr/"
export WINEARCH="win32"
mkdir -p /home/YOURUSERNAME/.wineprefixes/legorr/
winetricks corefonts
3. Next, cd to the Lego Rock Raiders CD
4. Run the setup with wine:
wine Setup.exe
5. Just install normally. Be sure to install DirectX and direct media.
6. Copy d3drm.dll:
cp PATH_TO_D3DRM.DLL /home/YOURUSERNAME/.wineprefixes/legorr/dosdevices/c:/Program\ Files/LEGO\ Media/Rock\ Raiders/d3drm.dll
You will have Rock Raiders shortcuts on your desktop to start the game.
It is also possible to start it directly (useful for running e.g. cafeteria)
env WINEPREFIX="/home/YOURUSERNAME/.wineprefixes/legorr/" wine /home/YOURUSERNAME/.wineprefixes/legorr/dosdevices/c:/Program\ Files/LEGO\ Media/Games/Rock\ Raiders/LegoRR.exe
For me, the game runs very well. There are some minor graphical problems, namely that transparent overlays are not rendered (e.g. when you select a tile, or when you give orders to drill a wall, you don't see that). The game is perfectly playable without this, but it can be a bit annoying (e.g. when trying to build something).
Some effects like smoke from lava turn white or green but are still visible.
NOTE: Sometimes, after exiting the game, the resolution stays on 640x800. You can change it back to the correct resolution with nvidia x server settings (or a reboot also does the trick)