I have the emulator mapped to the exe and entered the game serial numbers, do you know how to remedy this?
I have the emulator mapped to the exe and entered the game serial numbers, do you know how to remedy this?
Serial is that second column show on the emulator something like "NPUB30151" corresponding to "After Burner Climax (USA)"
Ya I thought I put those in rl, could it be anything else I missed?
Maybe my xml names need to change as well I'd bet
I'm still having the same problem. The module seems to be executing the right command line call, but the emu window opens and closes without launching the game. I get the same result if I test the same command manually. cannot figure out why. emu logs are not useful
This is kind of the reason I was suggesting attaching the ahk and isd to a comment and marking it final since there was a lot of updates. I'll try mine again tonight
This was tested on the last updated version at the time module.
however i detected that if you dont have your game folder as serial format the line comnand dont work. Its not a module problem its an emulator limitation. I'll test the module on last version tomorrow a check the results
Could you include all the notes with examples to get it to work?
RPCS3 moved to Qt which broke command line support. This has been fixed in the latest nightly releases. You still have to have your game folders named in the serial number format. I'm amusing someone will have to make a new module now that CL support is fixed.
Hi!
Sorry, but I'm ill since long ago and disconnected from the "real" world...
Good work jviegas!!
I tried your module but as I don't have rocketlauncher updated... I cann't make it work, but I think you said is not possible to have games in alternative folders (different from \dev_hdd0)... so... I made little changes to my old module, to make it work with latest RCPS3 version, v0.0.3-5520 Alpha [2017-07-29], and I could check my old method still works (compatible with all game formats: disc, installed pkgs...), and it is possible to have roms in any folder. This method is simplier than yours, and you only need to set your rom folder for each game instead game serials.
I think you can easily modify your module to run roms this way, and make a perfect module for the community, so, here is my code (remember that I made it for an old rocketlauncher version):
Code:; Finally, you need to set gamePath in module Global Settings for each game, point to its folder. Example with commercial game Dragon Ball Z - Burst Limit: ; [Dragon Ball Z - Burst Limit (USA)] ; gamePath=G:\Emulacion\Emuladores\RPCS3\dev_hdd0\game\BLUS301117 ; And with an installed PKG game After Burner Climax: ; [After Burner Climax (USA)] ; gamePath=G:\Emulacion\Emuladores\RPCS3\dev_hdd0\game\NPUB30151 ;---------------------------------------------------------------------------- StartModule() FadeInStart() IfExist, % modulePath . "\" . systemName . ".ini" ; use a custom systemName ini If it exists settingsFile := modulePath . "\" . systemName . ".ini" Else settingsFile := modulePath . "\" . moduleName . ".ini" Fullscreen := moduleIni.ReadCheck("settings", "Fullscreen","true","",1) iniGamePath := IniReadCheck(settingsFile, romName, "gamePath", A_Space,,1) gamePath := iniGamePath 7z(romPath, romName, romExtension, 7zExtractPath) If (gamePath != "" || gamePath != "ERROR") gamePath := GetFullName(gamePath) SetControlDelay, %ControlDelay% SetKeyDelay(KeyDelay) SetWinDelay, 10 Run(executable,emuPath) ;WinWait("ahk_class wxWindowNR") ;WinWaitActive("ahk_class wxWindowNR") WinWait("ahk_class Qt5QWindowIcon") WinWaitActive("ahk_class Qt5QWindowIcon") ;WinMenuSelectItem, ahk_class wxWindowNR,, Boot, Boot game ;KeyUtils.Send("!b") KeyUtils.Send("{ALT}") KeyUtils.Send("{Down}") KeyUtils.Send("{Down}") Sleep, 200 ;KeyUtils.Send("g") KeyUtils.Send("{ENTER}") HideEmuStart() ; This fully ensures windows are completely hidden even faster than winwait WindowText := "Select Game Folder" WinWaitActive("Select Game Folder ahk_class #32770") OpenROM("Select Game Folder" . " ahk_class #32770", gamePath) Sleep, 500 KeyUtils.Send("{TAB}") Sleep, 500 KeyUtils.Send("{ENTER}") ;WinWaitActive("ahk_class wxWindowNR") HideEmuEnd() If (Fullscreen = "true") { Sleep, 3000 KeyUtils.Send("!{ENTER}") } FadeInExit() Process("WaitClose", executable) 7zCleanUp() FadeOutExit() ExitModule() CloseProcess: FadeOutStart() KeyUtils.Send("!{F4}") Sleep, 500 KeyUtils.Send("!{F4}") primaryExe.Process("Close") Process, Close, RPCS3.exe Return
All, I got RL to lunch without much hassle, but I'm having issues with the Window detection. I:m getting the error:
"There was an error waiting for the window "RPCS3 ahk_class wxWindowNR". Please check you have the correct version emulator installed for this module, followed any notes in the module, and have this emulator working outside your Frontend first. Also turn off Fade to see if you are hiding your problem."
I have attached the module. Other than the error the games launches perfectly after I exit the error window.
I have also attached RL Log file so you can see the launching process.
Any help is appreciated.
Brolly and jviegas. I have use jviegas code for the windows detection portion and it work perfectly see my wack at it. I left the ROM detection to RL. Thanks to jviegas for his work, I wont gotten here without his code.
AHK:
ISDCode:;---------------------------------------------------------------------------- ; Notes: ; Work in progress ; Setup RPCS3: ; 1. Go to RPCS3 Settings, under Emulator Tab ; a. uncheck Show frame counters in windows title ; b. check Start games in Fullscreen mode ; Setup RL: ; 1. Go to emulator and under the emulator Tab ; a. Enter Rom Path for disc (dev_hdd0\disc) and HDD (dev_hdd0\games) games ; 2. Go to emulator Setting Tab ; a. Under Main Settings > Settings ; (1) Match Extension = True ; (2) Skip Checks = Rom Only ;---------------------------------------------------------------------------- StartModule() BezelGUI() FadeInStart() primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object primaryWindowClassName := "Qt5QWindowIcon" emuPrimaryWindow := new Window(new WindowTitle(,primaryWindowClassName,rpcs3.exe)) ; instantiate primary emulator window object Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1) ; Finding emulator config files Rpcs3config := new IniFile(emuPath . "\config.yml") Rpcs3config.CheckFile("Could not find Emulator Config.yml! Run your emulator, go to Settings and save them.") if (Fullscreen = "true"){ ; Set fullscreen on emulator config ; Set fullscreen on emulator config FileRead, configtmpfile, %emupath%\config.yml SearchText := "Start games in fullscreen mode: false" ReplaceText := "Start games in fullscreen mode: true" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\config.yml FileAppend, %configtmpfile%, %emupath%\config.yml } else { ; Set window mode on emulator config FileRead, configtmpfile, %emupath%\config.yml SearchText := "Start games in fullscreen mode: true" ReplaceText := "Start games in fullscreen mode: false" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\config.yml FileAppend, %configtmpfile%, %emupath%\config.yml } BezelStart() hideEmuObj := Object(emuPrimaryWindow,1) HideAppStart(hideEmuObj,hideEmu) primaryExe.Run(" """ . romPath . "\" . romName . romExtension . """", emupath) ;wating for main emu window emuPrimaryWindow.Wait() emuPrimaryWindow.Active() emuPrimaryWindow.WaitActive() ; Identifiyng game Window WinGet gameWindowID, ID, A gameWindow := new Window(new WindowTitle(,,,gameWindowID)) BezelDraw() HideAppEnd(hideEmuObj,hideEmu) FadeInExit() primaryExe.Process("WaitClose") BezelExit() FadeOutExit() ExitModule() CloseProcess: FadeOutStart() gameWindow.Close() Return
Code:<?xml version="1.0" encoding="UTF-8"?> <INISCHEMA> <INIFILES> <INIFILE name="%ModuleName%" required="false"> <INITYPE>Module</INITYPE> <SECTIONS> <SECTION name="Settings" required="false"> <SECTIONTYPE>Global</SECTIONTYPE> <KEYS> <KEY name="Fullscreen" required="false" nullable="false"> <KEYTYPE>Boolean</KEYTYPE> <DESCRIPTION>If true emulator will run fullscreen.</DESCRIPTION> </KEY> </KEYS> </SECTION> </SECTIONS> </INIFILE> </INIFILES> </INISCHEMA>
Last edited by egnom ; 07-30-2017 at 06:07 PM.
egnom,
I find that Jveiges's code works better than yours for my LaunchBox set up. Your code works fine in RocketLauncher but when I try using your code with Launch Box I get an error in Rpcs3 that txt files are not valid game files. I have txt files named with a serial number for each game. Pointing each game to the txt file is the only way I could get LaunchBox to launch games. Is there some other file I should point each game to in order to get your code to work with LaunchBox?
This is How I got Rpcs3 working with LaunchBox through RocketLauncher,
Use the below Module by Jviegas and then add a database that should look like the one I have included below. You have to create empty .TXT files named with the game serial number in the game folder of the emulator (\dev_hdd0\game) in order for Rocket launcher to see your games, So under your Playstation 3 game path point it to (\dev_hdd0\game). You also need to point LaunchBox games to these txt files. So create an empty .zip folder give it your game name add the game to LaunchBox and then Change the game path to the txt path. Its also important that you enter the serial number for each game in RocketLauncher at Sony Playstation 3> Installed modules>Rpcs3>Edit Global Module Settings>Rom Settings. Also Don't forget to set Skip Checks to "Rom Only" in Rocket Launcher settings.
I have made some 3D Box art which can be downloaded here: https://emumovies.com/files/file/260...on-3-3d-boxes/
AHK and ISD:
Code:MEmu := "Rpcs3" MEmuV := "2017-07-13" MURL := ["https://rpcs3.net"] MAuthor := ["jviegas"] MVersion := "1.2" MCRC := "" iCRC := "" MID := "" MSystem := ["Sony Playstation 3","PS3","PS 3"] ;---------------------------------------------------------------------------- ; Notes: ; ; - Create a Roms folder and add dummy txt files named with your game names to your rom folder. ; ; - You have to define the serial for your games. ; Run Rocketlauncher application, choose Sony Playstation 3 (or similar) system. ; Now select on Modules and click "Edit Global Module Settings". ; Select "Roms Settings" and you can identify the serial for each game. ; ;- On Module settings select if you want Fullscreen or not. ; ; ;---------------------------------------------------------------------------- StartModule() BezelGUI() FadeInStart() primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object primaryWindowClassName := "Qt5QWindowIcon" emuPrimaryWindow := new Window(new WindowTitle(,primaryWindowClassName,rpcs3.exe)) ; instantiate primary emulator window object Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1) Serialname := moduleIni.Read(romName, "Serial","true",,1) ; Finding emulator config files Rpcs3config := new IniFile(emuPath . "\config.yml") Rpcs3config.CheckFile("Could not find Emulator Config.yml! Run your emulator, go to Settings and save them.") ; Finding game config files Rpcs3gameconfig := new IniFile(emuPath . "\data\" . Serialname . "\config.yml") ;Rpcs3gameconfig.CheckFile("Could not find Config.yml file for this rom. Please make sure that you have your rom path and corresponding serial configured correctly.") if (Fullscreen = "true"){ ; Set fullscreen on emulator config ; Set fullscreen on emulator config FileRead, configtmpfile, %emupath%\config.yml SearchText := "Start games in fullscreen mode: false" ReplaceText := "Start games in fullscreen mode: true" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\config.yml FileAppend, %configtmpfile%, %emupath%\config.yml ; Set fullscreen on game config FileRead, configtmpfile, %emupath%\data\%Serialname%\config.yml SearchText := "Start games in fullscreen mode: false" ReplaceText := "Start games in fullscreen mode: true" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\data\%Serialname%\config.yml FileAppend, %configtmpfile%, %emupath%\data\%Serialname%\config.yml } else { ; Set window mode on emulator config FileRead, configtmpfile, %emupath%\config.yml SearchText := "Start games in fullscreen mode: true" ReplaceText := "Start games in fullscreen mode: false" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\config.yml FileAppend, %configtmpfile%, %emupath%\config.yml ; Set window mode on game config FileRead, configtmpfile, %emupath%\data\%Serialname%\config.yml SearchText := "Start games in fullscreen mode: true" ReplaceText := "Start games in fullscreen mode: false" StringReplace, configtmpfile, configtmpfile, %SearchText%, %ReplaceText%, All FileDelete, %emupath%\data\%Serialname%\config.yml FileAppend, %configtmpfile%, %emupath%\data\%Serialname%\config.yml } BezelStart() hideEmuObj := Object(emuPrimaryWindow,1) HideAppStart(hideEmuObj,hideEmu) hddgameFile := new PropertiesFile(emuPath . "\dev_hdd0\game\" . Serialname . "\USRDIR\EBOOT.BIN") discgameFile := new PropertiesFile(emuPath . "\dev_hdd0\disc\" . Serialname . "\PS3_GAME\USRDIR\EBOOT.BIN") if (hddgameFile.Exist() Or discgameFile.Exist()) { If hddgameFile.Exist() { primaryExe.Run(".\dev_hdd0\game\" . Serialname . "\USRDIR\EBOOT.BIN") ; hdd games } else { primaryExe.Run(".\dev_hdd0\disc\" . Serialname . "\PS3_GAME\USRDIR\EBOOT.BIN") ; disc games } } else { ScriptError("Game not Found. Please Check your Module Rom Settings or if your game is installed property on your emulator.") } ;wating for main emu window emuPrimaryWindow.Wait() emuPrimaryWindow.Active() emuPrimaryWindow.WaitActive() ; Identifiyng game Window WinGet gameWindowID, ID, A gameWindow := new Window(new WindowTitle(,,,gameWindowID)) BezelDraw() HideAppEnd(hideEmuObj,hideEmu) FadeInExit() primaryExe.Process("WaitClose") BezelExit() FadeOutExit() ExitModule() CloseProcess: FadeOutStart() gameWindow.Close() ReturnCode:<?xml version="1.0" encoding="UTF-8"?> <INISCHEMA> <INIFILES> <INIFILE name="%ModuleName%" required="false"> <INITYPE>Module</INITYPE> <SECTIONS> <SECTION name="Settings" required="false"> <SECTIONTYPE>Global</SECTIONTYPE> <KEYS> <KEY name="Fullscreen" required="false" nullable="false"> <KEYTYPE>Boolean</KEYTYPE> <DESCRIPTION>If true emulator will run fullscreen.</DESCRIPTION> </KEY> </KEYS> </SECTION> <SECTION name="%RomName%" required="true"> <SECTIONTYPE>Rom</SECTIONTYPE> <GROUPS> <GROUP name="Serial"/> </GROUPS> <KEYS> <KEY name="Serial" group="Serial" required="true" nullable="false"> <KEYTYPE>String</KEYTYPE> <DESCRIPTION>Indicate the serial of your game. This will be used so module can work property.</DESCRIPTION> </KEY> </KEYS> </SECTION> </SECTIONS> </INIFILE> </INIFILES> </INISCHEMA>Code:<?xml version="1.0"?> <menu> <game name="NPEB00036" index="" image=""> <description>Street Fighter II Turbo HD Remix</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30151" index="" image=""> <description>After Burner Climax (USA)</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00073" index="" image=""> <description>Outrun Online Arcade</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLES00296" index="" image=""> <description>SoulCalibur IV</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00563" index="" image=""> <description>Castlevania: Harmoney of Despair</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30780" index="" image=""> <description>Hitman Two Silent Assassin</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00913" index="" image=""> <description>Virtua Fighter v Final Showdown</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00787" index="" image=""> <description>Sonic CD</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLES00932" index="" image=""> <description>Demons Souls</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30024" index="" image=""> <description>1942 Joint Strike</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB01289" index="" image=""> <description>Air Conflics Pacific Carriers</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB31085" index="" image=""> <description>Alien Breed</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30425" index="" image=""> <description>Arcana Heart 3</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30028" index="" image=""> <description>Assult Heroes</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30126" index="" image=""> <description>BattleFantasia</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30051" index="" image=""> <description>Bomberman ULTRA</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00677" index="" image=""> <description>CastleStorm</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30698" index="" image=""> <description>Catherine</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB31340" index="" image=""> <description>Chaos Code</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30242" index="" image=""> <description>Crazy Taxi</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUA80098" index="" image=""> <description>Everyday Shooter</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB01361" index="" image=""> <description>Frozen Synapse Prime</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30017" index="" image=""> <description>Super Puzzle Fighter II Turbo HD Remix</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB00527" index="" image=""> <description>Tom Clancy's Splinter Cell HD</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB02436" index="" image=""> <description>Persona 5</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB31241" index="" image=""> <description>Hatsune Miku: Project DIVA F</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLUS31500" index="" image=""> <description>The Awakened Fate Ultimatum</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLUS30087" index="" image=""> <description>Oblivion IV</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30347" index="" image=""> <description>4 Elements HD</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEA00021" index="" image=""> <description>fLOW</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUA30029" index="" image=""> <description>Gundemonium Recollection</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPEB01166" index="" image=""> <description>Retro City Rampage</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLUS30565" index="" image=""> <description>Silent Hill Downpour</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BCES00664" index="" image=""> <description>WipEout HD Fury</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="NPUB30068" index="" image=""> <description>Marvel Vs. Capcom 2</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLES00219" index="" image=""> <description>Condemned 2 Bloodshot</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> <game name="BLES00713" index="" image=""> <description>Dante's Inferno</description> <cloneof /> <crc /> <manufacturer></manufacturer> <year></year> <genre></genre> <rating></rating> <enabled>Yes</enabled> </game> </menu>
Last edited by Robin55 ; 10-09-2017 at 03:21 AM.
The issue I face is with Devil May Cry HD Collection
For example this folder directory idea will not work....
as you you need to load the SELF files individually for each game...
DMC1.PPU.SELF
DMC2.PPU.SELF
DMC3.PPU.SELF
For now I use PC Launcher (Win Close Exe) to Exit Game
Can we not have more options in the ini file for SELF boot needed games??
Last edited by manson976 ; 08-11-2017 at 09:33 PM.
Hi everybody,
I have modiefied the ahk from brolly so I can use aRom Folder not under the Emulator itself.
Everything is working exept for the Fullscreen Setup. He Always starts Windows and dont use the Setting?
With the old AHK from jviegas and the Replace Code it's working.
Here is the used AHK:
Maybe someone can help me with this?Code:MEmu := "Rpcs3" MEmuV := "0.0.3-5405 Alpha (2017-07-23)" MURL := ["https://rpcs3.net"] MAuthor := ["jviegas"] MVersion := "1.0.0" MCRC := "" iCRC := "" MID := "" MSystem := ["Sony PlayStation 3"] ;---------------------------------------------------------------------------- ; Notes: ; Make sure you enable skipchecks in RLUI since RL won't be able to locate any roms (or create dummy txt files) ; ; The emulator requires your games to be stored inside the \dev_hdd0 sub-folder, it doesn't seem to be possible to run them from ; any other location ; You have to define the serial for your games. As an alternative you can name your games using the serial in the database ; Run RocketlauncherUI, choose Sony PlayStation 3. ; Now select on Modules and click "Edit Global Module Settings". ; Select "Roms Settings" and you can enter the serial for each game. ; ;---------------------------------------------------------------------------- StartModule() BezelGUI() FadeInStart() primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object primaryWindowClassName := "Qt5QWindowIcon" emuPrimaryWindow := new Window(new WindowTitle(,primaryWindowClassName, executable)) ; instantiate primary emulator window object Fullscreen := moduleIni.Read("Settings", "Fullscreen", "true",, 1) Serialname := moduleIni.Read(romName, "Serial", romName,, 1) ; Finding emulator/game config files Rpcs3config := new File(emuPath . "\config.yml") Rpcs3gameconfig := new File(emuPath . "\data\" . Serialname . "\config.yml") Rpcs3config.CheckFile("Could not find Emulator Config.yml! Run your emulator, go to Settings and save them.") BezelStart() ; Set fullscreen on emulator config SetFullscreen(Rpcs3config, Fullscreen) If (Rpcs3gameconfig.Exist()) { ; Set fullscreen on game config SetFullscreen(Rpcs3gameconfig, Fullscreen) } hideEmuObj := Object(emuPrimaryWindow,1) HideAppStart(hideEmuObj,hideEmu) hddGamePath := "\dev_hdd0\game\" . Serialname . "\USRDIR\EBOOT.BIN" discGamePath := "\dev_hdd0\disc\" . Serialname . "\PS3_GAME\USRDIR\EBOOT.BIN" hddgameFile := new File(romPath . hddGamePath) discgameFile := new File(romPath . discGamePath) If (hddgameFile.Exist()) { primaryExe.Run("""" . romPath . hddGamePath . """") ; hdd games } Else If (discgameFile.Exist()) { primaryExe.Run("""" . romPath . discGamePath . """") ; disc games } Else { ScriptError("Game not Found. Please Check your Module Rom Settings or if your game is installed property on your emulator.") } ;wating for main emu window emuPrimaryWindow.Wait() emuPrimaryWindow.Active() emuPrimaryWindow.WaitActive() ; Identifiyng game Window WinGet gameWindowID, ID, A gameWindow := new Window(new WindowTitle(,,,gameWindowID)) BezelDraw() HideAppEnd(hideEmuObj,hideEmu) FadeInExit() primaryExe.Process("WaitClose") BezelExit() FadeOutExit() ExitModule() CloseProcess: FadeOutStart() gameWindow.Close() Return SetFullscreen(configFile, fs) { configFile.Read() configContents := configFile.Text SearchText := "Start games in fullscreen mode: " . (If fs = "true" ? "false" : "true") ReplaceText := "Start games in fullscreen mode: " . (If fs = "true" ? "true" : "false") configContents := StringUtils.Replace(configContents, SearchText, ReplaceText, "All") configFile.Delete() configFile.Append(configContents) }
Regards Saboti
Can anyone else confirm this works? I don't have this emulator setup, but jviegas said games must be stored inside the emulator folder if that's not the case then yeah the module should be updated.
The games do have to be in the master folder yes