Catch me if you can

AuthorTopic: Run CE mod in Wine/Linux  (Read 4862 times)

0 Members and 1 Guest are viewing this topic.

Offline realmwandererTopic starter

  • Active Member
  • *
  • Posts: 9
  • my Votes: +1/-1
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Run CE mod in Wine/Linux
« on: July 22, 2005, 01:37:17 am »
Has anybody tried to make this mod work under Wine in Linux.  I saw the LOD screenshots in the WineHQ website and really want to try this mod in Linux but not sure how to go about the business.  Any hints or tip will be greatly appreciated.  Thx.

Offline ChaosEmpire

  • 1st CE Player
  • Active Member
  • *
  • Posts: 20.537
  • my Votes: +519/-120
  • Gender: Male
  • Ich bin hier auf der Arbeit, nicht auf der Flucht
    • Poke This Member
    • My inhabitant post
  • BattleTag: ChaosEmpire#2215
  • CE-Net Account: ChaosEnergy[CE]
Re: Run CE mod in Wine/Linux
« Reply #1 on: July 22, 2005, 08:10:29 am »
can ttell you about the game in play mode, but many of the servers run in a wine session..
it is not as stable as in windows, put good enough for playing
there should not be a difference for the game in play mode


CEmail: chaosenergy(a)chaosempire.eu
Chaos Empire® is a registered Trademark of Hans-Jürgen Ohler ©2003-2012

Offline realmwandererTopic starter

  • Active Member
  • *
  • Posts: 9
  • my Votes: +1/-1
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #2 on: July 22, 2005, 03:08:44 pm »
THat's good to know, at least it will rune in Wine.  I'll have to try it out.

Offline bdpf

  • Old Gummy. i'm slower now. Stories can be told.
  • Active Member
  • *
  • Posts: 456
  • my Votes: +6/-0
  • Gender: Male
  • Donated. Did you? (:^:) Need more coin, thou :(
    • Poke This Member
  • CE-Net Account: bdpf
Re: Run CE mod in Wine/Linux
« Reply #3 on: July 22, 2005, 09:24:51 pm »
Just did a fast google search of Wine & Linux. ;)

Found a listing of running D2 with Wine requiring the use of a Linux game crack, but no listing
for D2 LOD.... 

It seems possible to run at least D2 with Wine & Linux, which is very nice.  Since I'm an old DOS hand &
HATE Windows.

Wine is still under development, (DARN), but it is free in some cases, like Linux.

Has anyone run D2 LOD with Wine & Linux on-line????

Has anyone run CE with Wine & Linux????

bdpf
.\\||||||//.
:) +  + ;)   Don't Bite now, Lost my teeth
      /\         So now I tell rambling stories!
  / === \      Grumpy, I is
 ! /|||||\ !      Older than dirt, Piped God
 /||||||||\  aboard this here Sky boat called Earth.
          Roll my own cigarettes, strong tobacco
        Drink anything that don't kill me.
   Cleaned my musket, sharpened the blades
Long Bow is strong,  arrows heads sharp, start running
Wannabe wordsmith, stories fabricated.
Don't call me late for lunch

Offline realmwandererTopic starter

  • Active Member
  • *
  • Posts: 9
  • my Votes: +1/-1
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #4 on: July 23, 2005, 01:05:36 pm »
People have run LOD with Wine, see www.winehq.com for details.  But I haven't been able to get it going after trying a LOT of the suggestions.  I  have not seen reports of CE running in wine yet.

Offline Shinlos

  • Active Member
  • *
  • Posts: 1.793
  • my Votes: +104/-46
  • Gender: Male
  • :D
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #5 on: July 23, 2005, 10:02:07 pm »
If u have a Linux System it would be cool if u try to run the mod on Linux.
I just don't use Linux because i think it's hard or maybe impossible to make CE work on Linux.
If it works i'm gonna install Linux soon.
It all returns to nothing...

Der Spruch passt besser denn je...

Offline realmwandererTopic starter

  • Active Member
  • *
  • Posts: 9
  • my Votes: +1/-1
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #6 on: July 24, 2005, 04:43:11 am »
After hours of research and trials & errors, I finally got CE going in Wine.  However due to my machine's poor spec, the mod (a truly great one) runs very slow and laggy, I can hear the hard disk at work all the time, memory is full and the swap file is almost full.  I only have a 128mb RAM PII (what! ... I hear you say) and an even poorer graphics card nVidia Vanta.  So those of you who have big machines and RAM to spare should have no problems.  The latest Wine version 20050628 didn't work due to some CDROM access problems so I used the previous version.  I also had to compile the nVidia linux kernel extension to get the grafix hardware acceleration working so D2 can run in Glide mode.  The directx support from Wine did not work at all.  If anybody want to know more about the rest of the gory detail please let me know.

