-
Posts
169 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Posts posted by darreldearth
-
-
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!
-
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
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
-
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....
The new line of code just gave this result...
-
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
-
6 minutes ago, JoeViking245 said:
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
🤞
Yeah it worked great! Thanks for the batch file i gave it a try only changing folder locations and this was the result
@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
-
5 hours ago, JoeViking245 said:
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
- 1
- 1
-
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.
-
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.
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.ps1set 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%
-
-
9 minutes ago, JoeViking245 said:
PS is a 3rd language to me. lol Please. Be my guest.
everything seems to work better now but gets stuck twards the bottom at (invalid switch - "/c")
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.ps1set 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%
-
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
- 1
-
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
-
17 minutes ago, JoeViking245 said:
You to launch the batch file from a PowerShell window (vs a Command Prompt window). Which is fine. Per the error message, at the prompt type in
.\myPS3emu.bat "full\apath\tp\your\game.iso"
This seems to be working but then half way through the "Plants vs. Zombies (USA).dkey" name gets cut in half and becomes "vs. Zombies (USA).dkey". The output i recieved is below
-
3 hours ago, JoeViking245 said:
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).
OK got home and tried the script. It didnt work yet so maybe i messed something up 😖 but ill post what happened.
This is what i typed into the batch file (Also, i used windowspowershell instead because i dont have powershell7...
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.ps1set 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%
Below is a screenshot of the output from command prompt.
Thanks!
-
@JoeViking245 Awesome! I'll test the new script when I get back home and report back!
Also, For decrypting all of the games at once like you posted above do you know how to make a batch script for PS3dec which will run through all games within a folder decrypting them all? Otherwise you have to sit there for 2-5 min at a time waiting for each to finish which takes an average of around 75 hours for 1500 games 😵
-
3 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.
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.
Wow that was fast😱. To answer your questions YES the key file does change with every game, so I'm assuming your code needs to be changed a little. The key file is named the same as each game with an extension of .dkey
Example would be
007 - Blood Stone (Japan).iso
Would be...
007 - Blood Stone (Japan).dkey
They could either be in the same folder as the roms to simplify it, or if not to much work then in a seperate folder called keys or something.
Also, in the code you posted on line 3.... "key=323CE7042E84AF01555853C280760FIF" is this assuming the key is in the same folder as the encrypted rom with a name of "323CE7042E84AF01555853C280760FIF" ? Just trying to figure out what to edit to test the script.
But that was really fast for the rest of everything! Thanks, and I'll still try the code when I get home. Temporarily I'll just name the key file key to test it.
PS. yeah you're right, it takes a while each time to decrypt the games (sux kuz without a loading bar you might think it froze lol). But yeah, Figured it's easier than decrypting each game 1 by 1 before hand which takes forever for 1k+ games without a batch script for ps3dec 😬 (unless you're willing to take a shot at that too lol) 😵. Each game would just need to retain its original name so you could tell them apart with "_dec" at the end or something. Definately would have been nice if the creator of ps3dec included that for those of us without much coding ability instead of having to do them individually in command prompt.
-
So for anyone trying to use PS3 ISO ROMS instead of JB Folder versions (which are annoying for storage kuz of the thousands of files in each one) you've probably noticed they're all Encrypted. So wanted to see if anyone with any scrypting knowledge would wanna take shot at creating a Batch file that would use PS3dec to decrypt the game using a games dkey when launched, and then load the decrypted game. Then delete the created decrypted ISO on game quit. Saw someone did it a few years back but he never posted his code.
(Also yes you could just decrypt all the games in your library , but then you'd lose the encrypted original which is nice to have if you ever wanna use it on your REAL Modded PS3)
Someone already made the powershell code to mount the games ISO and unmount it here... (but it would need to be tweaked to launch the decrypted iso instead of the initial encrypted one)
Heres a link to the PS3dec and how its works as well as a youtube video if it helps. Its all done using Command Prompt...
Anyway, just throwing it out there to see if anyone wants to take a shot at it, because it would be nice for preservation, and also be a lot more convient than the JB Folders most people are currently using.
-
The yt-dlp.exe needs to be updated to the latest version from github for the plugin to work. So for everyone who uses this plugin you'll need to replace the yt-dlp.exe file in the Launchbox/plugins/vidsnap_scraper folder with the latest version which I've attached.
- 2
-
On 9/20/2018 at 10:17 AM, Landcross said:
Well, at the moment nowhere. If I were to share it here I'd have to finetune it a bit and remove some rough edges. I can do that, but don't have much time at the moment.
If you don't use Redump ISOs or just have all your isos stored unencrypted, my script won't work anyway and you'd be better of with the one from @phunky1Did you ever end up cleaning up your script for use with the redump iso's? im using the redumps also and decrypting thousands of roms isnt very fun, so if you still had the scrypt lying around i'd love to check it out. thanks!
-
The Long/Large Jewel case seem more washed out Compared to the small jewel case. Was it meant to be that way kuz its supposed to be thicker? If not is there a way to reduce the plasticky effect to make them the same? Regardless, Still looks a lot better overall having real cases
-
Is the new theme going to still have the original platform layout as well?
I think the new one looks nice. Only thing I could come up with was maybe the top right box be only the description/clear logo, and then the bottom box having the recent games and the system icon somewhere. And there wouldn't be a random game 🤷♂️.
Honestly I personally like simple, so just like seeing the description, system icon and the video. Anything else is just fluff to me.
Also thanks for all the work on the theme man. I hope your personal situation works out so you don't have to stress.
-
Yeah the black looks a little easier to read 👍
-
50 minutes ago, oyehia said:
Hey Guys,
Not sure if this is beta related or launchbox in general, but i thought i mentioned that i am having problems importing several PS3 titles. Let me explain, most of my PS3 roms are in the rpcs3/dev_hdd0/(game or disc) then eboot.bin.
So i added all the eboot.bin in the dev_hdd0 folder, the importer did see all the files but after processing it only processed one rom. even though the dialog box did confirm there are several eboot.bin in separate directories. So my question was this ignored because it is the same file found in several folders or do i have to import one rom at a time, i have over 500 roms
I hope it's clear, thanks!
is there a chance it's because you don't have the option selected to import duplicate roms? the importer might see them as all the same game since they all have the same name. Other thing it could be is that since they have the same name the importer may have consolidated them all into one game during import, but only if you had that checkbox checked during import.
-
I personally think the fan art option looks great especially if u had an option to enable/disable them. Would it be on the vertical wheels also? Yeah the cards could just have like a 25% transparency or something so u can read them 🤷♂️, but overall I think it looks great.
PS3: Looking to Create a Batch file to Decrypt ISOs with PS3dec when launching a game. Then delete the decrypted PS3 file on QUIT.
in Noobs
Posted
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