Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    2,932
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by JoeViking245

  1. Here's my updated batch file. @phunky1's PS script will probably work right from the get-go, but I'm bound and determined to get mine to work on at least your 2 test files. lol @echo off set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\ set path=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ setlocal EnableDelayedExpansion Set key= for %%f in (*.iso) do ( set keyFile=%%~dpnf.dkey set /p key=< "!keyFile!" start "" /w /d "%path%" %path2ps3dec% d key !key! "%%~dpnxf" "%decryptedISOFolder%%%f" ) pause
  2. @echo off set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\ set path=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ for %%f in (*.iso) do ( set keyFile=%%~dpnf.dkey set /p key=< "%keyFile%" start "" /w /d "%path%" %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f" ) pause Another last ditch effort. lol Wait... the lon-gass key wasn't showing in your last image. Do you have the dkey files in with the iso's you're decrypting? So the one batch file, 2 .iso files and 2 .dkey files?
  3. Change the one line to look like (add echo in front of it). Then look at the full command line(s) that would have been executed. echo %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f" I'm assuming your testing this in a folder with just 2 iso files (and their dkey files) and not ALL of them.
  4. Glad it's [finally] working. You should now be able to create a new emulator in LB as was originally discussed/shown way back when, using this batch file. As for the bulk decrypt batch file, now that things are all ironed out it can be fixed too. (if you decide to use it) @echo off set path2ps3dec=D:\PS3\utilities\ps3dec\ps3dec.exe set decryptedISOFolder=D:\temp\decryptedISOs\ for %%f in (*.iso) do ( set keyFile=%%~dpnf.dkey set /p key=< "%keyFile%" %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f" ) pause 🤞
  5. On the output for the command to decrypt-the-iso, it's putting 2 sets of double-quotes around the input iso file for some reason. I guess remove the quotes (for that part) in the script and see what happens.?.?. Seems odd, but worth a try
  6. What do you have in your Default Command-Line Parameters? Should look like this -minimized -exit -play
  7. Last ditch effort (ya, forgot one more thing 😊) set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe set decryptedISO=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\temp-decryptedGame.iso set path2RPCS3ps1=M:\LaunchBox\Emulators\rpcs3\RPCS3-ISO-LaunchBox.ps1 set encryptedISO=%1 set keyFile=%~dpn1.dkey set /p key=< "%keyFile%" set path=%~dp1 start "" /w /d "%path%" "%path2ps3dec%" d key %key% "%encryptedISO%" "%decryptedISO%" start "" /w "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -executionpolicy bypass -WindowStyle hidden -file "%path2RPCS3ps1%" "%decryptedISO%" del "%decryptedISO%
  8. The /d is needed to start that program from with it's folder. Try adding one more set of quotes (around %path2ps3dec%). start "" /w /d "%path2ps3dec%" d key %key% "%encryptedISO%" "%decryptedISO%"
  9. Forgot some quotes. 😊 (guess I should have tested with a file name that had spaces in it. lol) Change this line set /p key=< %keyFile% to set /p key=< "%keyFile%"
  10. You launched the batch file from a PowerShell window (vs a Command Prompt window). Which is fine. Per the message, at the prompt type in .\myPS3emu.bat "full\apath\tp\your\game.iso"
  11. If the above batch script works to decrypt and play the game, this should work to decrypt all the .iso files in a given folder. @echo off set path2ps3dec=D:\PS3\utilities\ps3dec\ps3dec.exe set decryptedISOFolder=D:\temp\decryptedISOs\ for %%f in (*.iso) do ( set keyFile=%%~dpnf.dkey set /p key=< %keyFile% %path2ps3dec% d key %key% "%encryptedISO%" "%decryptedISOFolder%%%f" ) pause Copy/edit/save this as a .bat file (decryptAll.bat). set the path to ps3dec.exe set the path to the folder where you want the decrypted file to end up. NOTE the path ends with a \ (slash) Copy a couple of your encrypted .iso files and their .dkey files to a temp folder (D:\temp\encrypted\) Put your batch file in that folder (D:\temp\encrypted\decryptAll.bat) Double-click the .bat file If all goes well with those 2, put the .bat file in the folder that has all your .ios/.dkey files and double click it. Then come back to it in a few days. To do it in segments, change this line for %%f in (*.iso) do ( to this for %%f in (a*.iso) do ( This will only do the iso files that begin with "a". Run it. Change "a" to "b". Run it. etc. etc...
  12. If you want to bulk decrypt all the encrypted files, then just store the encrypted ones somewhere [else] for historical reference and use the decrypted ones in LB.. that'd probably help immensely with your game playing enjoyment. To decrypt all of them will definitely take a bit of time. But you only have to do that once. Whereas doing it the way you requested, when you go to play a game, you have to decrypt it e v e r y s i n g l e t i m e.
  13. No. Well, kinda. Sotra not really. I guess. I glossed over that part of the video where he got that lon-gass number from. I just sorta copied the resulting command line needed. 😊 So I guess you need to read the contents of game_name.dkey. Here, ONLY set the proper paths for the 1st 3 lines. set path2ps3dec=D:\PS3\utilities\ps3dec\ps3dec.exe set decryptedISO=D:\temp\temp-decryptedGame.iso set path2RPCS3ps1=E:\LaunchBox\Emulators\rpcs3\RPCS3-ISO-LaunchBox.ps1 set encryptedISO=%1 set keyFile=%~dpn1.dkey set /p key=< %keyFile% start "" /w /d %path2ps3dec% d key %key% "%encryptedISO%" "%decryptedISO%" start "" /w "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy bypass -WindowStyle hidden -file "%path2RPCS3ps1%" "%decryptedISO%" del "%decryptedISO% This assumes the .dkey file only has one-line of text in it (the 'key') and it's located in the same folder as game_name.iso AND has the exact same name as game_name (i.e. game_name.dkey).
  14. In the video, it took 74 seconds just to decrypt the iso. Seems like a long time to wait to load a game. Maybe that was atypical, and it'll normally be a lot faster. I don't own or emulate PS3, so I have no idea. This "looks" like it should work. set path2ps3dec=D:\PS3\utilities\ps3dec\ps3dec.exe set decryptedISO=D:\temp\temp-decryptedGame.iso set key=323CE7042E84AF01555853C280760FIF set path2RPCS3ps1=E:\LaunchBox\Emulators\rpcs3\RPCS3-ISO-LaunchBox.ps1 set encryptedISO=%1 start "" /w /d %path2ps3dec% d key %key% "%encryptedISO%" "%decryptedISO%" start "" /w "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy bypass -WindowStyle hidden -file "%path2RPCS3ps1%" "%decryptedISO%" del "%decryptedISO% Edit ONLY the first 4 lines after their respective = (equal) sign. Full path to where you have ps3dec.exe located. Full path to where you want the temp iso file created in and later deleted. (must end in .iso) The "key" Full path to the PowerShell script (which won't "need to be tweaked"). The PS script needs to be in the same folder as rspcs3.exe. Copy the above and save the script with the appropriate changes somewhere and give it the file extension .bat (myPS3emu.bat) Set up a new emulator in LB and set the Associated Platform accordingly. Notes: If the "key" is something that changes with every iso file, then this isn't going to work as written. This assumes you'll be using PowerShell 7. If you use a different version of PowerShell, change the full path to it on the 2nd "start" line. Be sure to put the "full/path/to/the/exe" in quotes. Backup you original iso 1st, because you never know. You may want to test this outside of LaunchBox 1st. press Win+R on your keyboard type cmd and press enter. (this opens the Windows Command Prompt) at the command window type cd followed by a space, a quote, the full path to the batch file, and another quote. press enter. cd "D:\LaunchBox\Emulators\Misc\myPS3emu.bat" Now type myPS3emu.bat followed by a space, a quote, the full path to an encrypted iso file, and another quote. myPS3emu.bat "D:\LaunchBox\Games\Sony Playstation 3\some_game.iso" cross your fingers press enter.
  15. Oh OK. I assumed when you said "I followed these indications", you were following the instructions from 6 years ago that you quoted. Sorry, I haven't used the new built in feature yet to be able help you.
  16. If using LaunchBox/BigBox version 13.1 or newer, you can set it up with the built-in feature.
  17. The code you provided had both lines commented [with semicolons]. The [corrected] ones I show had the semicolons removed. Put the tildes back?
  18. Try uncommenting the 2 lines. ~LAlt::Sendinput {Blind}{sc0E9} ~RAlt::Sendinput {Blind}{sc0E9}
  19. If Golden Axe runs directly in RA, you can launch it via LB through RA. When you run it directly from RetroArch, make note of the core that it's loading to make it run. Then in LaunchBox, check that that's the core you're asking it to use. If the core is different than the one you have assigned to the Platform it resides in, but the assigned core is what's needed for all the other games in that platform, edit that game and in the Launching, Emulation section, check and use Custom Command-Line Parameters to load the correct core for Golden Axe.
  20. Or just turn it off in LaunchBox itself.
  21. You mentioned you fixed the command line issue. Does your command line consist of "-batch" (without quotes)? That should be all that's needed. (Assuming you're using the Nightly Release [QT] vs. the Stable Release)
  22. If you run SoundVolumeView.exe then launch a game via LB (that has the 3rd monitor playing sounds), switch to SoundVolumeView.exe select one of the outputs listed and right-click and select Mute. keep doing that until you find the 'source' that is feeding the 3rd monitor. Probably un-mute before moving to the next one. When you find the culprit, double click it and make note of the Command-Line Friendly ID:. In the sample script I gave above, replace "VLC media player" with the Command-Line Friendly ID: you just found. (be sure to leave inside quotes) You [should] now have a somewhat convoluted means to mute the 3rd monitor in your somewhat convoluted setup.
  23. \LaunchBox\Images\Platform Icons\Platforms\
×
×
  • Create New...