Skip to content

Instantly share code, notes, and snippets.

@xyzz
Last active January 21, 2018 21:23
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xyzz/8902bfc152940e0bd97199cc72609fd8 to your computer and use it in GitHub Desktop.
Save xyzz/8902bfc152940e0bd97199cc72609fd8 to your computer and use it in GitHub Desktop.

Use latest prebuilt toolchain: https://goo.gl/QpX5zM (the one at the top)

New build step has been added, after vita-elf-create you need to run: vita-make-fself homebrew.velf eboot.bin You need to run vita-make-fself on the .velf, not .elf The resulting eboot.bin can then be put into a .vpk archive, read below

Homebrew installer uses a .vpk format which is just a ZIP file, start from this template: https://github.com/xyzz/Vita_Doom/releases/download/1.0/vitadoom.vpk (try installing it from the shell)

  • replace eboot.bin with your eboot.bin
  • you can also add template.xml and stuff like icon/background/etc that will be displayed in livearea, check out how it's done in molecular shell (launch it and go to app0)
  • make sure to run pngquant on all your png images https://pngquant.org/
  • to make param.sfo, use vita-mksfoex -s TITLE_ID=XXXX00001 "homebrew name" output/param.sfo

When developing homebrew instead of rebuilding the vpk and reinstalling it on every change, you can upload your new eboot.bin to ux0:app/TITLE_ID/eboot.bin over ftp

NB: all files you place to .vpk will be available as read-only inside app0:. For example, you can add vpk/something.txt and later in your app read app0:something.txt. In the same way, you can read app0:sce_sys/param.sfo and app0:eboot.bin.

Copy link

ghost commented Aug 8, 2016

A question though, whats the legality of this SDK? Is it open source or what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment