taiHEN
1.0
CFW framework for PS Vita
|
taiHEN is a CFW framework for PS Vita™. When loaded with a kernel exploit, it acts as a common substrate for patching the system. taiHEN provides three main facilities:
The last point means that developers can add custom patches to kernel, system applications, and games alike.
To build, you need the latest version of the toolchain with kernel support. Then just use CMake to build.
taiHEN requires a separate kernel exploit to run. Once the exploit loads taihen.skprx
to the kernel, taiHEN will take care of the rest. Please refer to documentations for the exploit for more information.
Plugins are loaded either into kernel after taiHEN is loaded or on demand when an application is launched. taiHEN reads the configuration file in ux0:tai/config.txt
.
The configuration that determines the plugins to load and the load order can be found in ux0:tai/config.txt
. The format is very simple and self explanatory.
The key things to note are
#
begins a comment, *
begins a section, and any other character begins a path.KERNEL
is a special section name denoting to load a kernel plugin when taiHEN is started up. All other section names are the title id of the application/game in which to load the plugin at startup. Note that SceShell has a special title id of main
.ux0:tai
or ux0:data/tai
. It is valid to have one plugin in multiple sections but the developer must ensure that the plugin knows which application it is loaded in if it needs to do things differently.taiHEN exports an API interface both to kernel and to user. This interface is found in the documentation pages. You should also read the usage guide for more details. You can either download the release or build taiHEN yourself. After that, you can include taihen.h
in your project and link with libtaihen_stub.a
(for user modules) or libtaihen_kernel_stub.a
(for kernel modules).