Bottom line is, CE mod will work in Wine.

Offline Shinlos

  • Active Member
  • *
  • Posts: 1.793
  • my Votes: +104/-46
  • Gender: Male
  • :D
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #7 on: July 24, 2005, 02:04:04 pm »
That's nice.
Could u maybe write a small Guide or sth like that?
That would be godlike ; )
It all returns to nothing...

Der Spruch passt besser denn je...

Offline realmwandererTopic starter

  • Active Member
  • *
  • Posts: 9
  • my Votes: +1/-1
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #8 on: July 24, 2005, 05:09:32 pm »
There are many different ways to get it running according to the many guides I found on the web.  Read the Howto found in "http://appdb.winehq.org/appview.php?versionId=1177", it gives you a lot of tips.   I wanted to use wine to run the Windows CE mod installation I already have going, and not use any no CD crack, so I had to use a different approach to everyone else's method.  Here is how I did it:

Linux distro: Mandrake 10.0

1. Download from www.winehq.com WINE 20050524 precompiled rpm package.

2. Install the rpm, after the installation of Wine, run wineprefixcreate so that all the basic config files and directories are cerated for you under ~/.wine.

3. Make sure you have something like "/dev/cdrom /cdrom  iso9660 ro,noauto,users,unhide 0 0" in your /etc/fstab file, see section 3.5.1 of the wine documentation for reasons. [edit by webwalker: no such section found]

4. I already have a working installation of D2 LOD CE mod in a windows partition so I skipped the installation of the game files into the wine generated C drive.  But if you want to follow the recommended route to install Diablo, follow instructions given in "http://www.ubuntuforums.org/showthread.php?t=45231".  You can then apply the CE mod installation to give you CE LOD game play.  If all goes well you should have it all working and playing already, the rest of the steps you can ignore.

5. Next I created symbolic links to my CDROM and windows partition where my LOD installation sits.  Mandrake has already automatically created /mnt/cdrom and /mnt/win_e for me, all I havd to do was just to map these into dos drive letters for wine.  Goto ~/.wine/dosdevices, type "ln /mnt/cdrom f: --symbolic" and "lin /mnt/win_e e: --symbolic", lastly "ln /dev/hdc f:: --symbolic".  I used e: and f: because that's how my windows partiotions were setup.  Type ls -l to list the symbolic links, you should get:
lrwxrwxrwx  1 yourname yourname 10 Jul 23 00:02 c: -> ../drive_c/
lrwxrwxrwx  1 yourname yourname 10 Jul 23 22:53 e: -> /mnt/win_e/
lrwxrwxrwx  1 yourname yourname 10 Jul 23 22:54 f: -> /mnt/cdrom/
lrwxrwxrwx  1 yourname yourname  8 Jul 24 15:48 f:: -> /dev/hdc
lrwxrwxrwx  1 yourname yourname  1 Jul 23 00:02 z: -> //
c: and z: are created by wine automatically.

6. Create a config file under .wine if it doesn't already exist, it should contain the following:

WINE REGISTRY Version 2

[Version]
"Windows" = "nt40" [edit by webwalker: this version should probably reflect what you actually have]
 
[dsound]
"HardwareAcceleration" = "Emulation"

7. Download a userdef.reg file from http://www.latte.ca/D2LOD/userdef.reg and modify the following lines:
"DiabloIICD"="f:"   ; Change "e:" to your CDs drive letter [edit by webwalker: drive letter should match yours]
"InstallPath"="e:\\Diablo II"
"Program"="e:\\Diablo II\\Diablo II.exe"   ; Same as above but add "\\Diablo II.exe" at the end
"Save Path"="e:\\Diablo II\\save\\"   ; Same as above but add "\\save\\" at the end
save this file in .wine.

8. I have a nVidia Vanta card which needed some proper Linux driver to get the glx mode going, so I downloaded from nVidia website a legacy linux driver installer and followed instructions to install.   Setup the XF86Config-4 file to make it use the GLX module and restarted X server. 

9. Put the LOD CD into cdrom drive and mount /mnt/cdrom. [query by webwalker: how about daemontools virtual CDs?]

10. Change to /mnt/win_e/Diablo\ II/, type in "wine D2VidTst.exe* to run the video test, choose the Glide drivers and exit.

