PSX to PKG Conversion?

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
 
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

You did it? Got your game working?
 
Yes, it's more simple.... and I've reduced your steps a bit more ;)

_Fix_EBOOT.PBP_.exe calls "make_psone_classic_metadata.exe" to make the ISO.BIN.DAT from EBOOT, execute make_npdata.exe and edit the PARAM.SFO with the title id and game title. I also replaced the ICON0.PNG with a generic icon.

Only 4 steps are needed:
1. Create EBOOT.PBP from iso with PSX2PSP (Compression:0-None)
2. Place EBOOT.PBP in workbench directory
3. Run _Fix_EBOOT.PBP_.exe (wait until EBOOT.PBP is moved to PKG directory)
4. Make PKG.

optional (before make PKG)
- Replace Pictures (or use template)
- Replace Param.SFO (or use template)

Link: https://www.sendspace.com/file/5qompg

Note: I didn't test multi-disc games...

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?
 
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?

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?
 
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:
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.

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
 
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
there is not necessary to add r/s value at the end of the dat now?
 
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.
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.
 
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.

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)
 
Yes, it's more simple.... and I've reduced your steps a bit more ;)

_Fix_EBOOT.PBP_.exe calls "make_psone_classic_metadata.exe" to make the ISO.BIN.DAT from EBOOT, execute make_npdata.exe and edit the PARAM.SFO with the title id and game title. I also replaced the ICON0.PNG with a generic icon.

Only 4 steps are needed:
1. Create EBOOT.PBP from iso with PSX2PSP (Compression:0-None)
2. Place EBOOT.PBP in workbench directory
3. Run _Fix_EBOOT.PBP_.exe (wait until EBOOT.PBP is moved to PKG directory)
4. Make PKG.

optional (before make PKG)
- Replace Pictures (or use template)
- Replace Param.SFO (or use template)

Link: https://www.sendspace.com/file/5qompg

Note: I didn't test multi-disc games...

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!
 
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!
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.
 
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.

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?
 
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?
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?
 
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?

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.
 

Similar threads

Back
Top