Skip to content
프로젝트

소개

[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

Original

vita2hos

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

  1. Transfer the NSP File:

    • Copy vita2hos.nsp to your microSD card, e.g., sd:/vita2hos/vita2hos.nsp.
  2. Configure Atmosphère:

    • Create an override_config.ini file in the sd:/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.nsp
      
    • Note: With this configuration, the homebrew menu will be overridden by vita2hos. To restore the homebrew menu, rename or remove the override_config.ini file and restart your Switch. Currently, multiple path entries are not supported in override_config.ini.

  3. Add PlayStation Vita Executable:

    • Place your PlayStation Vita executable (.velf, .self, or eboot.bin) in the sd:/vita2hos/ directory and rename it to executable (without any file extension).
      The resulting full path should be sd:/vita2hos/executable.
  4. Launch vita2hos:

    • Boot or reboot your Switch, and start any game while holding down the R button.
      • Caution: Using vita2hos via applet mode (accessed through the album button) may result in a fatal error and is not recommended.
  5. Enjoy!

On an Emulator

  1. Prepare the PlayStation Vita Executable:

    • Place your PlayStation Vita executable (.velf, .self, or eboot.bin) into the sd:/vita2hos/ directory and rename it to executable (without any file extension).

      • For Yuzu-based Emulators:

        • Access the SD directory via File → Open yuzu Folder → sdmc/.
      • For Ryujinx-based Emulators:

        • Access the SD directory via File → Open Ryujinx Folder → sdcard/.
  2. Run vita2hos:

    • Launch vita2hos.nsp.
  3. 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

  1. 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.git
    
  2. Configure vita2hos:

    • For a Debug build:

      cmake --preset Debug
      
    • For a Release build:

      cmake --preset Release
      
  3. Build vita2hos:

    • For a Debug build:

      cmake --build --preset Debug
      
    • For a Release build:

      cmake --build --preset Release
      
  4. Output:

    • The vita2hos.nsp file will be generated in the corresponding build directory upon successful compilation.

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

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.

관련 프로젝트 살펴보기

불러오는 중…