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

sceKernelLoadExec on HBL/VHBL

Half Byte loader is an open source tool to load homebrews on all models of PSPs
Half Byte Loader can be downloaded at http://wololo.net/wagic/hbl
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante »

Hi at all, i have a short question for HBL devs. If i want to start another executable with an homebrew which has been loaded with HBL/VHBL i have to use normal sceKernelLoadExec or i have to import some functions?
Advertising
If you want, visit my website: http://rinnegatamante.it :D
JJS
Big Beholder
Posts: 1416
Joined: Mon Sep 27, 2010 2:18 pm
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by JJS »

What you want to do is not possible with HBL. The firmware's version of sceKernelLoadExec will obviously not work to load a homebrew, otherwise most of the HBL code would be pointless ;). HBL itself does not override that function either, so you are out of luck.

The only way to start another homebrew is if your homebrew replaces the HBL menu, but this may not be what you want.
Advertising
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 »

You might want to add that function to HBL ;)
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
JJS
Big Beholder
Posts: 1416
Joined: Mon Sep 27, 2010 2:18 pm
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by JJS »

Well, the new menu api would essentially allow this. If we were ok with breaking backward compatibility with older menus, the new api could be quickly finished. I guess today only wmenu is used anyway so it would not be as big of a deal as in the pre-VHBL days.
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 »

You have my support for the menu API (from day 0) and anyways HBL is still Beta :lol:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante »

So if i want to start another homebrew like wMenu do, i can't?
If you want, visit my website: http://rinnegatamante.it :D
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 »

From where?
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante »

for example from: PSP/GAME/HOMEBREWNAME/SUBDR/EBOOT.PBP
If you want, visit my website: http://rinnegatamante.it :D
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 »

Sorry, I meant from what code :) From HBL? From your homebrew?

EDIT: if it's from your homebrew, you can't as JJS already said. At least until the menu API is finished. If you want to write your own API into HBL to do so, feel free to discuss this on the HBL dev forum.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
NaNnI
Posts: 5
Joined: Thu Jul 07, 2011 12:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by NaNnI »

I saw the function "run_eboot" in eloader.c. If we use this function?
Locked

Return to “Half Byte Loader”