RealXtend Viewer Linux
From OpenSimulator
(→Mac OSX Procedure) |
m (Robot: Cosmetic changes) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ==Overview== | + | __NOTOC__ |
+ | {{Quicklinks}} | ||
+ | <br /> | ||
+ | |||
+ | == Overview == | ||
It's already possible to testrun modrex on linux/macos, so a crossplatform solution for the viewer is needed as well. Most libraries used in the RealXtend viewer are cross-platform. Nevertheless there are some windows dependencies, which prevents the viewer to compile and run on the Linux/OSX platform. In the meanwhile we can use the viewer through the use of wine. Wine allows to run native win32 applications on Linux, and on OSX using the Darwine modifications. Wine is not an emulator, and is faster than one might expect. RealXtend runs quite stable on wine(40/50 fps) with archlinux i686 distro, nvidia 8600GT, Athlon 3200+ and 2GB ram. | It's already possible to testrun modrex on linux/macos, so a crossplatform solution for the viewer is needed as well. Most libraries used in the RealXtend viewer are cross-platform. Nevertheless there are some windows dependencies, which prevents the viewer to compile and run on the Linux/OSX platform. In the meanwhile we can use the viewer through the use of wine. Wine allows to run native win32 applications on Linux, and on OSX using the Darwine modifications. Wine is not an emulator, and is faster than one might expect. RealXtend runs quite stable on wine(40/50 fps) with archlinux i686 distro, nvidia 8600GT, Athlon 3200+ and 2GB ram. | ||
− | [[ | + | [[Image:Realxtendwine.jpeg|250px|thumb|right|RealXtend on Linux]] |
− | ==Linux Procedure== | + | == Linux Procedure == |
* install git | * install git | ||
* Get the latest wine | * Get the latest wine | ||
Line 20: | Line 24: | ||
''There are some libraries which can be tweaked, in case the viewer crashes on load. My settings are: rpcrt4(buildin native), comctl32(native buildin)'' | ''There are some libraries which can be tweaked, in case the viewer crashes on load. My settings are: rpcrt4(buildin native), comctl32(native buildin)'' | ||
− | ==Mac OSX Procedure== | + | == Mac OSX Procedure == |
− | * Install [http://www.finkproject.org/ fink]. ''Notice that realXtend won't work on | + | * Install [http://www.finkproject.org/ fink]. ''Notice that wine=>realXtend won't work on PPC based MAC'' |
− | * | + | * Enable a [http://support.apple.com/kb/HT1528 root account] if you've not already done so |
− | * | + | * Open a terminal, and login as root |
− | * | + | * Update repository |
− | + | fink selfupdate-rsync | |
− | + | ||
− | + | * Get the XCode developer tools from [http://developer.apple.com/ ADC] (requires free registration) | |
* Check out the Darwine code, and wine from the terminal, and unpack wine | * Check out the Darwine code, and wine from the terminal, and unpack wine | ||
mkdir /Users/myuser/wine | mkdir /Users/myuser/wine | ||
Line 41: | Line 45: | ||
http://fink.sodan.ecc.u-tokyo.ac.jp/item/14 | http://fink.sodan.ecc.u-tokyo.ac.jp/item/14 | ||
− | ==Known Quirks== | + | == Known Quirks == |
* If the viewer refuses to start(complaining about window creation) after some succesful sessions, then remove ~/.wine/drive_c/windows/profiles/user/Application\ Data/realXtend | * If the viewer refuses to start(complaining about window creation) after some succesful sessions, then remove ~/.wine/drive_c/windows/profiles/user/Application\ Data/realXtend | ||
* After a normal quit, the colors of the desktop may become hippy-like distorted. Kill the proces instead to avoid it.(killall -15 realxtend.exe) | * After a normal quit, the colors of the desktop may become hippy-like distorted. Kill the proces instead to avoid it.(killall -15 realxtend.exe) |
Latest revision as of 20:02, 3 March 2012
[edit] Overview
It's already possible to testrun modrex on linux/macos, so a crossplatform solution for the viewer is needed as well. Most libraries used in the RealXtend viewer are cross-platform. Nevertheless there are some windows dependencies, which prevents the viewer to compile and run on the Linux/OSX platform. In the meanwhile we can use the viewer through the use of wine. Wine allows to run native win32 applications on Linux, and on OSX using the Darwine modifications. Wine is not an emulator, and is faster than one might expect. RealXtend runs quite stable on wine(40/50 fps) with archlinux i686 distro, nvidia 8600GT, Athlon 3200+ and 2GB ram.
[edit] Linux Procedure
- install git
- Get the latest wine
git clone git://source.winehq.org/git/wine.git ~/wine-git cd ~/wine-git
- get the wglShareLists patch and copy into ~/wine-git/dlls/winex11.drv
- Do the patch for opengl.c
patch -p0 < attachment.patch
- Build wine(not as root)
~/wine-git/tools/wineinstall
- Add libraries(dx9, .net, etc.) using winetricks
- try to run the viewer
wine ~/.wine/drive_c/Program\ files/RealXtend/realXtend.exe
- Tweak wine in case the viewer crashes.
winecfg
There are some libraries which can be tweaked, in case the viewer crashes on load. My settings are: rpcrt4(buildin native), comctl32(native buildin)
[edit] Mac OSX Procedure
- Install fink. Notice that wine=>realXtend won't work on PPC based MAC
- Enable a root account if you've not already done so
- Open a terminal, and login as root
- Update repository
fink selfupdate-rsync
- Get the XCode developer tools from ADC (requires free registration)
- Check out the Darwine code, and wine from the terminal, and unpack wine
mkdir /Users/myuser/wine cd /Users/myuser/wine cvs -z3 -d:pserver:anonymous:@darwine.cvs.sourceforge.net:/cvsroot/darwine co -P distrib wget http://ovh.dl.sourceforge.net/sourceforge/wine/wine-1.1.21.tar.bz2 tar -xjvf wine-1.1.21.tar.bz2
- Launch the darwine script
cd distrib export VERSION=1.1.21 ./create_darwine_distrib.sh $VERSION /Users/myuser/wine/wine-1.1.21 find /sw/fink/dists -name wine.info http://fink.sodan.ecc.u-tokyo.ac.jp/item/14
[edit] Known Quirks
- If the viewer refuses to start(complaining about window creation) after some succesful sessions, then remove ~/.wine/drive_c/windows/profiles/user/Application\ Data/realXtend
- After a normal quit, the colors of the desktop may become hippy-like distorted. Kill the proces instead to avoid it.(killall -15 realxtend.exe)
- The Skype part doesn't work with skype for linux. Didn't manage to test skype with wine(that may work)
- VNC on a prim doesn't work properly...
Have fun!