13xforever / ps3-disc-dumper

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

Inconsistencies in directory timestamps #25

Closed NicknineTheEagle closed 1 year ago

NicknineTheEagle commented 1 year ago

It appears that game directories that only have other directories inside them and no files do not get their filestamps set properly (either they're skipped or something resets their timestamp to current time). Directories that have any files inside and empty directories are handled as they should be.

13xforever commented 1 year ago

Can you provide examples of such discs?

NicknineTheEagle commented 1 year ago

Can you provide examples of such discs?

http://redump.org/disc/54429/ http://redump.org/disc/31685/ http://redump.org/disc/28529/ http://redump.org/disc/32426/

13xforever commented 1 year ago

I'll try to look at it next weekend if I'll have some time.

NicknineTheEagle commented 1 year ago

These directories are filtered out over here: https://github.com/13xforever/ps3-disc-dumper/blob/55073ba53f9c5929d923fd4989cce62150e7b3ca/IrdLibraryClient/IrdFormat/IsoHeaderParser.cs#L39-L48 This appears to be an optimization that serves to reduce the number of folder creation calls, doesn't look like it's strictly necessary.