PS2 DVD Player modifications

Discussion in 'Sony Programming and Development' started by krHACKen, Jan 26, 2013.

  1. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    It's been a while indeed! Congratulations on the new, quality releases! :D

    It got retired, having its functionality (to aid FMCB installations for the PSX with a PS2 console) integrated into the FMCB installer.
    I have no plans to maintain this tool anymore, but you are free to do anything that you want with it.
     
  2. americandad

    americandad Familiar Face

    Joined:
    Jul 4, 2011
    Messages:
    1,439
    Likes Received:
    275
    Ok, so that's what it is.

    When you say "bootleg" do you mean a bootable disc that doesn't need modchip/softmod?

    That video of 3.02U reminds me of the PS3 update screen. Neat :)
     
  3. psydefx

    psydefx Peppy Member

    Joined:
    Mar 27, 2016
    Messages:
    323
    Likes Received:
    40
    could you do the english next please. this works on hdd-osd also right?
     
  4. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    I mean it's made of an official update disc, but it installs another version. For instance, the 3.02U bootleg is a mix of the 2.14U installer and the HDD Utility Disc 1.10U update package (aka the "wobble"). Why do that ? Because the HDD Utility Disc 1.10U (which updates the DVD Player to 3.02U) requires a HDD to run. So taking a 2.14U installer and making it install the 3.02U lets the gentlemen update the DVD Player to the last released version without the need of a HDD in their console.
    There's no way to make the disc bootable. Even worse, the $ONY utilities aren't ESR compatible.

    Yes. Give me your console model number and tell me which FMCB version is installed into your MC.

    Yes. If I recall correctly, the HDD OSD adapts the BxEXEC launch paths according to the console region.
     
  5. psydefx

    psydefx Peppy Member

    Joined:
    Mar 27, 2016
    Messages:
    323
    Likes Received:
    40
    no fmcb. i use your 48bit test from sudc3. my console is a usa scph-30001r
     
  6. americandad

    americandad Familiar Face

    Joined:
    Jul 4, 2011
    Messages:
    1,439
    Likes Received:
    275
    Now I understand. Thanks for the explanation.

    Is there a place where one could read changelogs for all the DVD Player updates?

    Is it possible to just switch the resource files after you've signed them to a specific FMCB version (like you did for me)?
     
  7. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Okay. A package awaits you in the Pastie 10790056

    - Please install FMCB 1.95 to your MC (you can uninstall it later, it's not a requirement for the DVD Player to run).
    [​IMG]
    [​IMG]
    - Download the zip from the Pastie;
    - Download the KELFTwinSigner v1.00;
    - Extract BAEXEC-SYSTEM/osdmain.elf
    - TwinSign BAEXEC-DVDPLAYER/dvdplayer.elf with BAEXEC-SYSTEM/osdmain.elf
    [​IMG]

    - Copy the BAEXEC-DVDPLAYER folder (which contains the "twinsigned" dvdplayer.elf) to your memory card.
    - Delete the four FMCB folders if you want. Do not delete the SYS-CONF folder if you saved your uLaunchELF settings or anything else in it ;) .

    [​IMG]
    [​IMG]
    [​IMG]

    As for making an installer, a libsecr app which binds such warez stuff or copy files to BREXEC-DVDPLAYER would be questionable I guess... I prefer to stick with this method rather than causing trouble.

    EDIT :
    I vaguely remember the Japanese PlayStation support website has (or had) something similar.

    Yes and no.
    If you put your MC in a single console, or consoles of the same MG/DVD zone, then yes. The resource files can be replaced. No need to change anything else.
    Otherwise you have to also change the BxEXEC folder name and the dvdplayer.id region code for each region of your consoles.
    The Japanese, Chinese and Asian systems need another KELF for the O/X button remapping.
    It's not possible to make a cross-regional DVD Player memory card, because there are more MG/DVD zones than BxEXEC folder namings. For example, let's say you have an European and an Australian PS2. Both the European and the Australian PS2 launch their DVD Player KELF from the BEEXEC-DVDPLAYER folder. The European one wants a dvdplayer.id file of zone E (for Europe). The Australian one wants a dvdplayer.id file of zone O (for Oceania).

    EDIT 2:
    The DVD Player 3.11 can also be recompiled to support all the languages it originally has, but its a major waste of memory space. That's why I hacked it to always load the same resource files regardless of the OSD settings.
     
    Last edited: Apr 8, 2016
    AlGollan84, psydefx and americandad like this.
  8. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    I have a problem with this modification.
    When i insert DVD-Video disk, after few seconds I get kicked to OSDSYS over and over again.

    I've copied "osdmain.elf" from my MC with FMCB 1.951.
    Entered this command "KelfTwinSigner.exe BEEXEC-SYSTEM\osdmain.elf BEEXEC-DVDPLAYER\dvdplayer.elf".
    I've got different values than @krHACKen for Kbit and Kc (file "dvdplayer.elf" is from Pastie 10790056)
    [​IMG]
    Now I've copied folder (BEEXEC-DVDPLAYER) to MC with FMCB 1.951.
    [​IMG]
    Can someone help me?
    What am i doing wrong?
     
    Last edited: Jun 14, 2016
  9. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Your Kbit and Kc values will be different because you have a different memory card.
     
  10. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Like @sp193 said. The Kbit+Kc is unique per MC.

    I checked the FMCB 1.95 and 1.951 signatures, both are the same so it shoudn't be a binding problem. If it was a binding issue (so a dvdplayer.elf decryption failure), I guess it would have given a "looped" black screen of death till you remove the MC, then have gone to the OSDSYS.
    If it falls back to the OSDSYS by itself instead, the problem is related to the resource files (missing, or corrupted, or bad version...).
    Check the contents of the BEEXEC-DVDPLAYER folder in your MC, and make sure it has all the resource files :
    BTNB
    HLPB
    LGBB
    MSGB
    NUMB
    Also check the remaining free space in your MC. Perhaps the file copy went wrong because the card was full...
     
  11. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    KHN: Boot loops only happen with osd updates. DVD player will fall back to OSD and wait on user input before trying another time.
     
    krHACKen likes this.
  12. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Here's a Japanese package : PASTIE 10876587

    "Pre-configured" with the English resource files. Want to make it Japanese ? Copy the files from "Japanese DVD Player Resources" to "BIEXEC-DVDPLAYER" (overwrite the existing English files).

    You don't need the BIEXEC-SYSTEM folder if you've got FMCB installed to your MC, or if your console is a 30K or higher. Otherwise, twinsign osd110.elf, osd130.elf and osdsys.elf before you copy the BIEXEC-SYSTEM folder to your MC.

    All the ELF files (except dec_dvdplayer.elf which is a plain ELF) were re-signed with the FMCB 1.95 KELF signature. osd110.elf and osd130.elf are ATAD-patched.
     
  13. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Why not make a PS2 installer instead? Maybe use SP193's installer as base?
     
  14. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Oh yup. "DVD Player is not set up" when the decryption fails, and browser with no errors when the DVD Player program f*cks up iirc.

    The FMCB installer doesn't like my hacky KELFs lol. It errors out "Failed to bind MG file" or similar. Possibly because of a content table KELF size value vs. actual KELF size check...
    To be honest, I'm too lazy to write a libsecr powered app hehe.
     
  15. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    Thanks guys for an explanation.

    In the end I figured out that I copy BEEXEC-DVDPLAYER to MC0.
    When I copy BEEXEC-DVDPLAYER to MC1 (HERE IS MY MC WITH FMCB), everything is ok.
    English resource files from PASTIE 10790056 works, so now I have english OSD.
    Also green screen is gone.

    :)

    So once again thank y'all for help.
    @krHACKen thank you for this modification.
     
  16. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    Is there a chance to add to this modification an option to skip unwanted advertising.
     
  17. Vedita BR

    Vedita BR Rising Member

    Joined:
    Aug 28, 2015
    Messages:
    70
    Likes Received:
    32
    I'm lost, could someone link me to the "Pastie" thing (I couldn't find it on Google).
     
  18. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    To avoid legal trouble and/or breaking the rules here, kHn has been leaving indirect links to his work.
    I don't know if there is a better way to access pasties, but basically enter this into your browser's address bar:
    http://pastie.org/pastes/<pastie number>

    Do you know what's the purpose behind those updates? I've seen the small patch (osdsys.elf) that gets installed with DVD Player v1.01, and it does overwrite some strings in the browser (i.e. "DVD Player not set up" in Japanese), fixes the bug that prevents argument passing to the system driver update and changes the update file path to osd110.elf.
    Oddly, the strings that it overwrites are already present.... so I don't really know what that was for.

    But you've listed an update for the SCPH-18000 too, which should already support the DVD player properly.
    It seems more like a full system driver update set instead, which wouldn't be of use if there is no HDD browser?
     
    Last edited: Jun 18, 2016
  19. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    I've noticed that, with this modification progressive scan option disappeared.
    [​IMG] DVD Player 3.11 (RPC-1)
    [​IMG] DVD Player 3.11E
     
    krHACKen likes this.
  20. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Thanks for reporting this.
    I found that the green screen fix is actually making the Progressive Scan option unavailable :facepalm: , because the dvd player fails to pass SetGsVParam(1); at some point.
    Can't fix it for now, but I keep that in mind so I'll try and repack the DVD Player when I could find the time and take a SCART cable and some japanese pr0n NTSC DVD together ;) .

    Also, I found something really stupid in the patched DVD Player. The hardcoded dvd region code is loaded into a wrong register :/ .

    EDIT : One step ahead. I managed to make the progressive option available (it's even available on my oldest beast, DTL-H30002, motherboard GH-004). BUT, I couldn't get progressive + the RGB fix. Switching to progressive obviously requires SetGsVParam. Below is a progressive mode picture (the fix I've done just now), without invoking the SetGsVParam syscall (so the screen doesn't turn green) :
    [​IMG]
    Malformed display. Cropped/stretched.

    Still, I haven't figured out why on earth a single invokation of SetGsVParam jams the RGB output the way $ONY wanted to. It's odd, seriously.

    Will investigate dis later. For now I need to get drunk :p .
     
    Last edited: Jun 23, 2016
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page