Jump to content
LaunchBox Community Forums

darreldearth

Members
  • Posts

    192
  • Joined

  • Last visited

Posts posted by darreldearth

  1. Is there any way to make the theme less jerky? the boxes dont really bounce in like the regular unified theme. They kinda "glitch" in really jerky like they're lagging. I'm running BB from an SSD and my computer is running a 13900k with an RTX graphics card with DDR5 Ram, so i wouldnt think my hardware should be to slow for the theme. Any ideas or is this happening to anyone else? Thanks

  2. For the past few years, I have occasionally encountered a black screen with audio playing when clicking random games in Launchbox. If I pause the video and play it again, it works normally. It also works normally if I click out of the Launchbox window and back into it. This is essentially the same as pausing and unpausing the video by clicking out of the Launchbox window. I am using VLC. I am wondering if anyone else has this problem and has managed to fix it. Thank you.

  3. Does anyone know a way to stop Yuzu from loading the game library in the background? My library is over a 1000 games and even when launching games through launchbox Yuzu still loads the game library in the background which makes the emulator freeze up for like 5 min till its done. Be nice to just stop the library from loading since theres no need to load it once im already in a game which ive launched through launchbox. 

  4. The bottom bar which had play music as well as other options is gone now. is there an option to re-enable it? Otherwise, is the only way to play music by right clicking now? Also, when selecting to show Text for all games it shows the developer along with the name of the game. is there a way to hide the developer and only show the name of the game?

  5. @phunky1 The updated Script works Great😁! thanks So Much! Great being able to have it decode somewhere other than on the NAS server lol😅, also seems to work a slightly faster but that could just be in my head lol, kuz even with a 12900k CPU i still think the CPU bottlenecks the Hard drives read/write speed lol, but without more testing i could be wrong. But thanks for spending so much time on the script it works great!

  6. 16 minutes ago, phunky1 said:

    Nice, updated one more bug I found in script if you end up using.  I think if you restart your powershell console it won't ask for the check after every run now that you set your execution policy.  Or try PowerShell -ExecutionPolicy Bypass -File c:\script.ps1  but glad you have both working. 

     

    Nice work also @JoeViking245 for not having any PS3 ISO to test with!

    Awesome!😁 yeah the new version worked perfectly too with no problems thanks! 

    Sorry one last thing lol... 

    For the code you posed Below for your RPCS3-Decrypt-ISO-LaunchBox script you made is there a way to have the decrypted file be decrypted anywhere other than where the Original Encrypted file is located? Here's your original script below for reference (However, If its to much work adding a custom location then no worries, just figured it might be slightly faster saving the decrypted file to my computer rather than back to the NAS Server where the Encrypted files are)

    # Will get ISO param from Launchbox
    param (
        [Parameter(Mandatory = $true)]
        [string]$ISOpath
    )
    
    # Put script in same folder as rpcs3.exe or change to direct path.
    $RPCS3path = "$PSScriptRoot\rpcs3.exe"
    #Path to PS3DEC.exe
    $PS3DEC = "$PSScriptRoot\ps3dec\PS3Dec.exe"
    #path to disc key files for decryptions
    $KeysPath = "C:\Roms\Sony Playstation 3\_PS3 Downloading\DKeys"
    
    $Keys = Get-ChildItem $KeysPath
    $ISOname = [System.IO.Path]::GetFileNameWithoutExtension($ISOpath)
    $Key = $Keys | Where-Object -Property name -Like "$ISOname*"
    $KeyValue = Get-Content $key.FullName
    $DecryptISO =  (Split-Path $ISOpath -Parent) + "\$ISOname" + "_DEC.iso"
    
    & $PS3DEC d key $KeyValue $ISOpath $DecryptISO | Out-Null
    
    # Mounts the ISO to a drive letter
    $Vol = Mount-DiskImage -ImagePath $DecryptISO -PassThru
    # sleeps 2 seconds to wait for disk to mount.  Can be changed as needed.
    Start-Sleep -Seconds 2
    # Then gets the drive letter that the ISO was mounted to.
    $Voldisk = $vol | Get-Volume
    # Created the $path variable to the EBOOT.BIN file for lanching in rpcs3
    $path = $Voldisk.DriveLetter + ':\PS3_GAME\USRDIR\EBOOT.BIN'
    # Lanches rpcs3 with EBOOT.BIN path, can add extra arguments for rpcs3.exe if needed.  Not tested in this script.
    & $RPCS3path $path
    # sleeps 2 seconds until rpcs3 has a chance to start
    Start-Sleep -Seconds 2
    # Waits for rpcs3 to be closed
    Wait-Process rpcs3
    # Dismounts the ISO image drive
    Dismount-DiskImage -ImagePath $DecryptISO
    Remove-Item $DecryptISO -Force

     

  7. 17 minutes ago, phunky1 said:

    You downloaded the script from link right?

    It maybe windowsPowershell issues, but open powershell and run script from the prompt like C:\path\myscript.ps1 or path into location of script and do .\script.ps1

     

    Oh and maybe your execution policy.  run this as well:   Set-ExecutionPolicy RemoteSigned -force

     

    ok so I GOT IT WORKING! i tried this to see my execution policy and it was restricted so set it to Unrestricted using this command Set-ExecutionPolicy Unrestricted according to online

    image.png.11ceb7cf147b8cae40752680e29e74d7.png

    Afterwards I was able to run the script but i have to tell it to allow it each time but it still worked!!!!!

    image.thumb.png.5b67a4406718272b36cec001df93b9d7.png

    Link to your script for anyone else looking to use it! 

    https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox/blob/master/Bulk-Decrypt-ISOs.ps1

     

    So now both scripts work beautifly as far as i can tell😁. So everyone now has 2 ways to batch convert their ISOs incase one doesnt work for anyone thanks to you both @phunky1 & @JoeViking245. Thanks so much for the help!

     

    • Like 2
  8. 🥳🥳@JoeViking245 Got his code working for bulk Decrypting!

    This is the code he made below which worked😁

    As he was saying just replace your paths in the first 3 rows Listed below....

    1: ps3dec.exe decoder program (.exe) location

    2: Folder Location for your new decrypted games

    3: path to location of your Batch file & Encrypted roms which will be decrypted

    @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!"
    
      echo key file: !keyFile!
      echo key=:     !key!
    
      start "" /w /d "%path%" "%path2ps3dec%" d key !key! "%%~dpnxf" "%decryptedISOFolder%%%f"
    )
    pause

    🥳

    • Game On 1
  9. 1 hour ago, phunky1 said:

    No problem, I did find a typo just now and updated the post.  That maybe the issue as it was a bad path.

     

    Just fixed a few issues and actually tested it.  Has some verbose details now so hopefully good to go.  https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox/blob/master/Bulk-Decrypt-ISOs.ps1

    hmmm... tried the new code but the same thing is happening with windowspowershell. The window launches and imediately closes. below is the code i used with my paths replacing the original ones. is there a way to pause the script at the end so the window will stay open so i can read/post what is says? i tried adding -noexit and also tried adding Read-Host -Prompt "Press Enter to exit" to the end of the script but it didnt keep the window from forcing closed 

    #path to ps3dec.exe
    $PS3DEC = 'C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe'
    
    #root folder where you keep encrypted iso
    $ISOroot = 'C:\Users\darre\Desktop\TEMPPS3'
    
    #root folder where decrypted ISO will be stored.
    $ISOdecrypt = 'C:\Users\darre\Desktop\TEMPPS3\DecryptedGames'
    
    #root folder you keep all dkeys files
    $dKeys = 'C:\Users\darre\Desktop\TEMPPS3\Keys'
    
    $ISOall = Get-ChildItem -LiteralPath $ISOroot
    $report = foreach ($iso in $ISOall) {
        [int]$currentItem = [array]::indexof($ISOall, $iso)
        Write-Progress -Activity 'Decrypting isos....' -Status "Currently Decrypting - $($iso.name) - $($currentItem) of $($ISOall.Count - 1) $([math]::round((($currentItem + 1)/$ISOall.Count),2) * 100)% " -PercentComplete $([float](($currentItem + 1) / $ISOall.Count) * 100)
        Clear-Variable key -ErrorAction SilentlyContinue
        $Key = Get-ChildItem -LiteralPath $dKeys | Where-Object -Property name -Like "$([System.IO.Path]::GetFileNameWithoutExtension($iso.fullname))*"
        if ($null -ne $key){
            Write-Host "Decrypting... $($iso.name)" -ForegroundColor Green
            $KeyValue = Get-Content -LiteralPath $key.FullName
            $DecryptISO = $ISOdecrypt + "\$([System.IO.Path]::GetFileNameWithoutExtension($iso.fullname))" + '_DEC.iso'
            & $PS3DEC d key $KeyValue $($iso.fullname) $DecryptISO
            [PSCustomObject]@{
                OrginalISO = $iso.name
                Decrypted = $DecryptISO
                Status = 'Completed'
            }
        } else {
            Write-Host "No key found for $($iso.name)" -ForegroundColor Red
            [PSCustomObject]@{
                OrginalISO = $iso.name
                Decrypted  = ''
                Status     = 'No Key found'
            }
        }
    }
    
    $report

     

  10. 5 hours ago, phunky1 said:

    Here is a Powershell that should work.  Change the first 4 variables paths to suit your needs....$PS3DEC,$ISOroot,$ISOdecrypt,$dkeys.  Then save to .ps1 file and run.

     

    #path to ps3dec.exe
    $PS3DEC = 'C:\path\ps3dec.exe'
    
    #root folder where you keep encrypted iso
    $ISOroot = 'C:\MYisos'
    
    #root folder where decrypted ISO will be stored.
    $ISOdecrypt = 'C:\decrypted'
    
    #root folder you keep all dkeys files
    $dKeys = 'C:\keys'
    
    $ISOall = Get-ChildItem $ISOroot
    $report = foreach ($iso in $ISOall) {
        Clear-Variable key -ErrorAction SilentlyContinue
        $Key = Get-ChildItem $dKeys | Where-Object -Property name -Like "$([System.IO.Path]::GetFileNameWithoutExtension($iso.fullname))*"
        if ($null -ne $key){
            $KeyValue = Get-Content $key.FullName
            $DecryptISO = $ISOdecrypt + "\$([System.IO.Path]::GetFileNameWithoutExtension($iso.fullname))" + '_DEC.iso'
            & $PS3DEC d key $KeyValue $($iso.fullname) $DecryptISO
            [PSCustomObject]@{
                OrginalISO = $iso.name
                Decrypted = $DecryptISO
                Status = 'Completed'
            }
        } else {
            [PSCustomObject]@{
                OrginalISO = $iso.name
                Decrypted  = ''
                Status     = 'No Key found'
            }
        }
    }
    
    $report

     

    I tried your code before I ran out of the house this morning, so I didnt have much time to troubleshoot😵, but after changing the paths and running the script the powershell window would open and immediately close without doing anything. I'll mess with it a bit more in a couple hours once I get back and see if I can figure out why that is and let you know. Thanks!

  11. 2 hours ago, JoeViking245 said:

    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

     

    haha. Gave it shot but it didnt work. here's what it said without the ECHO 

    image.thumb.png.d1e9eb1c708268923a677d52b0492179.png

     

     

    also tried the older version without echo just to be sure 😁


    set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe
    set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\

    for %%f in (*.iso) do (
      set keyFile=%%~dpnf.dkey
      set /p key=< "%keyFile%"
      %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f"
    )

    pause

    image.thumb.png.e4693a1982fc2b284d64229c948909e3.png

     

     

  12. 19 minutes ago, JoeViking245 said:
    @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?

     

    Ugh didnt work lol. But Yeah they're all in the same folder like in the screenshot below....

    image.png.368c6926e97acd37034c97b42fb7c80c.png

     

    The new line of code just gave this result...

    image.png.fb3d1c48cf0aa6e2e7542e429a3d0a93.png

     

  13. 1 hour ago, JoeViking245 said:

    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. ;) 

     

    this was the output from adding echo. nothing was decrypted. just asks you to press any key to continue and then the window closes. lol and yeah im only testing with 2 files in a folder on my desktop for now haha

    image.thumb.png.2a714bc62cb0341c2f8c2ff5b6af279a.png

  14. 6 minutes ago, JoeViking245 said:

    Glad it's [finally] working.  :D 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

    🤞

    Yeah it worked great! Thanks :) for the batch file i gave it a try only changing folder locations and this was the result

    image.thumb.png.cff6bd3bd20513d5c9fa158e69ee4566.png 

    @echo off
    set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe
    set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\
    
    for %%f in (*.iso) do (
      set keyFile=%%~dpnf.dkey
      set /p key=< "%keyFile%"
      %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f"
    )
    
    pause

     

  15. 5 hours ago, JoeViking245 said:

    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. 

    image.thumb.png.a822f8ef83a9218550aaf38cc33b43c3.png

     

    I guess remove the quotes (for that part) in the script and see what happens.?.?.  Seems odd, but worth a try

    image.thumb.png.52563d612f7a2d8001ca4c583d7ead56.png

    WOOT That Finally WORKED! Thanks! 

    Now to see about trying to make a batch script using what you just made :) ill try doing what you posted before and see what happens lol. 

     

    So for everyone else to see heres what finally ended up working (and like @JoeViking245 said only change the first 3 lines to fit your directories) (DKeys and Roms must be in same folder)....

     

    Option 1: Here's @JoeViking245's magic batch code (Below) - which uses a .batch file in conjunction with @phunky1's RPCS3-ISO-Launchbox.ps1 script found here https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox

    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%"

     

    And of coarse Option 2!: the script @phunky1 made which is posted here: https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox works great also and achived the same result. (Dkeys and Roms can be in seperate folders if specified if location is changed in the script). Use the RPCS3-Decrypt-ISO-LaunchBox.ps1 and not the regular RPCS3-ISO-Launchbox.ps1 listed above for his all in one ISO/decode Script. Download with instructions on his github link :) 

    Also a link to his original post without decoding 

    • Like 1
    • Game On 1
  16. 14 minutes ago, JoeViking245 said:

    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%

     

    I appreciate you trying over and over. Seems like it got closer lol. this time it didnt have any errors, but it didnt decrypt the game so the emulator rpcs3 launched saying it couldnt find the game. The output of the CMD is below.

     

    image.thumb.png.7713875024e138a8b5a29bfbc6e782eb.png

  17. 5 minutes ago, JoeViking245 said:

    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%"

     

    Thanks. Unfortunately the result was still the same. The system cannot find the file d.

    image.thumb.png.8e02901b4cb6deaa7505213b4b6f321b.png

     

    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%"


    start "" /w /d "%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%

     

  18. 9 minutes ago, JoeViking245 said:

    PS is a 3rd language to me.  lol   Please. Be my guest. :D

    everything seems to work better now but gets stuck twards the bottom at (invalid switch - "/c") 

    image.thumb.png.6418cca080931af61b54a2b3ab80f873.png

     

    Heres the new code in my batch file again just for reference. 

     

    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%"


    start "" /w /c %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%

  19. 55 minutes ago, phunky1 said:

    I posted my updated script above if you still want.  I can write up a powershell to bulk decrypt if @JoeViking245 doesn't help before I can get to it.  But you will need another drive with enough space to duplicate your entire 1500 games too.

    The script worked great! it actually decrypted almost instantly... lol probably kuz i tested with a few games on my SSD instead of my NAS Server 😣. Be great if you could get the batch script working which could do all 1500 games at once from a single folder to give everyone options.

    but with both of these it could really help people move away from the JB Folders with how much more convient the ISOs are. Most people seem to give up on ISOs kuz they get lost trying to decrypt the games, but this really speeds it up and makes it easy. So thanks a lot to you both @JoeViking245 @phunky1

    • Like 1
  20. 30 minutes ago, phunky1 said:

    I posted my updated script above if you still want.  I can write up a powershell to bulk decrypt if @JoeViking245 doesn't help before I can get to it.  But you will need another drive with enough space to duplicate your entire 1500 games too.

    That would be great to get the batch script! im trying out the new script you posted now and ill report back :)

×
×
  • Create New...