11. Type "nice -5 wine "Diablo II.exe" -direct" and the thing starts.

Gameplay was very slow for me due to my inferior hardware, but it works!  Now if my bank account were nice to me, then I should be able to get some decent hardware......
« Last Edit: February 15, 2006, 04:58:13 am by webwalker »

Offline Shinlos

  • Active Member
  • *
  • Posts: 1.793
  • my Votes: +104/-46
  • Gender: Male
  • :D
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #9 on: July 24, 2005, 05:22:11 pm »
Thanks i will try when i have get Linux to work.
It all returns to nothing...

Der Spruch passt besser denn je...

Offline bdpf

  • Old Gummy. i'm slower now. Stories can be told.
  • Active Member
  • *
  • Posts: 456
  • my Votes: +6/-0
  • Gender: Male
  • Donated. Did you? (:^:) Need more coin, thou :(
    • Poke This Member
  • CE-Net Account: bdpf
Re: Run CE mod in Wine/Linux
« Reply #10 on: July 24, 2005, 09:17:32 pm »
realmwanderer
Thanks for the info, be giving it a try, too.
bdpf
.\\||||||//.
:) +  + ;)   Don't Bite now, Lost my teeth
      /\         So now I tell rambling stories!
  / === \      Grumpy, I is
 ! /|||||\ !      Older than dirt, Piped God
 /||||||||\  aboard this here Sky boat called Earth.
          Roll my own cigarettes, strong tobacco
        Drink anything that don't kill me.
   Cleaned my musket, sharpened the blades
Long Bow is strong,  arrows heads sharp, start running
Wannabe wordsmith, stories fabricated.
Don't call me late for lunch

Offline jeycorp

  • Active Member
  • *
  • Posts: 9
  • my Votes: +0/-2
  • Gender: Male
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #11 on: July 28, 2005, 10:48:59 am »
in my winxp and linux my diablo 2 run exelent ... butttttttttttttt my mod no runing ... game not start... im try witch cd original and try run witch loaders and noot work .... why ?? donno !!

in linux i run witch hardware athlon xp 2.0 videocard 64 gforce and 256 ddr 233 hd 120

any one can help ....??? for start my module ?

Offline Olfmo

  • HammAdmin
  • Active Member
  • *
  • Posts: 5.963
  • my Votes: +182/-92
  • Gender: Male
    • Poke This Member
    • My Inhabitant Thread
Re: Run CE mod in Wine/Linux
« Reply #12 on: July 28, 2005, 12:32:16 pm »
well i acn't help you but i can tell you it won't work with loader anyway... loader is used to run several cheats and hacks and because of that it's banned in ce

also your english is damn hard to understand especially for non native speakers like me... please try to write in a good grammar so the german part of the community can help you too :)

Offline webwalker

  • Owner of the post with highest quality
  • Moderator
  • Active Member
  • *
  • Posts: 1.342
  • my Votes: +37/-8
  • Gender: Male
  • The Rune after "Jah" should be "WOHL!" yes?
    • Poke This Member
    • My Inhabitant Post.
Re: Run CE mod in Wine/Linux
« Reply #13 on: July 28, 2005, 05:15:38 pm »
@JEYCORP: Olfmo is correct, you're trying to run "witch loaders" (should be "with loaders").  They don't work with the mod.  Make an image of your LOD CD, and mount that with DaemonTools (or equivalent).  If you've installed NoCD crack, or other things which changes the actual executables (e.g. altering game.exe), re-install without the loader so you have the pristeen file set, then install 7.55, activate, and install 7.59.  (Olfmo tiene razon, CE no funciona con 'loader'.  Installacion del "Mod" requiere un 'file set' que es virgin D2LOD. Tu machina esta sufficiente, y es mejor que el mio.)

@olfmo: JEYCORP has a .br address, probably Brazilian, so his native language is probably closer to Spanish than to English or German.  I can understand him fairly easily, so I'll translate between the various parties as much as I'm able.

Offline Killsyndrom

  • Active Member
  • *
  • Posts: 5
  • my Votes: +0/-0
  • Enter your Realm here
    • Poke This Member
Re: Run CE mod in Wine/Linux
« Reply #14 on: October 11, 2005, 06:30:14 am »
when i got to act 3 where there would normally be a little glisen from the after efects of rain on the ground there r just white dots is that just chaos empire or is it my game.

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
2875 Views
Last post October 17, 2004, 10:51:54 pm
by mpga-storm