t824601 Posted June 11, 2020 Posted June 11, 2020 Hey guys, Quick question, any secret sauce to launch Epic Store games via Hyperspin? First time I needed to do this with the release of Samurai Showdown. Launching the exe starts loading the game, but then its unable to connect. Tried launching the shortcut, but doesn't seem Hyperspin likes that with these type of weird url shortcuts Epic creates. Any other solution than waiting for a pirated version for a game I purchased??? Starting to hate this Epic Store even more...
Spawk Posted June 11, 2020 Posted June 11, 2020 Hmmm, this is interesting. These shortcuts are url’s (like website addresses) so I am pretty sure an RL module would have to be created specifically for them.The best way to handle this until then is to set the execution to “normal” and pc game “enabled” in HyperHQ for that wheel.No executable needed as this is Pc game.Have all your urls in one folder for rompath.And set extensions to url.Let me know if this works for you :-)Sent from my iPhone using Tapatalk
t824601 Posted June 11, 2020 Author Posted June 11, 2020 Thank you Spawk for the quick reply!!! I will give it a try as soon as I am off work, crossing fingers :)!
t824601 Posted June 11, 2020 Author Posted June 11, 2020 One caveat of using this method might be loading ucr. I normally use the PC Games ini to load and unload UCR before and after all my loads. If using this method where would I be able to load and unload UCR as the exe wouldn't be needed and would also omit the ucr scripts loading section I use to emulate xbox controllers for my cabinet.
Spawk Posted June 11, 2020 Posted June 11, 2020 Sorry I am not familiar with UCR. That does add a layer of complexity that probably won't work as well as the pc games module would. I don't think impossible though! If you have the ahk scripts already, they can be called through a .bat file. And if the .bat file itself is a problem for some reason, there are tools to convert it to an exe. Unfortunately I have no arcade controls to test any of this for you.
t824601 Posted June 11, 2020 Author Posted June 11, 2020 14 minutes ago, Spawk said: Sorry I am not familiar with UCR. That does add a layer of complexity that probably won't work as well as the pc games module would. I don't think impossible though! If you have the ahk scripts already, they can be called through a .bat file. And if the .bat file itself is a problem for some reason, there are tools to convert it to an exe. Unfortunately I have no arcade controls to test any of this for you. Thank you again for the help, any assistance is greatly appreciated :)! Will work on this this afternoon and see were it takes me. You have given me some great tips :)!!!!
tancrede987 Posted June 11, 2020 Posted June 11, 2020 Using HS for EGS games is a pain in the ass given the fact EGS whine for focus when exiting games.
Spawk Posted June 11, 2020 Posted June 11, 2020 Using HS for EGS games is a pain in the ass given the fact EGS whine for focus when exiting games.You can not use any kind of “quick exit” for pc games, exiting should always be done by in game menu.I only have 1 egs game atm (gta5) but when I exit that game it quits altogether, not back to any launcher. I do start the game through the URL though not the egs launcher.Can you expand on this? Do some games not have a URL? Or do they always exit back to some launcher?Sent from my iPhone using Tapatalk
tancrede987 Posted June 11, 2020 Posted June 11, 2020 Exiting by menu, alt-f4, HS hotkey, it's the same (whichever I use HS or directly EGS). BTW, I'm using RocketLauncher by pointing the EXEs (EGS shorcuts doesn't works thru network).
t824601 Posted June 12, 2020 Author Posted June 12, 2020 13 hours ago, tancrede987 said: Exiting by menu, alt-f4, HS hotkey, it's the same (whichever I use HS or directly EGS). BTW, I'm using RocketLauncher by pointing the EXEs (EGS shorcuts doesn't works thru network). I tried that for Samurai shodown first, get "Cannot connect" once in the game menu, so doesn't seem this game likes launching via exe for some reason.
Spawk Posted June 13, 2020 Posted June 13, 2020 Tried running the url in a batch file and the "silent=true" parameter does not get passed correctly. So the EGS launcher loads... however the game does launch! It is not the prettiest solution but you can just task kill the EGS launcher after game exits. So the batch file might look something like this: @echo off :: -------- Start UCR (change paths where needed) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStart.ahk" :: :: -------- Launch Game (GTA5 in this example) take the &Silent=True off the end as it doesn't pass correctly @Start com.epicgames.launcher://apps/9d2d0eb64d5c44529cece33fe2a46482?action=launch :: :: -------- Set a loop to wait for game to be closed :wait timeout 20 >nul tasklist | findstr /i /L /c:"GTA5.exe" >nul if not errorlevel 1 goto wait :: :: -------- Kill EGS Launcher after game quits taskkill /f /im EpicGamesLauncher.exe :: :: -------- Close UCR (same as above, be aware of path) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStop.ahk" exit
Spawk Posted June 14, 2020 Posted June 14, 2020 Didn't try this? Anyway, I found out that the '"&" symbol is what was messing up the silent launch. Also found out that you can parse it correctly by adding a "^" symbol before any "&" symbol. So now the batch looks like this: @echo off :: -------- Start UCR (change paths where needed) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStart.ahk" :: :: -------- Launch Game (GTA5 in this example) **NEED TO ADD "^" BEFORE ANY "&" SYMBOL @Start com.epicgames.launcher://apps/9d2d0eb64d5c44529cece33fe2a46482?action=launch^&Silent=True :: :: -------- Set a loop to wait for game to be closed :wait timeout 10 >nul tasklist | findstr /i /L /c:"GTA5.exe" >nul if not errorlevel 1 goto wait :: :: -------- Close UCR (same as above, be aware of path) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStop.ahk" exit No need to close EGS launcher now, and since I don't have to wait for it to load I brought the loop timer down to 10 second intervals.
t824601 Posted June 15, 2020 Author Posted June 15, 2020 On 6/14/2020 at 12:15 AM, Spawk said: Didn't try this? Anyway, I found out that the '"&" symbol is what was messing up the silent launch. Also found out that you can parse it correctly by adding a "^" symbol before any "&" symbol. So now the batch looks like this: @echo off :: -------- Start UCR (change paths where needed) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStart.ahk" :: :: -------- Launch Game (GTA5 in this example) **NEED TO ADD "^" BEFORE ANY "&" SYMBOL @Start com.epicgames.launcher://apps/9d2d0eb64d5c44529cece33fe2a46482?action=launch^&Silent=True :: :: -------- Set a loop to wait for game to be closed :wait timeout 10 >nul tasklist | findstr /i /L /c:"GTA5.exe" >nul if not errorlevel 1 goto wait :: :: -------- Close UCR (same as above, be aware of path) Start /wait "c:\program files (x86)\autohotkey\autohotkey.exe" "c:\UCR\UCRStop.ahk" exit No need to close EGS launcher now, and since I don't have to wait for it to load I brought the loop timer down to 10 second intervals. You are the best man, thank you for looking into this, much appreciated :)!! Sorry for the slow response, was taking care of two puppies this weekend!
t824601 Posted June 15, 2020 Author Posted June 15, 2020 Here is how I set it on, so it loads like all the other arcades games Here is my samurai shodown ini wheel launch info: [Samurai Shodown] Application=F:\Epic Games\Games\SamuraiShodown\RunMe.bat AppWaitExe=SamuraiShodown.exe ExitMethod=Process Close AppWaitExe PreLaunch=C:\Program Files (x86)\UCR\UCRStart.ahk PostExit=C:\Program Files (x86)\UCR\UCRStop.ahk I used the launcher with the code provided by Spawk, thanks man :)! Here is the content of RunMe.bat: @echo off :: -------- Launch Game **NEED TO ADD "^" BEFORE ANY "&" SYMBOL @Start com.epicgames.launcher://apps/1c78abcd467643f9ad58cc3a7d161983?action=launch^&silent=true Your cabinet will need access to the internet, but this will allow Epic Game Store games from loading in Hyperspin and use UCR to emulate xbox controllers. Works like a charm, UCR loads and unloads and this EGS runs like all the steam games. :)!!!!
Spawk Posted June 15, 2020 Posted June 15, 2020 Very nice! RL's appwait is way better than the hack wait I had in that batch.
t824601 Posted June 15, 2020 Author Posted June 15, 2020 16 minutes ago, Spawk said: Very nice! RL's appwait is way better than the hack wait I had in that batch. It definitely makes it run better, but been using that solution for quite some time, I never knew you could launch a web address via batch file with @Start :). Thanks again man, you saved the day!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.