Portable Haven and Hearth

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Portable Haven and Hearth

Postby Psilocybin » Thu Oct 12, 2017 5:23 pm

So I will be doing some traveling across the SE US over the next couple of weeks with work. I was told I have full permission to do what I would like with my company issued laptop while it is in my possession including playing games. Unfortunately they were not installed with Java and I was told that I cannot install any apps unto the HD (killing my hopes of playing while traveling although I can play other games like League, Hearthstone, etc because I can install them on a flash drive). Luckily I found a sort of work around that I need someone with a bit more Java knowledge than me to help work out the last few kinks if possible. Let it be known that I have permission to do this; I'm just not Java saavy enough to get it to work. I have downloaded a 64 bit version of JPortable Launcher. This is supposed to act as a Java emulator for 64 bit based windows systems. It is supposed to load the JRE through the app allowing .jar files to be opened and used without having JRE installed directly into the system. No matter how many times I try to open the haven.jar or the client-res.jar they will not open. So if anyone has any knowledge of portable apps or JPortable and could give me insight as to how to run Haven (legacy or Hafen) through the app or another Java workaround so I can maintain my characters while traveling. This wouldn't be an issue but I play on a desktop and no one else in my home plays the game to be able to shove curios up my characters sphincter.
User avatar
Psilocybin
 
Posts: 23
Joined: Mon Jan 16, 2017 12:16 am
Location: Pensacola, FL

Re: Portable Haven and Hearth

Postby Granger » Thu Oct 12, 2017 6:44 pm

You could try to download Amber and replace the call to jawaw.exe in the .bat file with one to your portable java launcher.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Portable Haven and Hearth

Postby Psilocybin » Thu Oct 12, 2017 7:25 pm

Through various trials and errors I was able to get it to work and I think this could help other hearthlings in their quest to play while traveling, working, etc. This process will allow you to play Haven and Hearth on a system where JRE (Java Runtime Environment) cannot be installed or updated. My steps to recreate this process include:

1.) Download - Portable Apps
2.) (Optional) Choose your install path to be on a removable hard disk for convenience of travel.
3.) Once in the app Option -> Advanced -> On the left side there will be a check box marked "Show Advanced Apps"-> Mark this box
4.) In the app go to Apps -> Get More Apps (title) ->Check jPortable (32 or 64 bit depending on Windows) -> Check JavaPortableLauncher (32 or 64 bit DEPENDING ON JAVA VERSION YOU SELECTED)
5.) I have the files copied unto a flash drive so I can play and travel but this should work for any client or build of the game. (I got Amber to work with Hafen and Union to work with Legacy) Open your Haven directory -> right click haven.jar -> properties -> open with.. -> go to your JavaPortableLauncher directory and check JavaPortableLauncher.exe
6.) I'm almost certain you could just update the .bat file in the custom clients folder to show the java directory to be that of the portable launcher but I was unable to get this method to work. If anyone is able to get this method to work, please post so I can add it into the instructions.
6.) Enjoy the Game!

**My formatting skills are weak and I apologize for that. If my instructions are unclear I'd be happy to make a video on how to install and run the software to allow Haven to be played without JRE installed on their system.
User avatar
Psilocybin
 
Posts: 23
Joined: Mon Jan 16, 2017 12:16 am
Location: Pensacola, FL

Re: Portable Haven and Hearth

Postby Psilocybin » Thu Oct 12, 2017 7:42 pm

6.) I'm almost certain you could just update the .bat file in the custom clients folder to show the java directory to be that of the portable launcher but I was unable to get this method to work. If anyone is able to get this method to work, please post so I can add it into the instructions.

Apparently I'm an idiot and forgot how to change the java directory in the .bat file. If you can edit this to be the JavaPortableLauncher directory then you should be ok.
User avatar
Psilocybin
 
Posts: 23
Joined: Mon Jan 16, 2017 12:16 am
Location: Pensacola, FL

Re: Portable Haven and Hearth

Postby MagicManICT » Fri Oct 13, 2017 2:08 am

Another option would be to just install a Linux version to a small to medium (32GB+) flash drive and use it to boot your system and play Java based games.
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
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Portable Haven and Hearth

Postby Psilocybin » Fri Oct 13, 2017 1:19 pm

MagicManICT wrote:Another option would be to just install a Linux version to a small to medium (32GB+) flash drive and use it to boot your system and play Java based games.


Perhaps a virtual desktop? I use one for work but I haven't used linux since Ubuntu back in '08.
User avatar
Psilocybin
 
Posts: 23
Joined: Mon Jan 16, 2017 12:16 am
Location: Pensacola, FL

Re: Portable Haven and Hearth

Postby Granger » Fri Oct 13, 2017 5:45 pm

Psilocybin wrote:
MagicManICT wrote:Another option would be to just install a Linux version to a small to medium (32GB+) flash drive and use it to boot your system and play Java based games.


Perhaps a virtual desktop? I use one for work but I haven't used linux since Ubuntu back in '08.

No, as bare-metal version that runs from the stick and completely ignores your hard drive.
As you last encounter with Linux is nearly 10 years ago... maybe give it another try?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm


Return to How do I?

Who is online

Users browsing this forum: Claude [Bot] and 5 guests