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

[Development thread] VHL : Vita Homebrew Loader

Rejuvenate is a native homebrew platform for PS Vita. Read more about Rejuvenate here.
Post Reply
User avatar
hgoel0974
Retired Mod
Posts: 2154
Joined: Mon Jul 23, 2012 11:42 pm
Location: Maia, Pleiades Nebula

[Development thread] VHL : Vita Homebrew Loader

Post by hgoel0974 » Mon Jul 06, 2015 4:04 pm

So, as some of you might have seen on my twitter, I've been working on an alternative to UVL for about a week now. Today, with menu support finally working, I'm releasing beta builds for VHL and a version of psp2shell modified to launch homebrew with the start button. There may still be many issues, as the loader is still in beta.

I would also like to take this opportunity to define some minimal standards for homebrew packaging and layout so we can have a single uniform format for menus to use. I'll be creating a separate thread for that discussion soon.

Back to VHL, the source code can be found at:
Vita Homebrew Loader: https://github.com/minPSVSDK/VHL
PSP2SHELL (by coldbird, ported by Yosh) with homebrew loading support: https://github.com/minPSVSDK/psp2shell
libVHL (Library to configure and control VHL from a homebrew menu or app):
https://github.com/minPSVSDK/libVHL

The logging is now fast enough, so here's the latest build Download link

It includes a splash.png, I couldn't set it up to be automated, but just copy that over to cache0:/VitaDefilerClient/System/splash.png and you'll see what it does! Thanks to Netrix for the discovery!

Things working:
-Homebrew loading
-Menus

Things to do:
- Plugin support
- Automatic object and memory management
- Stability improvements :roll:

// smithsf0x
// Temporary Sticky Thread
Advertising
Last edited by hgoel0974 on Sat Jul 11, 2015 5:01 am, edited 5 times in total.
"If the truth is a cruel mistress, then a lie must be a nice girl"

User avatar
ruyor
Retired Mod
Posts: 776
Joined: Wed Nov 03, 2010 2:29 am
Location: USA
Contact:

Re: [Development thread] VHL : Vita Homebrew Loader

Post by ruyor » Mon Jul 06, 2015 4:13 pm

I downloaded the pre-built one provided by SMOKE and can't figure out how to get .VELFs to run through PSP2SHELL. My Start button is labeled as "Exit" no matter what file/folder is selected and does indeed exit when pressed.
--Edit--
I just tried the hello_world.elf and the Start button still exits on it as well
Advertising
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
VTE-1001 - 3.60 - VHBL+PBubbles+HENkaku
My PSPs
01g:TA-079v1
01g:TA-086
02g:TA-085v1
02g:TA-085v2
04g:TA-093
09g:TA-095
05g:TA-091

User avatar
hgoel0974
Retired Mod
Posts: 2154
Joined: Mon Jul 23, 2012 11:42 pm
Location: Maia, Pleiades Nebula

Re: [Development thread] VHL : Vita Homebrew Loader

Post by hgoel0974 » Mon Jul 06, 2015 4:20 pm

I suppose the wrong build was included by mistake, I'll upload my own build and update the post
"If the truth is a cruel mistress, then a lie must be a nice girl"

Orion90
Posts: 35
Joined: Wed May 14, 2014 10:53 am

Re: [Development thread] VHL : Vita Homebrew Loader

Post by Orion90 » Mon Jul 06, 2015 5:02 pm

This is the right build compiled by me from the source code
Thanks to hgoel0974 for this incredible work

PSP2SHEL_VHL https://mega.co.nz/#!WgwXFKLQ!lnUxG8B6Z ... R0sdfrLHrU
PSVITA 1000 Wifi-3.36 ARK-3/VHBL
PSP 2004 SLIM-Pandora kit+6.61 ME 2.3
PS3 SLIM-CFW 4.65.2 REX COBRA/REBUG
XBOX 360 SLIM-RGH
NINTENDO WII-SOFTWARE MOD
NDS/DSI XL-R4

User avatar
ruyor
Retired Mod
Posts: 776
Joined: Wed Nov 03, 2010 2:29 am
Location: USA
Contact:

Re: [Development thread] VHL : Vita Homebrew Loader

Post by ruyor » Mon Jul 06, 2015 5:11 pm

@hgoel0974: Your build is trying to run homebrew when I press Start over a .VELF or .ELF, but gets hung on "Entry point retrieved" no matter what I try to run.

[spoiler]

Code: Select all

[Vita] Loading cache0:/VitaDefilerClient/Documents/Homebrew/hello_world.elf
[Vita] cache0:/VitaDefilerClient/Documents/Homebrew/hello_world.elf
[Vita] 0x0000239d
[Vita] 0x8a4004ac
[Vita] elfParser_Load
[Vita] Opened cache0:/VitaDefilerClient/Documents/Homebrew/hello_world.elf as 10
74005227
[Vita] File length : 21636
[Vita] LOAD header
[Vita] Writing Segment...
[Vita] Clearing memory...
[Vita] Loaded LOAD section
[Vita] LOAD header
[Vita] Writing Segment...
[Vita] Clearing memory...
[Vita] Loaded LOAD section
[Vita] RELOCATE header
[Vita] RELOCATE header
[Vita] ModuleInfo found
[Vita] Retrieving entry point
[Vita] Entry point retrieved
[/spoiler]

Also, having a menu system to run homebrew is awesome and I wanted to thank you for making VHL

---Edit---

I tried Orion90's build of PSP2SHELL and had something interesting happen. I ran the hello_world.elf and the cube is going super fast without any text on the screen ._.
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
VTE-1001 - 3.60 - VHBL+PBubbles+HENkaku
My PSPs
01g:TA-079v1
01g:TA-086
02g:TA-085v1
02g:TA-085v2
04g:TA-093
09g:TA-095
05g:TA-091

User avatar
hgoel0974
Retired Mod
Posts: 2154
Joined: Mon Jul 23, 2012 11:42 pm
Location: Maia, Pleiades Nebula

Re: [Development thread] VHL : Vita Homebrew Loader

Post by hgoel0974 » Mon Jul 06, 2015 5:33 pm

Yeah, I just noticed, seems like some weird bug, I'm looking into it.
"If the truth is a cruel mistress, then a lie must be a nice girl"

Orion90
Posts: 35
Joined: Wed May 14, 2014 10:53 am

Re: [Development thread] VHL : Vita Homebrew Loader

Post by Orion90 » Mon Jul 06, 2015 5:44 pm

hgoel0974 wrote:Yeah, I just noticed, seems like some weird bug, I'm looking into it.
With VITAFTP and HandyVita work fine
PSVITA 1000 Wifi-3.36 ARK-3/VHBL
PSP 2004 SLIM-Pandora kit+6.61 ME 2.3
PS3 SLIM-CFW 4.65.2 REX COBRA/REBUG
XBOX 360 SLIM-RGH
NINTENDO WII-SOFTWARE MOD
NDS/DSI XL-R4

User avatar
ruyor
Retired Mod
Posts: 776
Joined: Wed Nov 03, 2010 2:29 am
Location: USA
Contact:

Re: [Development thread] VHL : Vita Homebrew Loader

Post by ruyor » Mon Jul 06, 2015 5:52 pm

A few more tests I've done so far using Orion90's build of PSP2SHELL and hgoel0974's build of vhl.bin/vds:
HandyVITA runs without problems
FTPVita is met with a wall of "Failed to resolve import NID" errors and hangs
Orion90 wrote:With VITAFTP and HandyVita work fine
I can't get FTPVita to run
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
VTE-1001 - 3.60 - VHBL+PBubbles+HENkaku
My PSPs
01g:TA-079v1
01g:TA-086
02g:TA-085v1
02g:TA-085v2
04g:TA-093
09g:TA-095
05g:TA-091

Orion90
Posts: 35
Joined: Wed May 14, 2014 10:53 am

Re: [Development thread] VHL : Vita Homebrew Loader

Post by Orion90 » Mon Jul 06, 2015 5:54 pm

ruyor wrote:A few more tests I've done so far using Orion90's build of PSP2SHELL and hgoel0974's build of vhl.bin/vds:
HandyVITA runs without problems
FTPVita is met with a wall of "Failed to resolve import NID" errors and hangs
Orion90 wrote:With VITAFTP and HandyVita work fine
I can't get FTPVita to run
I get VITAFTP working all time,maybe because i have recompiled it from xerpi's source code
PSVITA 1000 Wifi-3.36 ARK-3/VHBL
PSP 2004 SLIM-Pandora kit+6.61 ME 2.3
PS3 SLIM-CFW 4.65.2 REX COBRA/REBUG
XBOX 360 SLIM-RGH
NINTENDO WII-SOFTWARE MOD
NDS/DSI XL-R4

User avatar
ruyor
Retired Mod
Posts: 776
Joined: Wed Nov 03, 2010 2:29 am
Location: USA
Contact:

Re: [Development thread] VHL : Vita Homebrew Loader

Post by ruyor » Mon Jul 06, 2015 6:02 pm

Orion90 wrote:I get VITAFTP working all time,maybe because i have recompiled it from xerpi's source code
May I try the one you're using?
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
VTE-1001 - 3.60 - VHBL+PBubbles+HENkaku
My PSPs
01g:TA-079v1
01g:TA-086
02g:TA-085v1
02g:TA-085v2
04g:TA-093
09g:TA-095
05g:TA-091

Post Reply

Return to “Rejuvenate”