Pages: [1] :: one page |
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Vaneshi SnowCrash
|
Posted - 2010.07.14 18:32:00 -
[1]
Note: My MBP's fan has gone rather cranky so it's off for repair. Stupid cheap Sunon fans... ho hum. But this is what I've got so far. When I can I'll get the Applescript launcher code and such here.
Disclaimer, I know a little about what I'm doing. Far to much to be just dangerous, this won't invalidate your warranty. Genius bar shouldn't refuse to service your Mac. However, just like the Linux crowd EVE + Wine is not supported by anyone but ourselves. If Steve Jobs turns up at your door wanting your liver that's your problem. K? Good.
Overview. This will install WINE (aka wine, Wine, Wine Is Not an Emulator) on your Mac allowing you to run Windows software without the need to bootcamp. It is an abstraction layer converting Windows function calls in to something your Mac can understand. In simple terms, it does what Cider (as used in the EVE Mac client) does. It's actually the codebase that Cider originally came from. To install it we will need to build it and this means adding stuff to your install of OS X. More information on Wine can be found here: http://www.winehq.org and for a list of stuff it can run search here: http://appdb.winehq.org as you can see the list is quite extensive.
Difficulty: A 3 out of 10 for a novice user.
You will need:
Xcode, it's on your OS X install discs and you can download it via a free ADW account from apple here: http://developer.apple.com/technologies/xcode.html
XQuartz, this is an X11 interface. Apple supplies an older version you can install and should be on your install discs you can get the latest version from: http://xquartz.macosforge.org/trac/wiki
MacPorts, This gives you a relatively simple means of installing new, Open Source, software to your machine. It won't be as integrated as you are possibly used to though. You can get it here: http://www.macports.org/
Terminal.app, you can find this off the Utilities menu in Finder, or by going to Utilities via the Programs stack or the usual way you'd want to get there.
The EVE client for Windows. Download it from CCP's website, make sure to select the off-line installer. Save it somewhere (say Downloads).
Installation
Step 1. Install Xcode in the usual manner. Mount the dmg, run the installer inside and accept the defaults. This might be overkill but it is guaranteed to bring in the libraries we need. Unmount the dmg when finished, reboot if prompted. Someone better versed in what we're trying to achieve can get creative to cut down on disk space used.
Step 2. Install XQuartz. Same as above, mount the dmg file and run the pkg installer that you find inside. It'll put it self in the Utilities area.
Step 3. MacPorts. This is the same as XQuartz, literally. It's a dmg with with a pkg inside of it. Run the installer.
Step 4. Open the terminal program.
Step 5. in the terminal type sudo port selfupdate and press enter. This will update the list of available software to the latest versions. It will ask for a password, this is the password you use when you login to the machine or when it is installing software updates.
Step 6. In the terminal type sudo port install wine-devel cabextract winetricks and press enter.
Now this will take quite a while, you may want to leave your system running overnight. It must be connected to the internet as it will be downloading the source code and compiling it. Obviously your system will slow down and the fans spin up as it grunts through this task, so if it lights up like a christmas tree and starts sounding like a hovercraft that's normal. It's also normal for the terminal window to be full of text about downloading, compiling, moving to staging and so on.
Eventually it'll stop spitting out stuff in the terminal window and return you to a <hostname>:~ <username>$ prompt. It's ready to do our bidding. If the last thing on the screen doesn't feature the word "Error" in it then our compile went without
|

Vaneshi SnowCrash
|
Posted - 2010.07.14 18:41:00 -
[2]
a hitch.
Basic Configuration
We need to configure Wine, just to give it some basic settings and allow it to create it's directory structure. To do this, in the terminal, run the command "winecfg". Go to the Audio tab and it'll warn you that no default driver is selected, this is normal and fine. Click Ok and it'll figure out that CoreAudio is what we want to use and set itself up. You can now click Apply and close the window.
Right, Wine is relatively happy and we've just got to add some of the stuff to make EVE happier. This where winetricks comes in to play, its a script with a lot of options that'll add bolt-ons to Wine. We're going to add corefonts and make sure geko is already there. To do this in the terminal "winetricks corefonts geko" press return and off it'll trot.
It's time to install the EVE client (finally), this is best done in Terminal. Type cd Downloads, and it should move you to the generic Downloads folder your browser has been putting stuff. Now in this example I'm using the current build of the client, obviously any subsequent patches will change some of the figures. Type: wine EVE_ and then press tab. You should end up with "wine EVE_Premium_Setup_167296_m.exe" press return.
In short order the terminal will fill with text, X11 will open on the Dock and the EVE client's installer will appear. Just let run through it with the defaults and everything will take care of itself for the most part. Wine doesn't quite know how to deal with OS X, so it will create a .desktop file (on your desktop) and the EVE client will deposit a .lnk file. In my experience neither of these will actually work for you so can be shoved straight in to the Trash.
Running the client from the terminal
This isn't the simplest way I will be honest here. However it is the quickest to make sure nothing bad is going to happen. In the Terminal type this mess:
env WINEPREFIX="/Users/<username>/.wine" wine explorer /desktop=EVE,1280x750 "C:\Program Files\CCP\EVE\eve.exe"
To explain this confusing mass of text. The "env WINEPREFIX" sets an environment variable which Wine will use to figure out where the programs you want to run are installed to. It's not needed BUT using it does mean we don't need to point Wine all the way through its directory structure to run stuff. The "explorer /desktop=EVE,1280x750" line is both a kludge to work around OS X and to deal with an issue EVE has running under Wine. It opens a desktop in a window the size you specify and then runs the program inside of it. In essence you get a window mode client that thinks its running full screen. You can adjust the size to better fit your screen but remember that you can't over the menu bar, so leave a gap, I find 50 pixels to be sufficient to accommodate the menu bar, window and leave a little wiggle room so I'm not triggering the Dock when I'm going after corp hanger buttons and such.
|

