CubeManiaRandom Homebrew: CubeMania
Sand3rs’s Cubemania is not one, but 4 puzzle games involving… squares! Ideal for casual gamers l [...]
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Writing a menu for VHBL

VHBL (Vita Half Byte Loader) is an open source tool to load PSP homebrews on the Playstation Vita.
VHBL can be downloaded at http://wololo.net/wagic/vhbl

Re: Writing a menu for VHBL

Postby wth » Tue May 22, 2012 7:15 pm

Ok well have fun
wth
HBL Developer
 
Posts: 587
Joined: Wed Aug 31, 2011 4:44 pm

Re: Writing a menu for VHBL

Postby patrickvogt » Thu May 24, 2012 9:20 am

Hi, I have a short question.

Is it possible to develop the menu and test it on a real PSP first for a shorter development cycle?

And when the menu is stable to test and fix/port it for the Vita PSP Emulator?

Best Regards
Patrick
patrickvogt
 
Posts: 2
Joined: Thu May 24, 2012 9:15 am

Re: Writing a menu for VHBL

Postby wololo » Thu May 24, 2012 9:27 am

Yes. VHBL works fine on the PSP, I do most of my dev work by testing wMenu and VHBL on the psp first. You'll just have to take into account the limitations specific to the vita during your development
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4642
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Writing a menu for VHBL

Postby fate6 » Thu May 24, 2012 9:29 am

patrickvogt wrote:Hi, I have a short question.

Is it possible to develop the menu and test it on a real PSP first for a shorter development cycle?

And when the menu is stable to test and fix/port it for the Vita PSP Emulator?

Best Regards
Patrick



yes just as long as you have VHBL on the PSP
(I test most things on the PSP before transferring to Vita)

but there are somethings that will work on the VHBl when run on a PSP that wont work on the Vita so always check before a release ;)

EDIT: damn it wololo :lol:
User avatar
fate6
Moderator
 
Posts: 4070
Joined: Fri Mar 09, 2012 1:18 am
Location: fate6@Canterlot:~>

Re: Writing a menu for VHBL

Postby patrickvogt » Thu May 24, 2012 11:50 am

@wololo+fate6: Thanks for the quick response. I will see how far I will come with the development. Greets
patrickvogt
 
Posts: 2
Joined: Thu May 24, 2012 9:15 am

Re: Writing a menu for VHBL

Postby Acid_Snake » Mon May 28, 2012 9:05 pm

I have a question with this example code:
Code: Select all
    strcpy(ebootPath, "ms0:/PSP/GAME/TEST/EBOOT.PBP");

what exactly is strcpy? a function? a class? also wouldn't be needed to be declared first? or is it somehow imported from hbl?
I'm sorry for being a noob.
"V2h5IGFyZSB5b3UgcmVhZGluZyBteSBzaWduYXR1cmU/\n".decode("base64")
My forum:
Console Heaven
My Homebrews:
pyMenu 0.3.2, multiBootMenu V3, PSvid 3.0, PSP Tools 0.2
User avatar
Acid_Snake
Moderator
 
Posts: 2057
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: Writing a menu for VHBL

Postby waratte » Mon May 28, 2012 9:10 pm

Acid_Snake wrote:I have a question with this example code:
Code: Select all
    strcpy(ebootPath, "ms0:/PSP/GAME/TEST/EBOOT.PBP");

what exactly is strcpy? a function? a class? also wouldn't be needed to be declared first? or is it somehow imported from hbl?
I'm sorry for being a noob.


It's a function that copies a string into another string ( "ebootPath" in this case ).

It's already declared somewhere, or else you wouldn't see it implemented as you see it now. :P

To use it though, the header file it's defined in would have to be included.
waratte
 
Posts: 4066
Joined: Wed Oct 20, 2010 12:03 am

Re: Writing a menu for VHBL

Postby m0skit0 » Tue May 29, 2012 6:52 am

If you don't know what strcpy() is, I suggest you get a good book about C and start learning on a computer. C is not Python ;)
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Writing a menu for VHBL

Postby Acid_Snake » Tue May 29, 2012 3:15 pm

m0skit0 wrote:If you don't know what strcpy() is, I suggest you get a good book about C and start learning on a computer. C is not Python ;)

oh, ok. I didn't realise it was a standard function, I know C isn't Python, but my brain somehow tries to turn it into python for better understanding.
so... is this more or less how it works?:
- it (the menu) gets the path of the homebrew (according to what the user specifies)
- it uses strcpy() to change ebootPath with the actual path
- it exits, leaving HBL to load the homebrew
"V2h5IGFyZSB5b3UgcmVhZGluZyBteSBzaWduYXR1cmU/\n".decode("base64")
My forum:
Console Heaven
My Homebrews:
pyMenu 0.3.2, multiBootMenu V3, PSvid 3.0, PSP Tools 0.2
User avatar
Acid_Snake
Moderator
 
Posts: 2057
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: Writing a menu for VHBL

Postby m0skit0 » Tue May 29, 2012 4:23 pm

Exactly :)
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

PreviousNext

Return to Vita Half Byte Loader

Who is online

Users browsing this forum: No registered users and 2 guests