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 //wololo.net/wagic/hbl
User avatar
Rinnegatamante
VIP
Posts: 872
Joined: Sat Mar 26, 2011 10:02 am
Contact:

sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante » Wed Apr 25, 2012 1:05 pm

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 » Wed Apr 25, 2012 2:30 pm

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

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 » Wed Apr 25, 2012 2:46 pm

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 » Wed Apr 25, 2012 2:58 pm

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.

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 » Wed Apr 25, 2012 3:10 pm

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"

User avatar
Rinnegatamante
VIP
Posts: 872
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante » Wed Apr 25, 2012 3:39 pm

So if i want to start another homebrew like wMenu do, i can't?
If you want, visit my website: http://rinnegatamante.it :D

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 » Wed Apr 25, 2012 3:46 pm

From where?
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

User avatar
Rinnegatamante
VIP
Posts: 872
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: sceKernelLoadExec on HBL/VHBL

Post by Rinnegatamante » Wed Apr 25, 2012 3:48 pm

for example from: PSP/GAME/HOMEBREWNAME/SUBDR/EBOOT.PBP
If you want, visit my website: http://rinnegatamante.it :D

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: sceKernelLoadExec on HBL/VHBL

Post by m0skit0 » Wed Apr 25, 2012 3:54 pm

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 » Wed Apr 25, 2012 4:21 pm

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

Post Reply

Return to “Half Byte Loader”