Salem Client portable

Forum for game modifications and custom clients.

Salem Client portable

Postby prius » Wed Aug 05, 2015 11:51 am

Hi,

is it possible to make the client with Java portable to use them from a USB stick?

Greets
prius
 
Posts: 9
Joined: Mon Apr 01, 2013 2:39 am

Re: Salem Client portable

Postby Shrapnel » Wed Aug 05, 2015 12:35 pm

I tried this back with Haven & Hearth, and it failed miserably.. While you can have the entire client installed on the USB stick, it still required a java installation on the PC to play it.

Im assuming that its the same thing for Salem, So unless you can install java on the USB and have it run from the USB, im going to say no.

Then again, someone with more experience than me is going to come rushing in here and explain that it is possible, and how to do it properly with some crazy ass setup that takes 30 minutes to set up.
User avatar
Shrapnel
Customer
 
Posts: 420
Joined: Thu Feb 13, 2014 10:09 pm

Re: Salem Client portable

Postby Kandarim » Wed Aug 05, 2015 1:06 pm

Indeed: the client itself is completely portable as-is, just copy your ~/Salem folder and use an appropriate launcher bat:

Kandarim wrote:You can run the client from the commandline like this (you can easily dump it in a .bat):
Code: Select all
start "" java -jar lsalem.jar -U http://game.salemthegame.com/res/ game.salemthegame.com

From the Salem/bin/ directory. If you get some errors about gluegen-rt.dll not being present, you're probably using the wrong version of java and you should try direct links to java:
Code: Select all
start "" "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar lsalem.jar -U http://game.salemthegame.com/res/ game.salemthegame.com


The Java installation will be the issue, but I turned this up. Not sure how well it will or will not work, but it can be worth a shot if you have no other options.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Salem Client portable

Postby Kralith » Wed Aug 05, 2015 1:28 pm

Kandarim, what is with the Cache directory?
Doesn't the client it put into the directory .salem on your homedirectory?
I think it is hardcoded, or isn't?
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: Salem Client portable

Postby Kandarim » Wed Aug 05, 2015 2:07 pm

yup, it is hardcoded to be ~/.salem
However, even on systems were portable apps are required, users are typically allowed to write to their homedirectory, so I doubt that's a big issue.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Salem Client portable

Postby Shrapnel » Wed Aug 05, 2015 11:33 pm

Glad someone was able to provide a better explanation and a possible solution, i might have to look into this again, so i may never have to leave home without it!
User avatar
Shrapnel
Customer
 
Posts: 420
Joined: Thu Feb 13, 2014 10:09 pm


Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 12 guests

cron