I'm working on a screen shot tool which allows you to take screen shots from other UMD games/homebrew. I know there are a couple available, but I want to make my own.
I have not much problem in getting screenshots for UMD games, but I can't seem to get any homebrew to load properly within my screen shot program. I used sceKernelLoadModule, but it always returns with memory block allocation failure when loading homebrew. I checked I still have 24MB of total free memory left before launching another homebrew. Anyone has any ideas? TIA!
Launching an homebrew within another homebrew
A possible alternative is to link your elf at a really low address (think 0x88004000 is the lowest you can go and still run), look at psp-packer's stub source for ideas how to relink an elf to a different address. However the kernel mode prx is the best solution as it moves your code completely out of user memory, although if you are making screenshots using png you will be tight for space as that lib is _big_ :)