Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    2,950
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by JoeViking245

  1. 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%"
  2. 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%"
  3. 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"
  4. 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...
  5. 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.
  6. 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).
  7. 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.
  8. 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.
  9. If using LaunchBox/BigBox version 13.1 or newer, you can set it up with the built-in feature.
  10. The code you provided had both lines commented [with semicolons]. The [corrected] ones I show had the semicolons removed. Put the tildes back?
  11. Try uncommenting the 2 lines. ~LAlt::Sendinput {Blind}{sc0E9} ~RAlt::Sendinput {Blind}{sc0E9}
  12. 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.
  13. Or just turn it off in LaunchBox itself.
  14. 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)
  15. 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.
  16. \LaunchBox\Images\Platform Icons\Platforms\
  17. Since LaunchBox/BigBox will pause any audio/video that is playing in its UI when you launch a game, I'm going to assume you have your installed copy of VLC playing a soundtrack/playlist/stream/whatever while perusing your collection. If that's the case and you're using BigBox, you could (as an option) add your music files to \LaunchBox\Music\Background\ and set the option in BB to play the background music. No extra script required to mute when launching a game. AutoHotkey, innately, cannot mute a specific application (vlc.exe in your case). There is an AHK class library that you can link to your script to (possibly??) do that. But that's kind of a pain. I think it would be easier to have your script Run a 3rd party app that can do this. Or set the 3rd party app itself as an Additional Application. From the makers of NirCmd, there's an app called Sound Volume View. A small utility to show you more info than you ever wanted to know about your computer's audio. But is also works with command line parameters. It is freeware (Yes, "You are allowed to freely distribute this utility via floppy disk" lol) and it doesn't require it to be installed. To mute vlc.exe via AutoHotkey using this app Run "D:\where\you stored\this app\SoundVolumeView.exe" /Mute "VLC media player" To unmute Run "D:\where\you stored\this app\SoundVolumeView.exe" /Unmute "VLC media player"
  18. @thefritz11 Try moving it into the Root only. Are you using one of the Wheel Views?
  19. To get the rompath inserted before the parameter, you can use %romfile%. So your Default Command-Line Parameters would be %romfile% -localdata Leave ALL checkboxes UN-checked. This will then give the full path, including the actual file extension (be it .zip, j64 or whatever), in quotes, to your games ROM file. You will then see the Sample Command look like BigPEmu.exe "FULL\PATH\TO\ROM\FILE" -localdata I don't have this emulator installed so can't provide screenshots. EDIT: So I was wrong about the Sample Command. Though it may 'look funny' showing "FULL\PATH\TO\ROM\FILE" at the end, it will indeed replace %romfile% with the "full/path/to/ROM.ext" when executed.
  20. Works great! A nice enhancement to catch those few games that didn't get an associated LB database ID # after initial import. Though not necessary, it would be nice if the Platform combobox was sorted alphabetically. And even less necessary, being able to mouse-click on the game title option (1 -5) to add to the list on the right. Again, neither of those are necessary as this plugin does what it was intended to do.
  21. Did you try closing and then restarting LaunchBox?
  22. K. But the button/keyboard exiting scheme should be the same. If you press Escape on the keyboard attached to your cab, does it exit your MAME game (you launched via the RA emulator)? What encoder does your cab have? Do you know if it's setup in XInput or Keyboard mode?
  23. The encoder my cabinet uses (an I-Pac mini) has the Player 1 Start button (which = "1" on the keyboard) set as a hold key. If I press P1 Start, it... well... starts (or 'presses' "1" on the keyboard). If I press and hold P1 Start and then press the Pause button ("P" on the keyboard), it 'presses' Escape on the keyboard. Which is the default key used to exit MAME. If you've reassigned what key is used to exit MAME, then you need to figure what which button on the control panel for your arcade cabinet corresponds to the new key assignment. If your encoder is setup as XInput (vs Keyboard), then things are different and someone else will need to chime in (because I've never done it that way). Another potential issue is you're dealing with Retroarch and MAME together. I've never used MAME in RA, but I hear setting up inputs/controls can be very cumbersome (I'm being very polite with my words). Have you thought about using stand-alone MAME?
×
×
  • Create New...