Just wanted to let you all know that I have successfully run R4 on Linux using WINE. At 100FPS on most scenes. Don't pinch yourself, I mean it! I've used R4 since it was called R2, and I've enjoyed every minute of smooth visuals. Since the migration to Linux, however, I haven't been able to run R4 - until today. So here's how I did it:
- Installed openSuSE Linux 10.1 - other distros such as Fedora Core should also work
- Installed nVidia proprietary 3D drivers (which defeats the purpose of having an open source desktop, but...)
- Installed R4 1.20 (you have to blindly hit Enter several times in order for this to work, because a bug in WINE causes that annoying blue background to be in front of everything else) Offtopic - RabidHamster, please get rid of that background...it doesn't make installation any better. Trust me, I'm more experienced with NSIS - and just general user experience - than everyone else on this forum combined.
- Disabled Xgl 3D desktop (not enabled by default so this won't be a problem for fresh SuSE installations)
- Created this shellscript that launches WINE with a specific working directory:
- Code: Select all
#!/bin/bash
cd /home/dan/.wine/drive_c/Program\ Files/R4
wine "C:\Program Files\R4\R4.exe"
- Double-clicked the shellscript and watched the pixels fly! Use a volume control app like Kmix or the GNOME Volume Control Panel Applet to enable audio capture on the line input. ALSA does not support using PCM as a capture device just yet, so you'll need to either install Winamp or use another audio device to provide the actual music.
- If you're using Fedora Core 5, make sure AIGLX support is disabled and Metacity is loaded without compositing support before running R4. Metacity compositing is disabled by default, and if you don't know what AIGLX or Metacity compositing is then trust me you don't have it enabled.
That's it! I have yet to try this on Debian (I have Knoppix and Ubuntu but neither is installed right now, I would have to run 'em off the liveCDs and you know how slow that can be...)
The only things that didn't seem to work right were PBuffer support, V-sync, and vidcap. Network support works, but you'll have to open post 8888 (or whatever port you specify) in your firewall before you will be able to access R4 via network. To do this in SuSE, go to System Menu (in GNOME), click YaST2, enter your root password, go to Security and Users, click Firewall, go to Allowed Services, click Advanced, and enter the R4 webserver port - usually 8888 - in the TCP field. Click OK and then Apply, and then close YaST2. Fedora users can use the system-config-securitylevel tool.
If anyone has distro-specific notes, you're encouraged to post 'em here so that other users of your distro can enjoy R4 too
-dandaman32

