xerpi/vita2hos
소개
[WIP] PlayStation Vita에서 Horizon OS(Nintendo Switch OS)로의 변환 레이어
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +3
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalvita2hos
A PlayStation Vita to Horizon OS (Nintendo Switch OS) translation layer (not an emulator)
Overview
vita2hos is a translation layer that enables native execution of PlayStation Vita executables (ARMv7), to run natively on the Nintendo Switch's ARMv8 CPU in AArch32 (32-bit) mode.
It achieves this by redirecting the module imports of the PlayStation Vita executable to corresponding routines that utilize native Nintendo Switch Horizon OS services, effectively replicating the behavior of the original PlayStation Vita OS modules.
Usage
On a Real Nintendo Switch Console
Transfer the NSP File:
- Copy
vita2hos.nspto your microSD card, e.g.,sd:/vita2hos/vita2hos.nsp.
- Copy
Configure Atmosphère:
Create an
override_config.inifile in thesd:/atmosphere/config/directory with the following content:[hbl_config] override_any_app=true override_any_app_key=R override_any_app_address_space=32_bit ; Adjust the path according to the location of your file path=vita2hos/vita2hos.nspNote: With this configuration, the homebrew menu will be overridden by vita2hos. To restore the homebrew menu, rename or remove the
override_config.inifile and restart your Switch. Currently, multiplepathentries are not supported inoverride_config.ini.
Add PlayStation Vita Executable:
- Place your PlayStation Vita executable (
.velf,.self, oreboot.bin) in thesd:/vita2hos/directory and rename it toexecutable(without any file extension).
The resulting full path should besd:/vita2hos/executable.
- Place your PlayStation Vita executable (
Launch vita2hos:
- Boot or reboot your Switch, and start any game while holding down the
Rbutton.- Caution: Using vita2hos via applet mode (accessed through the album button) may result in a fatal error and is not recommended.
- Boot or reboot your Switch, and start any game while holding down the
Enjoy!
On an Emulator
Prepare the PlayStation Vita Executable:
Place your PlayStation Vita executable (
.velf,.self, oreboot.bin) into thesd:/vita2hos/directory and rename it toexecutable(without any file extension).For Yuzu-based Emulators:
- Access the SD directory via File → Open yuzu Folder →
sdmc/.
- Access the SD directory via File → Open yuzu Folder →
For Ryujinx-based Emulators:
- Access the SD directory via File → Open Ryujinx Folder →
sdcard/.
- Access the SD directory via File → Open Ryujinx Folder →
Run vita2hos:
- Launch
vita2hos.nsp.
- Launch
Enjoy!
Project Status and Compatibility
vita2hos is in its early development stages and currently supports running simple CPU-rendered PlayStation Vita homebrew applications. Additionally, initial 3D graphics support is available—including texturing, depth, and stencil—enabling the execution of vitasdk's GXM samples.
Building from Source
Clone the Repository with Submodules:
Ensure you clone the repository along with its submodules to include all necessary components:
git clone --recurse-submodules https://github.com/xerpi/vita2hos.gitConfigure vita2hos:
For a Debug build:
cmake --preset DebugFor a Release build:
cmake --preset Release
Build vita2hos:
For a Debug build:
cmake --build --preset DebugFor a Release build:
cmake --build --preset Release
Output:
- The
vita2hos.nspfile will be generated in the corresponding build directory upon successful compilation.
- The
Note: The CMakePresets.json file defines the build configurations, including the generator (e.g., Ninja), build directories, toolchain file, and other cache variables. Ensure that your environment variable DEVKITPRO is set correctly, as it's referenced in the CMAKE_TOOLCHAIN_FILE path within the presets.
Special Thanks
-
- vita2hos utilizes Vita3K's shader recompiler, and portions of its code are based on Vita3K's implementation. Consider donating and contributing to Vita3K!
-
- vita2hos employs UAM (deko3d's shader compiler) for shader compilation. Contributions and donations to this project are highly appreciated!
Special acknowledgments to @PixelyIon and @SciresM for their assistance, and to all testers, especially @TSRBerry.
Disclaimer
- Nintendo Switch is a trademark of Nintendo Co., Ltd.
- PlayStation Vita is a trademark of Sony Interactive Entertainment.
관련 프로젝트 살펴보기
불러오는 중…