PSX to PKG Conversion?

Discussion in 'General PS3 Discussion' started by noctis90210, Jun 2, 2016.

  1. 146
    43
    57
    Omage

    Omage Member

    Joined:
    Feb 23, 2015
    Messages:
    146
    Likes Received:
    43
    Trophy Points:
    57
    4 Disc try to succeed, my English is not good, simple description

    1. Use pops_md_free_gui_v7.1b to multi disc convert EBOOT.PBP (0 compression)
    2. Use PSX2PSP 1.42 to convert 1~4 disc, and the 0x1081b offset to get 3bytes value
    3. EBOOT.PBP to modify the value of step 2
     
  2. 126
    61
    57
    MOST Hated

    MOST Hated Member

    Joined:
    Dec 21, 2015
    Messages:
    126
    Likes Received:
    61
    Trophy Points:
    57
    Location:
    Killadelphia, Pistolvania
    You did it? Got your game working?
     
  3. 146
    43
    57
    Omage

    Omage Member

    Joined:
    Feb 23, 2015
    Messages:
    146
    Likes Received:
    43
    Trophy Points:
    57
    yes 4 disc work fine
     
    MOST Hated likes this.
  4. 126
    61
    57
    MOST Hated

    MOST Hated Member

    Joined:
    Dec 21, 2015
    Messages:
    126
    Likes Received:
    61
    Trophy Points:
    57
    Location:
    Killadelphia, Pistolvania
    Awesome! Glad you got your game working!

    Can I get a link to pops_md_free_gui_v7.1b to add to the psx_classics tools?
     
  5. 146
    43
    57
    Omage

    Omage Member

    Joined:
    Feb 23, 2015
    Messages:
    146
    Likes Received:
    43
    Trophy Points:
    57
  6. 126
    61
    57
    MOST Hated

    MOST Hated Member

    Joined:
    Dec 21, 2015
    Messages:
    126
    Likes Received:
    61
    Trophy Points:
    57
    Location:
    Killadelphia, Pistolvania
    @Omage

    Thanks! I'm adding this in psx_tools for 4 multidisc games over 2 gb's on disc 3.. :encouragement:

    Now we need to get back to figuring out CDDA games to play BGM...
     
    STLcardsWS and aldostools like this.
  7. 5,700
    2,768
    497
    atreyu187

    atreyu187 Retired Old Hunter Moderator

    Joined:
    Sep 29, 2014
    Messages:
    5,700
    Likes Received:
    2,768
    Trophy Points:
    497
    Gender:
    Male
    Occupation:
    Scholar of Byrgenwerth
    Location:
    Cainhurst Castle
    Home Page:

    Might be good to run Total_Noobs PSP CDDA Enabler with a debugger like PPSSPP to see how that works.
     
  8. 126
    61
    57
    MOST Hated

    MOST Hated Member

    Joined:
    Dec 21, 2015
    Messages:
    126
    Likes Received:
    61
    Trophy Points:
    57
    Location:
    Killadelphia, Pistolvania
    It seems there is a size limit for multidisc eboots. Anything over 2.60gb's doesn't work.
    _Fix_EBOOT.PBP_.exe does nothing.. Can you do something about that?
     
  9. 3,180
    5,138
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,180
    Likes Received:
    5,138
    Trophy Points:
    522
    It's weird... it's working for me... are you putting the EBOOT.PBP in the same folder of _Fix_EBOOT.PBP_.exe?

    Are you running it with permissions of administrator?
     
  10. 126
    61
    57
    MOST Hated

    MOST Hated Member

    Joined:
    Dec 21, 2015
    Messages:
    126
    Likes Received:
    61
    Trophy Points:
    57
    Location:
    Killadelphia, Pistolvania
    Yes with permissions, double click or drag & drop.
    Try Wing Commander 3. The eboot comes out to 2.73gb's.
    When I run your tool, it does nothing. I have to make the edat manually.
     
    Last edited: Jul 16, 2016
  11. 3,180
    5,138
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,180
    Likes Received:
    5,138
    Trophy Points:
    522
    I tested it with a rip of Ridge Racer which is only 4MB. Maybe there is a timing issue.
    I don't have that game to test...

    The code is very simple, if you want to improve it ...
    Code:
    Option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    Private Sub Form_Load()
      Dim titleid As String * 9
      Dim title As String * 128
      On Error Resume Next
      If FileExists("EBOOT.PBP") Then
        Kill "ISO.BIN.DAT"
        Kill "ISO.BIN.EDAT"
        Shell "make_psone_classic_metadata.exe EBOOT.PBP", vbHide
      
        Do Until FileExists("ISO.BIN.DAT")
          Sleep 1000
          DoEvents
        Loop
      
        Open "EBOOT.PBP" For Binary As #1
        Get #1, &H131, titleid
        Get #1, &H359, title
        Close #1
      
        Shell "make_npdata -e ISO.BIN.DAT ISO.BIN.EDAT 1 1 1 0 16 3 00 " & Mid(titleid, 3, 1) & "P9000-" & titleid & "_00-0000000000000001 5", vbHide
        Do Until FileExists("ISO.BIN.EDAT")
          Sleep 1000
          DoEvents
        Loop
        Sleep 5000
        Open "PKG\PARAM.SFO" For Binary As #1
        Put #1, &H161, title
        Put #1, &H1E1, titleid
        Close #1
        Open "PKG\USRDIR\SAVEDATA\PARAM.SFO" For Binary As #1
        Put #1, &H511, titleid
        Put #1, &H12B1, title
        Close #1
        Sleep 5000
        FileCopy "PKG\ICON0.PNG", "PKG\USRDIR\SAVEDATA\ICON0.PNG"
      
        Sleep 1000
      
        Kill "ISO.BIN.DAT"
      
        Kill "PKG\USRDIR\CONTENT\EBOOT.PBP"
        Name "EBOOT.PBP" As "PKG\USRDIR\CONTENT\EBOOT.PBP"
      
        Sleep 1000
      
        Kill "PKG\USRDIR\ISO.BIN.EDAT"
        Name "ISO.BIN.EDAT" As "PKG\USRDIR\ISO.BIN.EDAT"
      
      End If
      End
    End Sub
    
    Private Function FileExists(filename As String) As Boolean
      On Local Error Resume Next
      FileExists = FileLen(filename) > 0
    End Function
    
     
    bguerville, jjkkyu and MOST Hated like this.
  12. 53
    58
    42
    jjkkyu

    jjkkyu Developer

    Joined:
    Jul 15, 2015
    Messages:
    53
    Likes Received:
    58
    Trophy Points:
    42
    there is not necessary to add r/s value at the end of the dat now?
     
    bguerville likes this.
  13. 3,180
    5,138
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,180
    Likes Received:
    5,138
    Trophy Points:
    522
    I'm not sure about what you mean with "add r/s value at the end of the dat"... The tool worked for me without providing extra parameters.
     
    bguerville likes this.
  14. 53
    58
    42
    jjkkyu

    jjkkyu Developer

    Joined:
    Jul 15, 2015
    Messages:
    53
    Likes Received:
    58
    Trophy Points:
    42
    I used to run a python script to get the R/S values from the ISO.BIN.DAT and add the values at the end of the ISO.BIN.DAT.
    Then encrypt the ISO.BIN.DAT to ISO.BIN.EDAT.
    I'm curious why this process is omitted now.
     
    bguerville likes this.
  15. 3,180
    5,138
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,180
    Likes Received:
    5,138
    Trophy Points:
    522
    Hmmm... maybe that step is done automatically when make_psone_classic_metadata.exe is called. My tool just calls it.
    (I don't know what it does exactly)
     
    bguerville likes this.
  16. 3
    0
    5
    scavenger

    scavenger Forum Noob

    Joined:
    Dec 18, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Gender:
    Male
    Sorry, I'm a complete noob. How do you do step 4 above ("Make PKG")? I've successfully ran
    _Fix_EBOOT.PBP_.exe and extracted/fixed my eboot.pbp into the pkg directory. But, I don't know how to make the final pkg ... :( Thx!
     
  17. 7,843
    6,517
    647
    bguerville

    bguerville Moderator

    Joined:
    Feb 25, 2015
    Messages:
    7,843
    Likes Received:
    6,517
    Trophy Points:
    647
    Location:
    Earth
    Use ps3 tools collection.
    If installed correctly, when you right click your folder in Windows Explorer, the context menu should give you a "Make PKG" entry.
    You could also use Trueancestor Pkg Repacker.
    Both can be found in our Resources section.
     
  18. 3
    0
    5
    scavenger

    scavenger Forum Noob

    Joined:
    Dec 18, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Gender:
    Male
    I sure feel dumb. Was in front of my eyes all along ... :) Anyways, went through all the steps and generated a pkg file, and was able to install it "successfully". However, when I tried to run it, I got 80028F17 error. Any ideas?
     
  19. 7,843
    6,517
    647
    bguerville

    bguerville Moderator

    Joined:
    Feb 25, 2015
    Messages:
    7,843
    Likes Received:
    6,517
    Trophy Points:
    647
    Location:
    Earth
    The error code means
    msg_error_cannot_play_ps2disc_scee/scea/scej
    "This title is not currently compatible with the PS3 system. If you update your system software the title may become compatible with your system." / target id 0x81"

    It's a PS2 game?
    What game is it? Have you resigned it?
    Have you tried to apply any game update for it?
    What exactly are we talking about here?
     
  20. 3
    0
    5
    scavenger

    scavenger Forum Noob

    Joined:
    Dec 18, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
    Gender:
    Male
    The game I'm trying to convert is an English patched version of the Japanese PS1 game called "Langrisser 4". I don't have the original Japanese game, just the english patched version (in bin/cue format). I was able to convert it to PSP format (eboot.pbp) and it runs fine on my PSP, so I know the game image is good. Do I need to resign it first before converting it to ps3 pkg? If so, how do I resign it? Thx again.
     

Share This Page