Page 1 of 1

Launch from Steam?

PostPosted: Wed Apr 03, 2013 2:22 pm
by Ugarte
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?

Re: Launch from Steam?

PostPosted: Wed Apr 03, 2013 3:33 pm
by Kandarim
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

Re: Launch from Steam?

PostPosted: Wed Apr 03, 2013 4:25 pm
by Ugarte
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.

Re: Launch from Steam?

PostPosted: Wed Apr 03, 2013 4:28 pm
by Kandarim
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!)

Re: Launch from Steam?

PostPosted: Wed Apr 03, 2013 4:29 pm
by Procne
"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"

Re: Launch from Steam?

PostPosted: Wed Apr 03, 2013 4:44 pm
by Ugarte
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.