»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Hot Deals Community

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2002, 08:04 AM   #1 (permalink)
Registered User
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,565
strangerstill is on a distinguished road
[ECC2] in Wine (on *nix systems)

Hi, thought I'd start a thread on running ECC2 in wine so that people can discuss their results and troubles.

I'll kick this off with a quickie on getting it running automatically...

I wanted ECC2 to start at the end of runlevel 5, i.e. before anyone logs in, so it runs even if my machine gets knocked over by a power cut while I'm away. Thing is, wine appears to need X to run, so I can't do it from an init.d script - so the place to run ECC2 from is the login manager startup script.

I use gdm (RH8) so the file to edit is /etc/X11/xdm/XSetup_0 or your equivalent (look for the line "DisplayManager._0.setup: /etc/X11/xdm/Xsetup_0" in /etc/X11/xdm/xdm-config) - append the lines:

cd /mnt/winedrive/Program\ Files/ECC2
nice -n 19 /usr/local/bin/wine /mnt/winedrive/Program\ Files/ECC2/CLIclient.exe > /dev/null 2> /mnt/winedrive/Program\ Files/ECC2/error.log &

This is fairly kludgy, but it works! although if anyone knows of a better way...

Oh, also I wanna be able to see how it's getting on - so I use this script:

==== <Ecc2dir>/status ====

#!/bin/sh

cd "`dirname "$0"`"
while true; do
cat ecc2-109.spd
sleep 1
tput cuu1
done

(Ecc2 outputs its status every second or so to ecc2-109.spd)

ECC2-109 in Linux! Yum!

strangerstill is offline   Reply With Quote
Old 12-05-2002, 08:39 AM   #2 (permalink)
Guest
Guest
 
Posts: n/a
FeLine has a page up w/ instructions on running it w/o WINE. It's a lot fast than WINE.

He also has a GUI wrapper for it as well.

You'll have to submit DP's manually from hawkeye177's page, but I think it's worth the IT/s gain.

I'm not try to "crap", just letting ya know.

Linux ECC2 Client
  Reply With Quote
Old 12-05-2002, 08:43 AM   #3 (permalink)
Registered User
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,565
strangerstill is on a distinguished road
Hey, thanks! I thought we were still waiting for the ECC2 Linux client.
I'll have to try that out now...
strangerstill is offline   Reply With Quote
Old 12-05-2002, 08:51 AM   #4 (permalink)
Guest
Guest
 
Posts: n/a
I compiled it from src a couple of days ago. Spent some time w/ FeLine on irc last night letting him know some of the "issues" I was running into.

The wrapper looks real clean and the compile part was easy as pie. I am amazed I got through it!

For those still n00bs like me, don't be afraid to try it.
  Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 08:45 PM.