haven on linux

Thoughts on the further development of Haven & Hearth? Feel free to opine!
eudorineu423
Posts: 2
Joined: Wed Feb 15, 2017 6:58 pm

haven on linux

Post by eudorineu423 »

is it possible? Is there any client that would allow one to play this game on ubuntu 16 for example?
User avatar
Ysh
Posts: 5953
Joined: Sun Jan 31, 2010 4:43 am
Location: Chatting some friends on forum

Re: haven on linux

Post by Ysh »

eudorineu423 wrote:is it possible? Is there any client that would allow one to play this game on ubuntu 16 for example?
Loftar develop on linux and client is in java. It should run on linux.
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.
I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.
eudorineu423
Posts: 2
Joined: Wed Feb 15, 2017 6:58 pm

Re: haven on linux

Post by eudorineu423 »

I got the original client and it opens it with a browser but I only see some lines of text (looks like html)
User avatar
Aethyr
Posts: 323
Joined: Sun Jun 22, 2014 6:55 pm

Re: haven on linux

Post by Aethyr »

Do you have java installed? open it with java
Fierce_Deity
Posts: 783
Joined: Thu Feb 12, 2015 4:11 pm

Re: haven on linux

Post by Fierce_Deity »

If it can run the right version of java, it can run haven. Since java is a virtual machine/computer. The operating system should not matter if you can put java on it.
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: haven on linux

Post by MagicManICT »

I can state for a fact that this will run on most flavors of Linux as long as A) you have the proper version of Java installed, and B) You have drivers supporting OpenGL 2.x or newer. (Some flavors lack one or the other.)

The proper version of Java: Java Standard Edition 1.7.xxx or newer (Won't run on Micro Edition--ie phones and embedded systems).

You may have a configuration problem. Make sure that the autohaven.jnlp file is opened with Java Web Start--javaws.exe. Make sure that Java is enabled in the browser (generally a security no-no, but needed to run Haven or other web-based Java applications).
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
Fostik
Posts: 2521
Joined: Tue Jul 05, 2011 4:08 pm
Location: EU

Re: haven on linux

Post by Fostik »

For example custom client:

viewtopic.php?f=49&t=40400

Have explaination how to run it on different OS.
Known as zunzon. Contact discord: zunzon.
My experience of market building in W13
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: haven on linux

Post by jorb »

Install java. Loftar uses nothing but Linux.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
Fierce_Deity
Posts: 783
Joined: Thu Feb 12, 2015 4:11 pm

Re: haven on linux

Post by Fierce_Deity »

If it can run java, it can run haven. Some phones that can download java can run haven, although the performance is bad.
User avatar
Pupsi
Posts: 550
Joined: Mon Jun 06, 2011 4:31 am
Location: heheh

Re: haven on linux

Post by Pupsi »

Code: Select all

java -version
(in terminal)
it should give input something like this:

Code: Select all

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
Most of Linux distros coming with OpenJDK, i didnt wanted to fuck with it and just removed it and installed Java 8 from Oracle website.

About running client
For example ember coming with run.sh script to run his client.
All you need is give permission to run it as program

Code: Select all

chmod +x /path/to/yourscript/run.sh
and then

Code: Select all

/path/to/yourscript/run.sh
to run it xD
But I'm doing a little differently:

Code: Select all

cd ./Hafen/
I have installed Amber in Hafen directory which is in my Home directory
and then

Code: Select all

sh run.sh
while you are in that directory.

For people like me who using double GPU laptop: edit run.sh with just adding

Code: Select all

primusrun
(For nvidia, for amd i dont know lol) before

Code: Select all

java -Djogl.disable.opengles=true -Xms512m -Xmx1024m -jar hafen.jar -U https://game.havenandhearth.com/hres/ game.havenandhearth.com
but only if you are using Bumblebee.
I am playing Hafen on Fedora and it working just perfect on NVIDIA GeForce GTX 765M
Image
I know its necro post, but I did not find almost any help on the forum about running Hafen on Linux (especially for beginners)
I dont claim to be a Linux guru etc. Thanks xD
w5 Hermit>Road Ville>Horde>RQ
w6 The Sparta
w7 Isla de la tortuga>A.D>CookieVille (not sure if it was w7 or w6)
w8 Amish Paradise
w9 Amish Paradise
w10 Amish Paradise > Maid Cafe (until april 2017)
w11 Funcy Huts
w12 :P

Return to “Critique & Ideas”