Hey everyone.
As many of you will know, Since Devhook 0.45, running homebrew through the emulated 2.71 XMB has been possible. Many people have asked me over IM how to convert homebrew to the proper format. So, here it is.
First, these are the conditions:
-Does the application use Wi-Fi? *
-Does the application use Kernel mode?
If the answer to either of these is Yes, then the Homebrew is incompatible. Pick something else.
*
Wi-fi is not definate. It might work with Wi-fi apps that load the modules from the memory stick, (Static files). As a guideline, anything compatible with the GTA eloader should work.
Next, you need to ask the question: "Has the source code been released?" If the answer is yes, then the process in question is relatively easy. If not, then then the process may not be possible, but I will include a method anyway.
The reason is that the PRX file we need should be generated by Cygwin, but since I havn't yet been able to find one single EBOOT capable of being converted to a PRX, the Cygwin method is the best.
STAGE 1 Converting an application with released Source code (Cygwin method)
1. It's easy. Go to the directory containing the "makefile", and open it. Add a line saying: "BUILD_PRX = 1" without the quotes, underneath the "PSP_EBOOT_TITLE" line.
2. Compile in Cygwin.
3. In the folder that the resulting EBOOT is found, you will also find an "EBOOT.PRX". Keep this safe.
4. Proceed to "STAGE 2".
Converting an application without the source code released (Not-so-good)
1. Find the homebrew (Make sure It's K-xploited. (IE. There is an "APP" and "APP%" folder.
2. Download and extract the files of the attatched "PRXTOOL.RAR" to a folder.
3. Open the "APP" folder (No % sign) and rename the "EBOOT.PBP" inside to "EBOOT.ELF" (This file is really an ELF anyway). Place it in the same folder as the PRXTOOL files.
4. Run the "Convert.bat" file.
5. There should now be a file called "EBOOT.PRX" in the program directory. Keep this safe. Continue to "STAGE 2"
STAGE 2 (Needed for both methods)
1. Download the attatched "MKSFO.RAR" and Extract to a new folder.
2. Execute the "exec.bat", and type in the following to the dialog:
(Replace "TITLE" with the title of your EBOOT, 15 characters MAX)
3. In the program directory should now be a "param.sfo" file. Place this in the same directory as "EBOOT.PRX".
5. Make sure you have "PBPunpacker" installed. If not, Google it.
6. In PBPunpacker, create a new PBP file. In the "DATA.PSP" section, open the file finding dialog, and in the "files of type:" box, select "all files". Browse to the "EBOOT.PRX" file from earlier, and select it. In the "PARAM.SFO" section, simply browse to the "param.sfo" we generated earlier.
7. Click "SAVE". Save to a directory in "X:\PSP\GAME\" that corresponds to the name of the newly converted application.
TEST! Use Devhook emulating 2.71 and open the application. If it doesn't work, try following the instructions again. If it fails and you used the second "Not-so-good" method, this is generally typical. If you used the first method, post here and I'll see if I can help you out. Also post and ask questions, comment, or even flame

(Not too much of that, I hope)
If you enjoyed this tutorial, post here!