Linux Installer Script

serinar16

Dalayan Beginner
Folks,

I got the Linux "installer" done faster than I thought. It's an early incarnation that I hope to expand upon as features are requested. That said, it may still have some issues, and if you find some, please let me know and I will try to fix them ASAP.


- What is it?

The script validates that you have the packages necessary to create a working installation of SoD under Wine on Linux.

It will make sure dependencies get installed, and will make some basic modifications to make it easier to play, including creating a launch script (runsod.sh), a desktop icon and changing the game mode to run in a window rather that full-screen.

It's not quite a point-and-click type of deal (I can't, for example, automatically download the EQLive executable due to licensing restrictions), but it will tell you what you need and where to get it.

- Why play on Linux?

I experienced far better performance, even 2 boxing. The CPU didn't work nearly as hard, and the NVidia clipping bug was gone!

- What distros are supported?

It's been tested under Sabayon 9 and Ubuntu 12.04 as of this moment.

- What do I need to run this?

1) Some modern variant of Linux, along with a working KDE/Gnome/Unity/whatever XWin environment
2) Ruby - tested under 1.8.7 and 1.9. Install via your favorite package manager
3) The 'open4' Ruby package - can be installed using "sudo gem install open4"
4) The EQLive "EQ_setup.exe" file from http://everquest.station.sony.com. You will need a Station account to get this.
5) Wine (1.5.13 or higher recommended), winetricks, mono (mono-complete for some package managers) and cabextract packages. These can be installed using equo/apt/yum/whatever package manager your distro uses.
6) The sod_install.rb script!

- How do I make this work?
1) Install the aforementioned packages. If you don't do so, the script will remind you, and will not proceed.
2) Copy the sod_install.rb script and EQ_setup.exe file to an SoD folder like /home/yourname/sod.
3) Run "./sod_install.rb" or "ruby sod_install.rb" from your SoD folder in step 2. Follow the steps, and make sure to read the directions for a clean installation!
4) Double-click the Shards of Dalaya desktop icon, or run "./runsod.sh" from whatever directory you installed to.

- Known issues
1) Full-screen mode sucks. Not much I can do about that I'm afraid
2) EQW is not supported. It may or may not work, but I wouldn't count on it. It shouldn't be necessary either really
3) I had the EQLive installer hang partway through. Again, I have no control over that sadly, but you can either just re-run the script, or install it manually (wine EQ_setup.exe) then run the script again afterward

- I have a problem/request/need help?
Post to the thread or PM me and I'll do what I can.

- Where can I download this script?
https://github.com/fizzgig16/sod-installer

I suggest downloading the ZIP file (see the button at the top of the page), rather than another method, unless you want to git pull. More effort than it's worth. If you download the zip file, just type "unzip " followed by the name of the file to extract it.

- Can you give me more information? I'm a Linux newbie.

Yes! I wrote up detailed information on the wiki: http://wiki.shardsofdalaya.com/index.php/SoD_in_Linux

Hope this helps folks out!

Serinar
 
Last edited:
not that ill use linux but i hope this works for all those linux fans! if it does Kudo's to you! Staff should Sticky this!
 
Thank you so much for this. Worked like a charm. Having issues getting a full screen display in a window, but I think that's more an issue with Unity than with SoD specifically. Funny that I got it working in Linux but still can't play the game in Windows 8.
 
Heh, I know. FS seemed to work poorly in my testing as well. Not sure why, but I'm not big on FS anyway, so I haven't really endeavored to find out what's up.

Glad it worked - thanks for the feedback! Always glad to modify it as needed.
 
My concern wasn't actually about getting it to be full screen, but I couldn't get it to be windowed full screen. The stupid Unity nonsense thinks it's more important than my apps and when I would set the game to the appropriate resolution, it would be below the level of the screen, and off to the right some because it was offset by the launcher and the panel.

I ended up installing Unsettings, and under Panel enabling "Opaque if maximized" and the Compiz Control Panel enabling legacy full screen support. Among other things I was changing, I'm not sure which one of those actually fixed it, but I recommend Ubuntu users installing both just for more control over their desktop anyways. There are a few other cool settings that are nice to have as well.
 
ok i hosed something up. got the sod patcher to run, then it reverted to eq patcher and then said i cant establish connection.
i installed my EQ disks onto the puter. having trouble .
could i go to the eq website and get the desired info from the free version they have available now? would that work for runing sod?
 
Yes, in fact that's the recommended method to do so. If you are using the script I provided, just download SOE's EQ_setup.exe to the same folder as the script, and run the script. It will check the prereqs, install the game, then invoke the patcher for you. If it's acting up after that, post back and we'll sort it out.
 
ok made free account on EQ. now im getting syntax error line 4. any suggestions? or help. a download would be great.
 
Okay, Followed the entire first section and downloaded all the files. No problems at all all installed. Put the exe file and the script in to a new folder named sod tried running both commands as suggested. Get a syntex error in line 4 with the ./sod command and several syntex errors when running the ruby sod command.
 
sod_install.rb:5: syntax error, unexpected '<'
<html>
^
sod_install.rb:7: syntax error, unexpected '<'
<meta charset='utf-8'>
^
sod_install.rb:8: syntax error, unexpected '<'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
sod_install.rb:8: syntax error, unexpected tIDENTIFIER, expecting $end
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^

i used user@ubuntu:~/sod$ ruby sod_install.rb
 
downloaded the file from the link. extracted and replaced file. ran the ruby command and got :
sod_install.rb:24:in `require': no such file to load -- open4 (LoadError)
from sod_install.rb:24
 
Double check the instructions above:

"The 'open4' Ruby package - can be installed using "sudo gem install open4"

That will solve it.
 
still not working, but i am getting closer!!!

this is current hurdle......

Congratulations! Shards of Dalaya is now installed. you can run it by executing './runsod.sh' If you are getting messages on your button saying 'String not found', re-run the SoD patcher, and check the 'Repatch All' button. This should fix the problem.

myname@ubuntu:~/sod$ ./runsod.sh
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ny4Y72/pkcs11: No such file or directory
The current date is 11/09/12
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
 
Does it just crash out at that point?

The keyring thing means something is broken in your (obviously) gnome keyring package - I would upgrade all packages on your system to the current version to fix.

I have no clue what that latter problem is. It doesn't look to be fatal - my guess is that the stupid keyring stuff is breaking it. A full update of your system *should* hopefully address that.
 
Back
Top Bottom