Running Custom Client on Linux

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

User avatar
dagrimreefah
Posts: 2648
Joined: Wed May 25, 2011 3:01 am

Re: Running Custom Client on Linux

Post by dagrimreefah »


Yes indeed, that's the link. My bad, thanks Borka ;)
Tornjak
Posts: 3
Joined: Tue Jul 30, 2013 3:56 pm

Re: Running Custom Client on Linux

Post by Tornjak »

I've tried everything, but can't make Ender work on Linux.. When i try to run my run.sh, he doesn't do anything.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Running Custom Client on Linux

Post by borka »

you got the needed jogl and gluegen libaries in your Ender folder?
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Tornjak
Posts: 3
Joined: Tue Jul 30, 2013 3:56 pm

Re: Running Custom Client on Linux

Post by Tornjak »

Yup. All of them. But I've deleted them all because it didn´t work after 2 days of trying. I will try it again en post all the files I have in the map, and my run.sh
User avatar
synntax33
Posts: 147
Joined: Mon Aug 22, 2011 5:48 pm

Re: Running Custom Client on Linux

Post by synntax33 »

So I spent a few hours attemtpting to get Enders to work in Ubuntu 12.04, and I followed this thread, and also found this:
http://www.havenandhearth.com/forum/viewtopic.php?f=27&t=14575&p=225786&hilit=babushka#p225786

My biggest obstacle was actually having the right .so files. I downloaded the ones from the links on this thread, the ones Borka and Grim put up, extracted the proper types (I am running 32 bit) and still wasnt having any luck. Babushka ran, but I couldn't see what it did and where, but I did notice that there was a list of the 4 .so files in the Enders thread, which I took out of the gilbertus linux client and put into the folder my java paths to in the script. This worked, finally.

So to sum up, I am using java Icedtea, installed through software center. My run.sh is this:

Code: Select all

java -Djava.library.path="/home/skull/Desktop/hnh" -Xms256m -Xmx512m -jar /home/skull/Desktop/hnh/haven.jar -d moltke.seatribe.se -r ./res
I simply unpacked Enders client, changed the folder name to hnh( no good reason, just lazy I guess) added the update and skin available from same link Enders is on, downloaded the Gilbertus Linux client, copied the 4 .so files into my hnh folder, made the run.sh file, right clicked it, selected properties->permissions->allow executing file as a program. The 4 .so files are:
libgluegen-rt.so
libjogl.so
libjogl_awt.so
libjogl_cg.so

I couldn't find the libjogl_awt.so in the link earlier in the thread, but it seems the others were there. If anyone would like to post the 4 they are using from the above link that would be cool to see.

Like I said, I used the resources available here, but I had alot of trouble locating the right .so files, and the ones from Gilbertus worked first time. I will probably play around with it, see if the other jogl's and glugens will work for me, maybe improve the performance (is kind of laggy right now). I just thought I would add this here to help out, since I caught so much hell on something that seemed pretty simple :D
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Running Custom Client on Linux

Post by borka »

libjogl_awt.so is in Ubuntu 12.04 libjogl-jni package http://packages.ubuntu.com/precise/libjogl-jni

i guess libnativewindow_awt.so is the replacement as it's in the jogamp and in http://packages.ubuntu.com/precise/libjogl2-jni package
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
RoastBeef
Posts: 1
Joined: Wed Nov 06, 2013 2:43 am

How can I play HnH on Ubuntu 12.04 LTS?

Post by RoastBeef »

Hello,

I was wondering how can I run HnH on Ubuntu 12.04? If so, can I run Ender's Client?

Thanks alot.
User avatar
longfeather
Posts: 293
Joined: Wed Jan 19, 2011 8:15 pm

Re: Running Custom Client on Linux

Post by longfeather »

I just do it like this:

cd into whatever folder your client is in, in my case I would open terminal and type:

Code: Select all

cd /home/YOURCLIENTFOLDER


then I type this into terminal and hit enter:

Code: Select all

java -jar YOURCLIENT.jar -d moltke.seatribe.se


This works for anemone or however it is spelled on my system. Which I just got from github by cloning the repository into a folder, by typing the appropriate command into terminal, like so:

Code: Select all

git://sh.seatribe.se/client /FOLDER/YOU/WISHTOSAVETOHERE/ -or the adress for any repository you happen to be cloning from, provided is default client


hope this helps someone. I had to figure it all out by myself a while back and it was very confusing...
User avatar
Chakravanti
Posts: 3345
Joined: Sat Aug 29, 2009 3:38 am

Re: Running Custom Client on Linux

Post by Chakravanti »

I have Union confirmed working on linux, so if anyone is having trouble I can probably help troubleshoot you.
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Running Custom Client on Linux

Post by borka »

Mint 16 Mate 64Bit here - got latest OpenJDK7 and IcedTea after installing Mate and running apt-get update and dist-update afterwards.
Next was downloading Ender updater.jar, make a Folder named HnHEnder and drop in there. Change permissions to be able to execute updater.jar.
Everything needed including libaries gets downloaded ... running Ender by executing updater.jat atm ...

next: run.sh + customize res ;)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head

Return to “The Wizards' Tower”