13xforever / ps3-disc-dumper

A handy utility to make decrypted PS3 disc dumps
MIT License
434 stars 29 forks source link

Invalid Files when scanning #29

Closed ryanliii closed 1 year ago

ryanliii commented 1 year ago

Hi there! I ran into an issue after the disc was scanned and got 5 invalid files. I'm hoping this doesn't cause an issue later down the road, so when I go to re-scan discs it doesn't let me. I'm trying to avoid going through the whole read process again and I'm just wondering if this is a common issue and what normal troubleshooting steps are.

13xforever commented 1 year ago

What do you mean by "disc was scanned and got 5 invalid files"? There's no validation on the initial scan, only during the dumping process. Also asking for help without providing the relevant log is basically a guarantee to not receive any useful response. In general, having explicit errors means either 1) disc is scratched / has unreadable sectors, or 2) relevant IRD file is wrong or 3) you have extremely rare disc print that doesn't match with existing IRD file.

ryanliii commented 1 year ago

Firstly, I want to say thank you for creating such a great tool. Very useful and essential to enjoying these games again. Second, my apologies for not adding the relevant information. Below is the log file and a link to a screenshot similar to what I encountered, but it said "5 invalid files" instead of "33 invalid files".

https://linustechtips.com/topic/1446547-invalid-files-in-ps3-dump/

2023-02-09 06:00:57 5 INFO PS3 Disc Dumper v3.3.4 2023-02-09 06:00:57 22 INFO User settings: 2023-02-09 06:00:57 29 INFO Configured: False 2023-02-09 06:00:57 29 INFO OutputDir: .\ 2023-02-09 06:00:57 29 INFO IrdDir: .\ird 2023-02-09 06:00:57 29 INFO DumpNameTemplate: %title% [%productcode%] 2023-02-09 06:01:00 3174 INFO Selected disc: H:\ 2023-02-09 06:01:00 3215 DEBUG Disc flags: gu 2023-02-09 06:01:00 3215 DEBUG Disc product code: BCUS-98233 2023-02-09 06:01:00 3218 INFO Game title: Uncharted 3: Drake's Deception™ 2023-02-09 06:01:02 5023 DEBUG Dump folder name: Uncharted 3 Drake's Deception [BCUS98233] 2023-02-09 06:01:02 5029 TRACE Getting keys from IrdProvider... 2023-02-09 06:01:02 5030 TRACE Searching local cache for a match... 2023-02-09 06:01:02 5030 TRACE Searching IRD Library for match... 2023-02-09 06:01:04 6828 INFO Found 1 new match in the IRD Library 2023-02-09 06:01:04 6870 INFO Found 1 IRD files 2023-02-09 06:01:04 6870 TRACE Got 1 keys 2023-02-09 06:01:04 6870 TRACE Getting keys from RedumpProvider... 2023-02-09 06:01:07 9808 INFO Latest redump snapshot: Sony - PlayStation 3 - Disc Keys (4059) (2023-02-09 12-05-33).zip 2023-02-09 06:01:07 9808 INFO Saving latest redump snapshot in local cache: Sony - PlayStation 3 - Disc Keys (4059) (2023-02-09 12-05-33).zip... 2023-02-09 06:01:07 9809 INFO Using locally cached redump keys snapshot 2023-02-09 06:01:07 9825 INFO Found 3906 redump keys 2023-02-09 06:01:07 9825 TRACE Loading loose cached redump keys 2023-02-09 06:01:07 9826 INFO Found 0 cached disc keys 2023-02-09 06:01:07 9826 TRACE Got 3906 keys 2023-02-09 06:01:07 9828 TRACE Trying to enumerate physical drives... 2023-02-09 06:01:07 9857 DEBUG Found 1 physical drives 2023-02-09 06:01:07 9857 TRACE Checking physical drive \.\CDROM0... 2023-02-09 06:01:07 10020 TRACE Found PS3_DISC.SFB, getting sector data... 2023-02-09 06:01:07 10021 TRACE PS3_DISC.SFB sector number is 1728, reading content... 2023-02-09 06:01:07 10072 DEBUG Selected physical drive \.\CDROM0 2023-02-09 06:01:07 10263 DEBUG Using \PS3_GAME\LICDIR\LIC.DAT for disc key detection 2023-02-09 06:01:07 10263 DEBUG Initialized sectorIV (128 bit) for sector 4224: 00000000000000000000000000001080 2023-02-09 06:01:18 21644 INFO Changed user settings: 2023-02-09 06:01:18 21645 INFO Configured: True 2023-02-09 06:01:18 21645 INFO OutputDir: A:\PS3 Games 2023-02-09 06:01:18 21645 INFO IrdDir: .\ird 2023-02-09 06:01:18 21645 INFO DumpNameTemplate: %title% [%product_code%]

From what it looks like, the dump was completed successfully. To revise my question, I guess it would be, "Would re-dumping the disc result in a valid dump?"

Since the disc doesn't have a single scratch on it, I'm assuming it was probably the result of just an unreadable sector?

13xforever commented 1 year ago

What you posted is nothing but initial disc detection, there's no dumping involved and no errors.

ryanliii commented 1 year ago

Interesting. That was the only thing in the log file but the disc was fully dumped. I was able to sort of boot the game. What about the screenshot? Does that look normal? If you don’t want to click on the link I’ll describe what it shows:

I successfully goes through the steps

but then on the final step I see x 5 invalid files

Again, if you say it’s an unreadable sector then it’s an unreadable sector, but I just wanted to be sure since I didn’t see any documentation on encountering this.

13xforever commented 1 year ago

I already said that without a proper log it's impossible to say if it's a read errors or something else. If you can't find proper log, then you'll have to redump and try to reproduce the problem.