Launch from Steam?

Ask and answer any and all questions pertaining to Salem's game-play.

Launch from Steam?

Postby Ugarte » Wed Apr 03, 2013 2:22 pm

Just a quick question from a new player. I usually add all of my games to my Steam client, even non-Steam games, for the convenient notifications and overlay. I tried adding Salem but it didn't seem to work. Adding the desktop shortcut has it come up as "javaws" with a shortened target. Changing the steam game to the desktop shortcut's actual target link (a lengthy jumble of system, java categories) didn't work either. Has anyone else launched the game through Steam?
Ugarte
 
Posts: 3
Joined: Wed Apr 03, 2013 2:16 pm

Re: Launch from Steam?

Postby Kandarim » Wed Apr 03, 2013 3:33 pm

weird, I generally do it completely reversed (adding shortcuts to steam games to my desktop).

However, if you really want to persist, you can do it like this (I tried, it works) :
Code: Select all
Name:
"whatever you want"
Target:
"C:\Program Files (x86)\Java\jre7\bin\javaws.exe" "C:\Users\Simon\Desktop\SalemClient by Ender.jnlp"
Start in:
"C:\Program Files (x86)\Java\jre7\bin\"


Obviously, the actual paths will differ for you, but the should be similar. Note that jre7 is generally not advised for Ender's client. I just was too lazy to navigate to my 64-bit java dists :-p
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: Launch from Steam?

Postby Ugarte » Wed Apr 03, 2013 4:25 pm

Hmm, didn't seem to work for me. First, I went and grabbed that Ender's client. I had heard it mentioned in a Let's Play I watched yesterday, but didn't know anything about it. Tried your coding on Steam - It brought up a Java 7 splash window, but then goes to an error window, "Unable to launch the application. Could not load file/URL specified: C:\\Users\\Anthony\\Desktop\\SalemClient by Ender.jnlp

Code: Select all
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\\Users\\Anthony\\Desktop\\SalemClient by Ender.jnlp]
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


I'll have to mess around with it a bit more.
Ugarte
 
Posts: 3
Joined: Wed Apr 03, 2013 2:16 pm

Re: Launch from Steam?

Postby Kandarim » Wed Apr 03, 2013 4:28 pm

Ugarte wrote:Hmm, didn't seem to work for me. First, I went and grabbed that Ender's client. I had heard it mentioned in a Let's Play I watched yesterday, but didn't know anything about it. Tried your coding on Steam - It brought up a Java 7 splash window, but then goes to an error window, "Unable to launch the application. Could not load file/URL specified: C:\\Users\\Anthony\\Desktop\\SalemClient by Ender.jnlp

Code: Select all
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\\Users\\Anthony\\Desktop\\SalemClient by Ender.jnlp]
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


I'll have to mess around with it a bit more.


please ensure you used DOUBLE quotes (eg " instead of '. still only one button press!)
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: Launch from Steam?

Postby Procne » Wed Apr 03, 2013 4:29 pm

"SalemClient by Ender.jnlp" is supposed to be the name of your .jnlp file. Dunno about you, but for me it's called "updater.jnlp"
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: Launch from Steam?

Postby Ugarte » Wed Apr 03, 2013 4:44 pm

Ok, I got it. I had changed updater to SalemClient by Ender just to fit the example, but something was still out of wack. Just re-downloaded the client and started from scratch and it worked. Probably a typo on my part somewhere in the mix. Now I can shift+tab to pull up the Steam overlay as usual. Thanks for the feedback, looking forward to trying out the game tonight.
Ugarte
 
Posts: 3
Joined: Wed Apr 03, 2013 2:16 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 280 guests