This commit is contained in:
Alexander Popov 2020-05-19 00:51:24 +03:00
commit 7c2a0b8d63
10 changed files with 67 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.vpk
build/eboot.bin
build/sce_sys/param.sfo
buildsce_sysparam.sfo

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org>

20
README.md Normal file
View File

@ -0,0 +1,20 @@
**This tool will let you generate a vpk homebrew with lpp-vita core.**
[![asciicast](https://asciinema.org/a/rtGJOdY9LXNMkcrWIMa3taT8D.svg)](https://asciinema.org/a/rtGJOdY9LXNMkcrWIMa3taT8D)
## How to use
- Place `index.lua` file in build folder.
- Place the eboot you prefer (unsafe or safe) in build folder and rename it as eboot.bin
- Customize images in build/sce_sys and build/sce_sys/livearea/contents with your own images (make sure to compress them with pngquant).
- Launch `build.sh` and follow the onscreen instructions.
## Tips
You can place in build folder whatever file you want. Such files will be usable in your homebrew in app0 filesystem.
For example if you place an image in build/image.jpg, it will be usable in your script as app0:/image.jpg.
## Safe mode limitations
When using the safe eboot.bin for your application, you'll have a few limitations:
- Cannot open files from paths different than `ux0:/data` or `app0:/`.
- Cannot intercept `SCE_CTRL_VOLUP`, `SCE_CTRL_VOLDOWN`, `SCE_CTRL_POWER` buttons.
- Cannot use `Controls.headsetStatus` function.

8
build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
echo -n "Insert homebrew name: "
read TITLE
echo -n "Insert homebrew title ID (4 characters): "
read ID
vita-mksfoex -s TITLE_ID="${ID}00001" $TITLE build/sce_sys/param.sfo
7z a -tzip "$TITLE.vpk" -r ./build/* ./build/eboot.bin

BIN
build/sce_sys/icon0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<livearea style="a1" format-ver="01.00" content-rev="1">
<livearea-background>
<image>bg.png</image>
</livearea-background>
<gate>
<startup-image>startup.png</startup-image>
</gate>
</livearea>

BIN
eboot_safe.bin Normal file

Binary file not shown.

BIN
eboot_unsafe.bin Normal file

Binary file not shown.