A new update has been released for vita2hos , the tool developed by xerpi that aims to natively run PlayStation Vita apps and games on the Nintendo Switch console .

PlayStation Vita (ARMv7 CPU) executables can run natively on the Nintendo Switch console’s ARMv8 CPU in 32-bit execution mode.
When loading a PlayStation Vita executable , vita2hos redirects the module imports of said executable to pass routines that implement the same behavior, using native Horizon OS services , such as that exposed by the original PlayStation Vita OS modules .
This new update brings several improvements and fixes. The program core has been optimized with the Docker update to support the latest versions of devkitPro and devkitARM .
Additionally, the Vita3K subproject has been updated to the latest version and general optimizations have been implemented.
Regarding 3D graphics handling via GXM , vita2hos now creates non-linear shadow surfaces for color and depth/stencil, addressing a Tegra GPU limitation that prevented rendering to linear images when depth/stencil surfaces were present.
Thanks to this change, the vitasdk GXM and gxmfun rendering examples work without any modifications.
On the stability front, a bug related to DkVtxAttribState has been fixed , which could previously cause vita2hos to crash randomly.
Finally, among other changes, the GitHub Actions CI continuous integration system now automatically generates and uploads artifacts (compiled versions of vita2hos) with every new commit to the repository.
How can I use it?
- Download and copy the file
vita2hos.nspto the SD card (i.e. to:atmosphere/vita2hos.nsp). - Create a new text file in
atmosphere/config/, rename it to ,override_config.iniand add the following lines:
[hbl_config]override_any_app=trueoverride_any_app_key=Roverride_any_app_address_space=32_bit; adjust the path according to the location of your filepath=atmosphere/vita2hos.nsp
[stextbox id=’info’]Note: As long as this file exists you will not be able to use the homebrew menu and will instead always run vita2hos. A quick fix would be to rename the file and reboot the Switch. Unfortunately override_config.iniit does not allow multiple path entries, which is why it has to be done this way.[/stextbox]
- Copy a PlayStation Vita executable (
.velfor.self/eboot.bin) to the SD card and rename it totest.elf. - Turn on (or restart) your Switch console and launch any game by holding down the button
. - Attempting to use vita2hos via applet mode (album button) will inevitably lead to a fatal error and is not recommended anyway.
Notes
- This is still in a very early stage and can therefore only run small homebrews of the PlayStation Vita console with simpler CPU rendering.
- There is very early 3D graphics support (it can run vitasdk’s GXM triangle and cube samples by hardcoding vita2hos’s GLSL shaders to match the Cg shaders used by the samples).
Changelog
Core Updates
- Updated Docker to use the latest version of devkitPro and devkitARM .
- Updated Vita3K subproject to latest version.
- General optimizations and code cleanup.
3D Graphics Updates (GXM)
- vita2hos now creates non-linear shadow surfaces for color and depth/stencil to overcome a Tegra GPU limitation , which prevented rendering to linear images when using a depth/stencil surface.
- Now the vitasdk GXM and gxmfun rendering examples work without any modifications.
Bug fixes
- Fixed a bug related to , which caused vita2hos
DkVtxAttribStateto crash randomly .- More details available here .
Other changes
- GitHub Actions CI : Artifacts (compiled versions of vita2hos ) are now automatically generated and uploaded on every new commit.
PlayStation Vita Homebrew Example
- gxmfun (modified to not use uniform buffers for lighting): download
- Structured Cube Example vitasdk GXM : download
- Vitasdk GXM cube example : download
- Triangle example vitasdk GXM : download
- VITA-8 : download
- vitasdk touch example : download
Download: vita2hos v0.4 Alpha
Download: Source code vita2hos v0.4 Alpha
Source: github.com
