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

Question about HBL auto-loading TN HEN

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
Post Reply
Synthic
Posts: 13
Joined: Wed Jan 12, 2011 5:22 am

Question about HBL auto-loading TN HEN

Post by Synthic » Wed Jan 12, 2011 5:40 am

So, when the HEN first came out for 6.20 it said the following in step 2 of the installation directions:

Code: Select all

Extract EBOOT.PBP to /PSP/GAME/HEN/EBOOT.PBP, or to /HBL/GAME/EBOOT.PBP if you want to launch it directly.
The first part made sense, this is where I first extracted the HEN to, because I didn't want to lose the HBL menu just yet and do everything manually. I'm glad I did because TN-A had a bug on the PSP 3000's and I didn't use it much. Anyway, a few days later TN-B came out, fixing the bug. This made me decide that I wanted it to load right away after I did the Patapon exploit.

A lot of people were posting comments and such about replacing the EBOOT in the HBL menu folder, which also made sense, because that's the first thing HBL loads. But looking back at the original TN-A HEN directions, I saw the line above which told me I could place it in /HBL/GAME. I copied it there and it worked, but I wasn't sure why. The weirder part was that the memory leak that I got every single time I loaded the HEN was gone after I moved it to this directory (I loaded TN-B manually a few times before moving it here, so the new version wasn't what fixed the leak).

So my question is, why does HBL load the EBOOT in this random directory? I was under the impression it loaded the menu and then listed the contents of /PSP/GAME, which has nothing to do with /HBL/GAME. The memory leak that appeared 100% of the time for me suddenly disappearing is another mystery. This EBOOT being loaded seems like an undocumented feature, or something, and I was hoping someone who's well acquainted with HBL could shed some light on why this happens.
Advertising

User avatar
Xaikiri
Posts: 179
Joined: Tue Sep 28, 2010 10:25 am

Re: Question about HBL auto-loading TN HEN

Post by Xaikiri » Wed Jan 12, 2011 6:46 am

Just place the HEN eboot in the hbl/menu folder.

done.
Advertising
Image

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

Re: Question about HBL auto-loading TN HEN

Post by m0skit0 » Wed Jan 12, 2011 8:11 am

Synthic wrote:why does HBL load the EBOOT in this random directory?
I guess you mean /HBL/GAME. It's not random, it's by design. Before HBL supported a separate EBOOT as menu, and menu was part of HBL, this directory was used to automatically load a homebrew on start without having to pass through the menu.
Synthic wrote:I was under the impression it loaded the menu and then listed the contents of /PSP/GAME
HBL lists the homebrews found on the directory specified on the config file (hb_folder=ms0:/PSP/GAME/).
Synthic wrote: The memory leak that appeared 100% of the time for me suddenly disappearing is another mystery
Doesn't really matter.
Synthic wrote:This EBOOT being loaded seems like an undocumented feature
It's not undocumented since the code is open source ;)
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

Nitori
Posts: 28
Joined: Tue Dec 14, 2010 3:18 am

Re: Question about HBL auto-loading TN HEN

Post by Nitori » Wed Jan 12, 2011 8:34 am

So basically, it's just a leftover feature from very old revisions of HBL?

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

Re: Question about HBL auto-loading TN HEN

Post by m0skit0 » Wed Jan 12, 2011 8:52 am

Why do you want me to say the same thing again? :? Yes, it is. Happy now? :roll:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

Synthic
Posts: 13
Joined: Wed Jan 12, 2011 5:22 am

Re: Question about HBL auto-loading TN HEN

Post by Synthic » Wed Jan 12, 2011 9:57 am

Thanks m0skit0! I'm sorry, I just like to know why some things happen the way they do, and I figured asking here would be more efficient than sifting through the entire source code. :P

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

Re: Question about HBL auto-loading TN HEN

Post by m0skit0 » Wed Jan 12, 2011 10:39 am

Ok, but I didn't say you had to look in the source code, I just said it's not "undocumented". Also you cannot say "undocumented" when you didn't even search the "documents", can you? :mrgreen:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

Synthic
Posts: 13
Joined: Wed Jan 12, 2011 5:22 am

Re: Question about HBL auto-loading TN HEN

Post by Synthic » Thu Jan 13, 2011 12:04 am

Well when I said undocumented I was referring to the documents distributed with HBL, which includes the readme and the config file. I looked through those and couldn't find anything about it, so I figured it wasn't documented anywhere. Besides, there's been 100+ revisions of HBL, so there's no way I would have been able to find it anyway. :roll:

Post Reply

Return to “Half Byte Loader”