reporting success on installing and, well, mostly playing EL on linux.

General discussion (space-sim gaming, astronomy, and sci-fi entertainment in general, etc.).
GAlex
Ensign
Ensign
Posts: 33
Joined: Wed May 13, 2009 4:23 pm
Location: near Florence, Italy

reporting success on installing and, well, mostly playing EL on linux.

Post by GAlex »

specifications:
distro used: both Ubuntu 9.10 & KUbuntu 9.10
wine version: standard Ubuntu 9.10 repository
Direct X version: original Directx9.0c from Microsoft site

set win version to win2000 on wine;
copy mscoree.dll & streamci.dll from original win32 system32 dir to ~.wine/drive_c/windows/system32
added the following to the wine registry (by using text editor) under software section:

Code: Select all

[Software\\\\Wine\\\\DllOverrides] 1206264929
"d3d8"="builtin"
"d3d9"="builtin"
"d3dim"="native"
"d3drm"="native"
"d3dx8"="native"
"d3dx9_24"="native"
"d3dx9_25"="native"
"d3dx9_26"="native"
"d3dx9_27"="native"
"d3dx9_28"="native"
"d3dx9_29"="native"
"d3dx9_30"="native"
"d3dx9_31"="native"
"d3dx9_32"="native"
"d3dx9_33"="native"
"d3dx9_34"="native"
"d3dx9_35"="native"
"d3dx9_36"="native"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="builtin"
"dinput8"="builtin"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dmusic32"="native"
"dnsapi"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dpnlobby"="native"
"dsound"="builtin"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"msdmo"="native"
"qcap"="native"
"quartz"="native"
"streamci"="native"
installed directx :wine directx_XXXXX_redist.exe
and :wine dxsetup.exe

then installed EL and launched.

results:
load time from launch to pilot select menu: +30% ca.
load time in SP & MP mode : same than win32
FPS in SP full graphics : 3-7
FPS in MP full graphics : 2-5
FPS in SP lowest graphics : 5-9
FPS in MP lowest graphics : 3-7

processes running in backround:
cron.daily -> updatedb (same as searchindexer for win32);
full kde desktop and visual effects on 4 virtual desktop;
compiz;
plasma;
packages updater (~347MB of patches to download and install);
standard U/KU-buntu linux desktop demons and background processes.

hardware specs:
2006 MidTower-cased PC;
Processor: P6 3.2GH 32-bit single processor;
Mother board: unknown made in china FSB 677MHz;
RAM: 1GB ddr2 pc4200 533MHz;
Video Card: nVidia 7300GT 256Ram PCiExpress
Storage: Old 80GB Samsung P/IDE 5400Rpm HD with ext4;

bottlenecks:
on the fly transcoded executable;
directx function calls translated to opengl, mostly software-rendered, no full use of DRI
- \"Felix qui potuit rerum cognoscere causas\" (Virgilio)
verbosity
Captain
Captain
Posts: 1155
Joined: Thu Sep 07, 2006 7:38 pm
Location: Deep Space 9

reporting success on installing and, well, mostly playing EL on linux.

Post by verbosity »

Whoa! thats impressive, I think this is the first ever successful report of someone getting one of vice's games to run on linux
FPS in SP full graphics : 3-7
FPS in MP full graphics : 2-5
FPS in SP lowest graphics : 5-9
FPS in MP lowest graphics : 3-7
are these the actual figures? 3-7 fps would be difficult to play with, is there any chance this could be improved?
verbsleagues.co.uk sw3dg web stats systems
uaithne.com eco-living project
rulerofzu.com free fantasy mmorpg
jesterscup.com webby stuffies
SDWeimer
Lieutenant
Lieutenant
Posts: 194
Joined: Fri Aug 07, 2009 8:19 pm
Location: Bay City

reporting success on installing and, well, mostly playing EL on linux.

Post by SDWeimer »

Yep those are real (at least the mp ones are) Marvin, Dennymala and I were on when he logged in.
Clan [Universal Explorers]
Image
[UE]SDWeimer
Legend---Fleet Admiral<-Legends
Legend---Fleet Admiral<-Mercernary
GAlex
Ensign
Ensign
Posts: 33
Joined: Wed May 13, 2009 4:23 pm
Location: near Florence, Italy

reporting success on installing and, well, mostly playing EL on linux.

Post by GAlex »

indeed, the first issue is that no directx implementation is native on linux, so the workaround is wrapper libraries (d3d8 & d3d9) that are builtin in wine and "translates" the dx calls to opengl. but since there are differences between the two libraries, what is not implemented in opengl, has to be software rendered and can't make use of 3d acceleration of video card.

