Disc Dumper

Discussion in 'PS3 Homebrew' started by Berion, Oct 13, 2019.

  1. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    A GUI. ;)

    discdumper_preview_1.png preview_2.png
     
    Roxanne, T.A.U, dazzaXx and 7 others like this.
  2. 7,699
    8,978
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,699
    Likes Received:
    8,978
    Trophy Points:
    797
    Wow, Nice one, I like the info displayed for the user! Any more info? Can it dump to ISO or convert to ISO after..that would be a nice feature. :) NTFS?
     
    T.A.U, Berion and Louis Garry like this.
  3. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    It doesn't exist yet but there is a chance that one of the gifted developers will make it. ^^

    I'm not sure if we should duplicate backup managers functionality. I would rather stick to options related to perfect dumps (but I don't have anything against it, just I don't feel comfortable to overload by to many implementations the programmer which could not have enough time for it). Most important here is dumping unreadable on standard ODDs and ODDWs areas of the disc where some keys are stored.

    My idea is in example creating something like this:
    • dev_usb006/PS3/DISC_DUMPER/<Game ID>/hidden_track_1.bin
    • dev_usb006/PS3/DISC_DUMPER/<Game ID>/hidden_track_2.bin
    • dev_usb006/PS3/DISC_DUMPER/<Game ID>/disc_key.bin
    • dev_usb006/PS3/DISC_DUMPER/<Game ID>/disc_hash_key.bin
    • dev_usb006/PS3/DISC_DUMPER/<Game ID>/secure_file_id.bin
    I'm not sure if DHK and SFID are possible to retrieve without game running but at least HT1 and HT2 would be for sure (from which also can be extracted disc key).

    Every other functionality is just optional. ^^

    BTW: I'm curious if Cobra or Mamba doesn't interfere with disc recognition (i.e BD-R vs BD-RE vs PS3BD-ROM).
     
    T.A.U, DeViL303 and jcorrea like this.
  4. 804
    965
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    965
    Trophy Points:
    147
    Do you still want to do it ?

    I managed to :

    - Dump eid_root_key ( we need it to get D1)
    - create 3Dump.bin (it's the eid_root_key + eid4 ... we need it to get BR keys (D1) )
    - get BR keys ( d1, d2, pic) (it can generate disc.key and disc.pic but we need only d1 to decrypt the BR... I have no idea how d2 and pic are used)
    - dump encrypted BR. (it 'just' storage function from lv2, I was expecting something harder)
    - dump decrypted BR (I use only D1 to decrypt encrypted regions)

    For me the only usefull function is just the last one (the other one will be used but not by the user, it's included inside the dump_dec_bdvd function).
    I was wondering if i was going to make available every function or just the last one. So, do you need these key for something else ?
    It will be included in ManaGunZ settings but you'll be able to export the function to your new project without troubles...

    if you have any request tell me now because I'm working on it ;) . What are the 'hidden_track_1' , 'secure_fie_id', 'disk_key' and 'disk_hash_key' ?


    PS: I didn't create the function to build an IRD yet...
     
    Last edited: Jan 6, 2020
    Cypher_CG89, DeViL303 and Berion like this.
  5. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    Absolutely yes. So far sounds for me awesome and great for release.

    Please, implement all those functions (If IRD is to much time consuming, let's drop it). They will be very helpful for preservation guys and personally I also want have "complete dumps" of my games (having everything which is possible to retrieve from disc). That's the only reason.

    About hidden tracks, I'm based on devwiki information. I haven't any tools/methods to dump them, only hear about them. Isn't we talking about D1=Hidden Track 1, and D2=Hidden Track 2? ;)

    SFID and DHK are used to encrypt save data. Flatz was the first guy who figure this out and released also modules to dump them (but SFID required as I remember running game so probably it is impossible to get it from just reading disc). I have attached some key dumpers, unfortunately, only binaries.

    disc_key=3Dump.bin

    Big thanks for the works on this.
     

    Attached Files:

    Last edited: Jan 6, 2020
    Cypher_CG89, Zar and DeViL303 like this.
  6. 3,086
    1,633
    297
    Cypher_CG89

    Cypher_CG89 Senior Member

    Joined:
    Jul 30, 2018
    Messages:
    3,086
    Likes Received:
    1,633
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Lead Graphic Artist/Dev, VENOM ELITE GAMING
    Location:
    North East, England, UK
    These are used to protect certain file's in the game .... the save file, you cannot fully decrypt/rebuild a save file, namely the PFD, without these. Tools like BruteForce save data use both these keys.

    A PFD file is also found in the Trophies of the game so these keys are used to protect the Trophies PFD file of these as well.
     
    Zar and Berion like this.
  7. 3,086
    1,633
    297
    Cypher_CG89

    Cypher_CG89 Senior Member

    Joined:
    Jul 30, 2018
    Messages:
    3,086
    Likes Received:
    1,633
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Lead Graphic Artist/Dev, VENOM ELITE GAMING
    Location:
    North East, England, UK
    You can Bruteforce the SFID from the save file's.....

    SFID1.png
     
    Algol likes this.
  8. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    My point was assumption that this key is somehow calculating by the game from other key/keys on disc. If it is somewhere in executable as standalone key, then adding such function in Disc Dumper app is not good idea (more in ManaGunZ because it is game manager). I hope now it is clear. The same with DHK (BTW: it is not used probably but for some reason is different per game title).
     
  9. 3,086
    1,633
    297
    Cypher_CG89

    Cypher_CG89 Senior Member

    Joined:
    Jul 30, 2018
    Messages:
    3,086
    Likes Received:
    1,633
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Lead Graphic Artist/Dev, VENOM ELITE GAMING
    Location:
    North East, England, UK
    What do you mean "Not used"...?
     
  10. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    @Cypher_CG89 Not used per game DHK, instead fallback key. Or am I wrong?

    @Zar I forgot to attaching graphics if You willing to make it as standalone application. ^^
     

    Attached Files:

  11. 804
    965
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    965
    Trophy Points:
    147
    i was reading about klic and secure_file_id. I don't know how to dump them. Sources are available for sprx ...
    https://github.com/aldostools/webMAN-MOD/blob/master/include/secure_file_id.h
    https://github.com/aldostools/webMAN-MOD/blob/master/main.c#L2109

    The dumper you linked were release by flatz and I don't know how it works...

    @zecoxao Do you know if flatz is willing to share his sources of dumpers ? (secure_file_id, klic, disc_hash_key and data dumpers)

    I'm asking you because I think you two are friends and he is not here ;p
     
  12. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    First releases of SFID and DHK dumpers are EBOOTs, but I cannot find them.
     
  13. 1,709
    1,827
    297
    pink1

    pink1 Moderator Developer

    Joined:
    Feb 25, 2015
    Messages:
    1,709
    Likes Received:
    1,827
    Trophy Points:
    297
    Gender:
    Male
    Here are the 4.21 dumpers. I also have the pkgs for the 3.55 ones too if you need them.
     
    Berion likes this.
  14. 2,422
    2,411
    372
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,422
    Likes Received:
    2,411
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Poland
    Oh, but there was yet another, older. ^^.
     
  15. 1,709
    1,827
    297
    pink1

    pink1 Moderator Developer

    Joined:
    Feb 25, 2015
    Messages:
    1,709
    Likes Received:
    1,827
    Trophy Points:
    297
    Gender:
    Male
    Yeah those were the 2nd ones released. I think the difference is the old one needed the data dumper alone with the other two.
    I’ll get what I have zipped up and uploaded for you to check out.
     
  16. 1,709
    1,827
    297
    pink1

    pink1 Moderator Developer

    Joined:
    Feb 25, 2015
    Messages:
    1,709
    Likes Received:
    1,827
    Trophy Points:
    297
    Gender:
    Male
  17. 6,439
    6,109
    622
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    6,439
    Likes Received:
    6,109
    Trophy Points:
    622
    Location:
    Babylon 20xxE series
    Have you took a look at the mysis POC plugin ?, if i remember right it was able to dump some disc keys
     
  18. 804
    965
    147
    Zar

    Zar Developer

    Joined:
    Oct 15, 2014
    Messages:
    804
    Likes Received:
    965
    Trophy Points:
    147
    yep, it's the 'original' source code to dump them. It's done with a sprx with vsh_modules. I don't think I can use vsh modules from a self. Actually, I never tryed maybe it's possible...

    Also, flatz method doesn't require to launch the game to get the klic.
     

Share This Page