Jump to content
LaunchBox Community Forums

phunky1

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by phunky1

  1. 2 hours ago, darreldearth said:

    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)

    heheheh, no worries nice to see someone using it so I assume some one else might as well.  Updated the script on github, need to change the $decryptpath = '' in the script to custom location.  remove leading \  so just 'd:' or 'd:\isopath'

  2. 5 minutes ago, darreldearth said:

     

    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

     

    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!

    • Thanks 2
  3. 12 minutes ago, darreldearth said:

    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 

    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

    • Like 1
  4. 35 minutes ago, darreldearth said:

    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!

    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

  5. 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

     

  6. 20 minutes ago, darreldearth said:

    OK got home and tried the script. It didnt work yet so maybe i messed something up 😖 but ill post what happened. 

    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.

  7. 6 hours ago, JoeViking245 said:

    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.

    Nice, I didn't even read to see if anyone had replied yet before posting my own.

    I would think the same and just decrypt the games I am playing or know I will play but hey to each his own.

    • Like 1
  8. I don't remember why I didn't do this last time it was requested, maybe I was just being lazy or burnt out not sure but I think I worked this out now.  I will clean up and write up better instructions this weekend....probably.

    https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox

    Use the RPCS3-Decrypt-ISO-LaunchBox.ps1 and let me know how it works out for you.

    Put script in same folder as RPCS3.exe (or change script path)

    make folder in same place called ps3dec and add ps3dec.exe and vcomp100.dll to this folder (or change script path)

    make another folder in root with rpcs3.exe and name it dkeys and add all keys into this folder (or change script path)

    setup as per normal instructions for launchbox

    this version only works for encrypted games.  ISO name must not be changed or must be same name as key or this will not work.  As long as name and key are same should decrypt and run game.

  9. 19 hours ago, Suhrvivor said:

    On my end and for some reason I can't figure out, 3D Dot Game doesn't work at all when you mount the iso and launch it from there ( iso created with PS3 iso Rebuilder with all files matching CRC). Doesn't matter if I use Launchbox with this script or launch it manually from rpcs3. Same with other popular games like Persona 5 and The Last of Us.

    Right, it only shows in game on compatibility page so makes sense.

    On 1/11/2022 at 7:02 AM, silverchair said:

    @phunky1 yes I have and in fact as I mentioned I initially tried this with a different script, but switched to yours, however issue is with both. Tried a fresh rpcs3 install on a completely different machine - absolutely same issue. I have no idea what's going on, but do not see how this could be my fault as I am following elementary instructions to the letter. And everything works as described until the moment the game is supposed to start, then it all falls apart.

    Sorry it doesn't work for you, not sure how to help.  I am not a dev.  I haven't even touched the emulator in months and don't even use it.  I just posted this script to possibly help someone else since it worked for me.  Good luck!

    • Like 1
  10. On 1/4/2022 at 12:03 PM, silverchair said:

    Well clearly it is not the same as JB format, as when it is in JB, the files are both read and write, while when in ISO medium it is read only. Can you please give me names of games you run successfully in this manner? Also what do you have in Launchbox for the Launching setting of the game (besides pointing to the ISO file?)

    A PS3 disc is read only, JB format may be R\W but RPCS3 is not modifying any files just like a real PS3 with a disc would behave.  I have used this method with any compatible game, one I recall that is small and good to test with 3D Dot Game Heroes.  The problem appears to be on your side.

     

    Have you read?  https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox

  11. Not really sure why you have issues.  I would have said to try and extend the ISO mounting time out but you said you commented out and still have the problem.

    The only other thing I would try is to right click ISO in windows and mount.  Then manually use it with RPCS3 and see if that works.  Should be same as JB format.

    This script just does that, mounts the ISO as a drive letter, runs the eboot file, unmounts drive once RPCS3 is done.

    Try also chaing the timeout to 3 or more seconds.  Start-Sleep -Seconds 2

  12. I use PS3_ISO_TOOLS V2.2.exe to build my ISO.  Not sure if ImgBurn will work or not.  As far as HDD game is corrupted, not really sure.  Check the RPCS3 site for game compatibility.  Also test you JB format game before ISO conversion and see if same error.  My tool literally just mounts the ISO so it doesn't have to be extracted out each time to play.  Any errors will be on your side and with RPCS3 most likely.

  13. @FoxyMonty What are you using to decrypt your ISO?  ps3dec or 3k3y or something else?

    Why not decrypt them and be done instead of having to decrypt every time you want to play and have that extra copy stored as well, just curious.

    Looks like LaunchBox supports running powershell now so I have updated my script for launching ISO, will post tomorrow or this weekend.

    • Like 2
  14. Doesn't look like it.  Let me mess around with it and see if I can get that to work also.  Thanks!

     

    So if you setup like this it can work with a relative path, I will see about improving this.....

    How to use relative path:

    • Put RPCS3-Launcher.exe and .config into your RPCS3 folder along with rpcs3.exe.
    • setup your default command line parameters with ".\rpcs3.exe"
    • image.thumb.png.9f96c83473832fec0950664b985e915b.pngShould work now.
  15. Added script to decrypt and mount ISO's now and also a powershell script to bulk decrypt entire folder of encrypted ISO's.

    https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox

     

    So after getting into Launchbox from EmulationStation I wanted to port my PowerShell script to mount ISO for RPCS3 over to run on Launchbox.  I found the same thing as @Landcross that you can't run Powershell under Launchbox for some reason.  Finding his\her thread here helped me in a few ways.

    1. How to convert PowerShell scripts to exe, very easy.
    2. nNASOS is awesome!  Will be converting my collection after this....tested his script and worked great!
    3. used his script to verify my own, Thanks @Landcross

    This script will take ISO and mount it as a drive letter, then launch rpcs3.exe with the path to the mounted ISO's eboot.bin.  Then waits for the rpcs3.exe process to close and un-mounts the ISO.  No need to extract ISO files to play games!

    Usage:

    1. Download the file attached and create a folder under launchbox (or wherever you prefer) with the RPCS3-Launcher.exe and .config file inside.  I included the pre-created EXE and the .ps1 script as well but not needed for Launchbox.
    2. Add the RPCS3-Launcher.exe to as an emulator.  Emulator Name: RPCS3-ISO  Path:  path to RPCS3-Launcher.exe   Default Parameters  "path to your rpcs3.exe in quotes"
    3. image.thumb.png.79b69ee977b24e9f9ce54b537338c03a.pngMake sure to associate with platform tab:  Sony Playstation 3 
    4. and click OK to finish and close if needed.
    5. Now go into your games and edit an ISO game you have.
    6. Select the emulation tab and choose your newly created emulator RPCS3-ISO (or whatever you named it in step # 2)
    7. image.thumb.png.0353a9d298c6070cf5d725c1ddaf4325.pngDo this for EVERY ISO you have.  Once completed.....
    8. Start playing ISO games with RPCS3 under Launchbox!

    How to use relative path:

    • Put RPCS3-Launcher.exe and .config into your RPCS3 folder along with rpcs3.exe.
    • setup your default command line parameters with ".\rpcs3.exe"

    image.thumb.png.9f96c83473832fec0950664b985e915b.png

    Let me know if issues for you and I can try to help!

     

    RPCS3-ISOLauncher-Launchbox.zip

    • Like 5
    • Unusual Gem 1
×
×
  • Create New...