the second issue is the driver implementation, that in linux doesn't provide a dx layer.

obviously all the previous issues are due to the proprietary and copyrighted nature of directx. it has already been discussed that a rewritten dx-compatible library or a reverse-engineered version could have legal issues and thus this way is not feasible.

i wonder if with a more powerful hardware than mine, fps could double. in that case, with 10-15 fps, the game could be playable.

OR DarkBasic could provide an OpenGL layer, OR the game could make use of a more cross platform framework like Ogre or SDL+OpenGl: in that case, EL will run at the same speed under the 2 os.

anyway my attempt was not made in the spirit of playing EL under linux, but to prove the feasibility of running a DarkBasic/directx strictly windows based application in a standard linux box without too much tweaking.

a great success, indeed, and a great advance in linux technology in the way of compatibility and standardization.

and this also implies that EL could be playable also under macosx.
- \"Felix qui potuit rerum cognoscere causas\" (Virgilio)
cheops
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 84
Joined: Fri Mar 06, 2009 11:10 am
Location: Birmingham, England

reporting success on installing and, well, mostly playing EL on linux.

Post by cheops »

Well now I know where and what at least one of my clan members has been upto. Well done on apparently making a first.
Heghlu\'meH QaQ jajvam <- for the Vonari

Ranks: Military:- Fleet Admiral Civilian:-Legend. Current number of confirmed kills:- 50,000 give or take a thousand.
Maarschalk
Captain
Captain
Posts: 7645
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

reporting success on installing and, well, mostly playing EL on linux.

Post by Maarschalk »

I'm impressed. very cool.:cool::cool::cool::cool::cool::cool::cool::cool:
Arvoch Alliance Stat:

Image

Evochron Legends Stats:

Image

Evochron Mercenary Stats:

Image

Darkness is the absence of Light as Evil is the absence of Good
warsign
Captain
Captain
Posts: 1775
Joined: Thu Apr 24, 2008 10:04 am

reporting success on installing and, well, mostly playing EL on linux.

Post by warsign »

Nice work!
tha_rami
Commander
Commander
Posts: 892
Joined: Tue Jan 25, 2005 2:20 pm
Location: Netherlands

reporting success on installing and, well, mostly playing EL on linux.

Post by tha_rami »

That is mighty impressive. I undertook the same quest a while back but failed miserably (gave up after three weeks), but this is awesome!
tha_rami - The best way to predict the future is to invent it.
Vlambeer - Dutch indie game studio
Twitter - Weird news, life updates & game-related news
Daedalao
Lieutenant
Lieutenant
Posts: 288
Joined: Sat Dec 01, 2007 1:18 pm
Location: Oregon

reporting success on installing and, well, mostly playing EL on linux.

Post by Daedalao »

ReactOS next?
User avatar
Vice
Administrator
Administrator
Posts: 11558
Joined: Fri Apr 25, 2003 1:38 am

reporting success on installing and, well, mostly playing EL on linux.

Post by Vice »

The fact that even the multiplayer systems worked correctly is pretty cool. Were you able to use the control systems for devices like joysticks and gamepads also?
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
GAlex
Ensign
Ensign
Posts: 33
Joined: Wed May 13, 2009 4:23 pm
Location: near Florence, Italy

reporting success on installing and, well, mostly playing EL on linux.

Post by GAlex »

@vice: succesfully configured and used on the fly any standard HID game controls.
well, i've tried only mouse control, a trust gamepad, a very old logitech joystick (barely worth it's name) and a ps2 pad adapted to a USB port, but all these devices worked fine.
the only great pain was the FPS, for the reasons stated in my previous posts, but again, my hardware is quite old.
- \"Felix qui potuit rerum cognoscere causas\" (Virgilio)
BENERICK
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 89
Joined: Tue Feb 24, 2009 6:39 am
Location: Pennsylvania

reporting success on installing and, well, mostly playing EL on linux.

Post by BENERICK »

Way to go GAlex Im impresses as well, of course all that mumbo jumbo is still all greek to me. :)
AKA [SD] SolarWing
Leader of Blitzturm Squadron
Second in Command of SD Clan
tha_rami
Commander
Commander
Posts: 892
Joined: Tue Jan 25, 2005 2:20 pm
Location: Netherlands

reporting success on installing and, well, mostly playing EL on linux.

Post by tha_rami »

I'll find myself a powerful PC and try out the installation as you recommend. Lets see what happens :).
tha_rami - The best way to predict the future is to invent it.
Vlambeer - Dutch indie game studio
Twitter - Weird news, life updates & game-related news