Advertising (This ad goes away for registered users. You can Login or Register)

[Guide] Running homebrew on PS3 via PSP emulator (minis)

Locked
BlackDaemon
Posts: 28
Joined: Tue May 10, 2011 8:30 am

[Guide] Running homebrew on PS3 via PSP emulator (minis)

Post by BlackDaemon »

Notes:
  • If you want to sign Homebrew 1.xx, and you have source code, then do first 4 steps.
  • You could see differences between Homebrew 1.xx from Homebrew 3.xx(6.xx) on those screenshots:

    Homebrew 1.xx
    [spoiler]Image[/spoiler]
    Homebrew 3.xx
    [spoiler]Image[/spoiler]
  • If you have regular Homebrew 3.xx, then begin from step 5.
_____________________________________________________________________________________________________

1. Download and install Minimalist PSPSDK.
2. [Example] Go to "C:\pspsdk\psp\sdk\samples\gu\beginobject" directory and open "Makefile" using notepad (or another editor).
3. Add "BUILD_PRX = 1" string there and save it.
[spoiler]Image[/spoiler]
4. Using command line go to directory and type "make".
[spoiler]Image[/spoiler]
5. Download PrxEncrypter from attachment, and extract it somewhere.
PrxEncrypter_mod2.7z
(82.91 KiB) Downloaded 401 times
6. Grab beginobject.prx, and copy it to PrxEncrypter directory.
7. Rename it to DATA.prx and run SIGN.BAT.
8. Open any PSP image using UMDGen and replace EBOOT.BIN in PSP_GAME/SYSDIR with generated one from PrxEncrypter directory.
9. Save image as iso and using fake_np convert it to eboot.pbp
10. Proceed next steps to pack it as minis, like regular PSP game. :)

Screenshots:
[spoiler]Image
Image
Image
Image
Image[/spoiler]

Special thanks to ErikPshat and members from pspx for making this guide possible. :)
Advertising
BlackDaemon
Posts: 28
Joined: Tue May 10, 2011 8:30 am

Re: [Guide] Running homebrew on PS3 via PSP emulator (minis)

Post by BlackDaemon »

Some interesting findings:

- debug text won't appear on screen.
[spoiler]Image[/spoiler]

- you could use printf to output messages into ProDG:
[spoiler]Image[/spoiler]

- if use <fprintf(stdout, "message");> instead of printf - on PSP with OFW it will return to XMB with error 0x80020148. On PS3 emulator crashes with exception.

- i discovered some interesting limilation in "disc0:/PSP_GAME/SYSDIR" folder. For example, Heretic PSP requires HERETIC.WAD from original game to work. If i just put it into SYSDIR folder, when launching game on PSP with CFW or OFW it will say, that HERETIC.WAD was not found. If you using hex editor rename in ELF HERETIC.WAD -> BOOT.BIN, and place HERETIC.WAD as BOOT.BIN it will work on OFW as well. Unfortunately it doesn't work on PS3 (emulator crashes with exception). Btw, Wagic working from "disc0:/PSP_GAME/SYSDIR" on PSP with CFW correctly, and loads data from "disc0:/PSP_GAME/SYSDIR/Res/core_0186.zip" without any problems. On PSP with OFW it returns to XMB with error 0x80020148.
Advertising
BlackDaemon
Posts: 28
Joined: Tue May 10, 2011 8:30 am

Re: [Guide] Running homebrew on PS3 via PSP emulator (minis)

Post by BlackDaemon »

Update: finally, it's possible to disguist PSP games as PSP Remasters, i can confirm, that sceKernelLoadModule+sceKernelStartModule is now working for not encrypted modules. :)
Zecoxao
Posts: 280
Joined: Mon Sep 27, 2010 7:27 pm

Re: [Guide] Running homebrew on PS3 via PSP emulator (minis)

Post by Zecoxao »

https://dl.dropboxusercontent.com/u/351 ... -341v1.bin <- Functions we're allowed to use in 3.41 v1 OFW. You can find these NIDs / functions in a certain sprx called PEmuCoreLib.sprx ( you can see it inside psp emu's directory, not sure which folder)

BlackDaemon, we really need you on irc dude :) as well as the other devs willing to venture into this :D

ps: our compatibility list http://tinyurl.com/PSP2PS3HB
My sig is original :D
Locked

Return to “Homebrew”