Vaneshi SnowCrash
|
Posted - 2010.07.14 18:46:00 -
[3]
reserved for latter stuffz.
Also, no, it's highly unlikley the fan is buggered due to WINE/EVE or some combination there of. It's far more likley a duff fan slipped through QA, which is annoying as all hell frankly.
|

korbot
|
Posted - 2010.07.15 11:10:00 -
[4]
does this wine version work better than the cider version?
|

Shin Chogan
Gallente
|
Posted - 2010.07.17 09:15:00 -
[5]
Edited by: Shin Chogan on 17/07/2010 09:23:21 That is a fantastic write up many thanks it appears to run Sooo much smother. One question I've got one obvious graphical anomaly. When the cursor changes to the one with the down pointing arrow on it like when you put the cursor on a tab or on the Accessories button it gets a white square over it. Any ideas on how to fix this ?
Needed to hack the winetricks script to use shasum rather than sha1sum to enable it to install anything else I got an sha1sum check error.
|

eXeler0n
Caldari 1ST German Space Force
|
Posted - 2010.07.18 22:12:00 -
[6]
Thanks for this nice tutorial.
My MBP is compiling wine and its depencies now. Tomorrow I will post here and report, how my eve works :)
greets
|

korbot
|
Posted - 2010.07.19 03:03:00 -
[7]
wine bottler will also work with this. and you don't need to compile wine either.
I tried it out and I was able to play. but I prefer the cider version. Something seemed to bug out the audio and clicking on certain ui elements caused odd temporary graphic bugs. I'm sure there are other bugs, I only spent an hour playing this version.
ccp and cedega have came far with the cider port of eve. I'm sure with tweaking the wine version could get just as good, but I personally don't see any reason to.
can anyone else think of any reasons to use wine over the official cider?
|

eXeler0n
Caldari 1ST German Space Force
|
Posted - 2010.07.19 06:57:00 -
[8]
How to hack the sha1sum? Got an error while downloading the winetricks things
|

Shin Chogan
Gallente
|
Posted - 2010.07.19 11:34:00 -
[9]
Originally by: eXeler0n How to hack the sha1sum? Got an error while downloading the winetricks things
edit /opt/local/bin/winetricks
Find the bit that says :
if [ -x "`which sha1sum 2>/dev/null`" ] then SHA1SUM="sha1sum" elif [ -x "`which open à.
change it to :
if [ -x "`which shasum 2>/dev/null`" ] then SHA1SUM="shasum" elif [ -x "`which open ...
|

eXeler0n
Caldari 1ST German Space Force
|
Posted - 2010.07.19 12:15:00 -
[10]
With this I got the same error :(
|

Vaneshi SnowCrash
|
Posted - 2010.07.27 06:17:00 -
[11]
Originally by: korbot does this wine version work better than the cider version?
Yes, substantially so. It's not perfect by any stretch of the imagination but I can run around a fleet fight with all brackets off and all stuff turned on with a 9400M. Ok... I can *JUST* about do that but try it in Cider and see how far you get :)
Originally by: eXeler0n Edited by: eXeler0n on 19/07/2010 19:36:05 Now my eve works. Will test it a little longer an report back then.
Can I make a file for the dock to start eve? Bash file or something?
Edit: Cursor is buggy (over a button the cursor looks liek a square). Is there any fix?
Yes, the cursor block thing is a known issue the Linux people have. I've no way to fix it myself however the cursor does continue to function.
I'm working on refining my AppleScript dock icon thingie as at the momment its a sledgehammer of a hack :)
|

Ravenstain
Caldari Imperial Syndicate Forces En Garde
|
Posted - 2010.07.30 17:10:00 -
[12]
Sorry if this is a stupid question (Im new to all this).
Could I just make an Automator app run a shell script with the Originally by: Vaneshi SnowCrash env WINEPREFIX="/Users/<username>/.wine" wine explorer /desktop=EVE,1280x750 "C:\Program Files\CCP\EVE\eve.exe"
in it to run the game? --------------------------------------------------------------------------------------------------
|

Vaneshi SnowCrash
|
Posted - 2010.07.31 18:55:00 -
[13]
Originally by: Ravenstain Edited by: Ravenstain on 31/07/2010 09:54:48 Sorry if this is a stupid question (Im new to all this).
Could I just make an Automator app run a shell script with the Originally by: Vaneshi SnowCrash env WINEPREFIX="/Users/<username>/.wine" wine explorer /desktop=EVE,1280x750 "C:\Program Files\CCP\EVE\eve.exe"
in it to run the game?
EDIT: One other thing. Is it possible to get my settings from Mac client to the new Wine client (the window layout, overview and so on)?
Updated third post with a code snippet for AppleScript editor. It's nasty but seems to work.
It should be possible to copy the settings over, if you look through the Library/Preferences/EVE folder you should see "p_drive" go through there and you should find all of the Cider's clients settings. Drop them in .wine/drive_c/<where EVE's settings live> and you should be golden.
|

Ravenstain
Caldari Imperial Syndicate Forces En Garde
|
Posted - 2010.07.31 20:50:00 -
[14]
<3 you long time 
Took a bit of tinkering, but I now have my client setup just as before If not for the (bit)annoying pointer bug, the game runs quite a bit better than with cider. It was just playable with everything on high with no shadows on my 9400M. Haven't yet tried the AppleScript, but Ill give that a go too.
One more question - is it possible to dualbox in this way? How?
P.S. CCP should seriously have to think about sacking (is it transgaming?) the cider and working with wine (or go native ). --------------------------------------------------------------------------------------------------
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |