HENkaku is a native Homebrew Enabler for the PS Vita and PS TV. It lets you run homebrews on the PS Vita
#406621 by Akabane87
Sat Jul 30, 2016 4:30 pm
Hey guys,

I just installed the toolchain and realized that I had to type lost of command line and do lots of things manually to get a VPK from my source code. So I decided to put everything into a batch to automate the whole build process.

https://www.mediafire.com/?rpf924820eza862
IMPORTANT : You need to setup the toolchain correctly to make these scripts work !

It's just the first draft and it assumes that the makefile is in the same folder as the outputed velf, but you can easilly change the script to make it work with your projects if it's not working as is.


Feel free to use, share, modify freely ;)

Cheers.


Edit : I forgot to palettize the pngs... I reuploaded under the same DL link the archive. It's working now. Also don't forget to save the png in palettized format too if you modify the images.
Advertising
#406667 by Akabane87
Sat Jul 30, 2016 8:25 pm
I just update the archive with some fixes :
- set the title id manually in build.bat
- Fix the script when started directly rather than from cmd
Advertising
#406773 by Lefty
Sun Jul 31, 2016 10:04 am
Thats pretty awesome.
So with this i could talke rejuvenate ready homebrew and compile it?
Did you try it with CATFSC maybe? :)
#406815 by Akabane87
Sun Jul 31, 2016 2:34 pm
You can either use it on source code directly using build.bat, or on a prebuilt velf or eboot.bin built with the vita toolchain.

I tried it with Xerpi's HelloWorld and it's working perfectly.

Otherwise you can grab xerpi's fork toolchain that contain a vpk packer exe. But from what I've seen, his packer seems to pack the eboot.bin without icon and background (or you have to manually add each image folders struc of the livearea and so on what is a bit tedious).
#406832 by xerpi
Sun Jul 31, 2016 4:23 pm
You can add more content to the VPK using vita-pack-vpk, see:
Code: Select all%.vpk: eboot.bin param.sfo
   vita-pack-vpk -s param.sfo -b eboot.bin \
      -a icon0.png=sce_sys/icon0.png \
      -a template.xml=sce_sys/livearea/contents/template.xml \
      -a bg0.png=sce_sys/livearea/contents/bg0.png \
      $@

Who is online

Users browsing this forum: ali_ihsan21 and 8 guests