Saltar al contenido
PORTSNATIVE.
InicioCatálogo
Juegos WebEmuladoresHerramientasNovedades
PORTSNATIVE.

Un catálogo para descubrir ports y proyectos relacionados. Enlazamos a las fuentes oficiales y no alojamos archivos de los juegos originales.

ExplorarCatálogoMi lista
InformaciónNosotrosProponer un portSoporteApoyo y donacionesAviso legal
© 2026 PortsNative
Volver al catálogo
Sengoku Basara 4: Sumeragi (PC)
PORTSNATIVE

Sengoku Basara 4: Sumeragi (PC)

PORT NATIVOROL / RPGWINDOWSBETA

Sengoku Basara 4: Sumeragi (PC)

Sengoku Basara 4: Sumeragi

OrigenPlayStation 4

TecnologíaPort Nativo C/C++ (Reimplementación de Motor)

Disponible paraWindows

Ver proyecto oficial

Sobre el proyecto

Sengoku Basara 4: Sumeragi es un videojuego de acción y hack and slash de 2015 desarrollado y publicado por Capcom para PlayStation 4. Amplía Sengoku Basara 4 con nuevos personajes, escenarios y rutas argumentales ambientadas en un Japón feudal estilizado.

Información oficial del proyecto

README original del autor (en inglés)Abrir en GitHub ↗

Sengoku Basara 4 Sumeragi for PC (Basara 4 PC)

<div align="center">

C++ Python Vulkan License Discord TikTok

</div>

English | Bahasa Indonesia

An open-source native PC port and launcher for Sengoku Basara 4 Sumeragi (PlayStation 4, CUSA01159) for Windows 10/11.

The game's original x86-64 code executes directly on your PC's CPU without emulation. The PlayStation 4 system libraries are re-implemented function by function in native C/C++, and GPU commands are translated to Vulkan 1.3 in real-time.

💬 Discord Community: https://discord.gg/UBZc57bBMa — Setup help, controller configs & gaming community
🎬 TikTok: @razzconnect (https://www.tiktok.com/@razzconnect) — Development progress, showcases & devlogs
☕ Support Solo Dev: https://sociabuzz.com/razzgame/tribe | Crypto (see below)

<details> <summary>🪙 <b>Donate via Cryptocurrency (Click to expand)</b></summary> <br>
Network / CoinWallet Address
USDT (BEP-20 / BSC)0xa27C80C925D768568e288e19Dc4A4ea11A3B0190
Ethereum / ERC-200xa27C80C925D768568e288e19Dc4A4ea11A3B0190
Solana (SOL)CTfiedryHqBAV8N2eSQ9MnXSRmDA8FtVWizLK5MNHNGw
</details>

No copyrighted game files are included. You must provide your own legally dumped copy of the game from your PlayStation 4 console (tested: CUSA01159).

This project is an independent open-source reverse-engineering and preservation project made by Razz. Not affiliated with, endorsed by, or associated with Capcom or Sony Interactive Entertainment. "Sengoku Basara" is a trademark of Capcom Co., Ltd. "PlayStation" is a trademark of Sony Interactive Entertainment.


Contents

  • Features & Highlights
  • System Requirements
  • Download and Play
  • Launcher Settings
  • In-Game Menu & Hotkeys
  • Controller Support
  • How It Works (Technical Architecture)
  • Building from Source
  • Troubleshooting & Logs
  • Credits & Acknowledgments
  • Community & Socials
  • License

Features & Highlights

  • 100% Native CPU Execution: No CPU interpreter or JIT compiler. The game's compiled x86-64 instructions run directly on host CPU cores with near-zero overhead.
  • Custom Software Ngs2 Audio Engine: Reverse-engineered and implemented software Ngs2 sound graph handling multi-channel ATRAC9 streaming, LibAtrac9 decoding, voice synthesis, PCM playback, and submixing.
  • Vulkan 1.3 Graphics Translation: High-performance translation of PlayStation 4 AMD GCN shader bytecode and draw calls directly into SPIR-V / Vulkan.
  • Custom Basara 4 PC Launcher: Built from scratch with a themed Sengoku aesthetic, resolution picker, display modes, anisotropic filtering, FSR 1 upscaling, and controller configuration.
  • True Unlimited FPS Unlock: Integrated memory patch (basara4_patches.py) that scans for the engine's internal frame limiter and disables it, unlocking 90, 120, 144, 165, 240, and uncapped FPS on high-refresh displays.
  • GoldHEN Cheats: Selectable launcher cheats for game update 01.02, credited to cheat author Q8Despair. The launcher checks compatibility before applying them.
  • AMD FidelityFX Super Resolution (FSR 1) & RCAS Sharpening: Upscale cleanly from 720p/900p/1080p to 1440p or 4K.
  • Anisotropic Filtering (up to 16x): Greatly enhances floor and terrain texture clarity across battlefields.
  • Dynamic Asset & Import Preparation: Automatic game image preparation pipeline (prepare.py, link_libc.py, link_modules.py, content_profile.py) that adapts to official patches without touching your original dump.
  • Universal Gamepad Mapper: Bundled SDL3 mapper tool (basara4-pad-mapper.exe) for DirectInput, generic USB gamepads, and Xbox/PlayStation controllers.

System Requirements

ComponentMinimumRecommended
Operating SystemWindows 10 64-bit (1903 or newer)Windows 10/11 64-bit (latest)
Processor (CPU)64-bit CPU with AVX support (Intel Sandy Bridge 2011+, AMD FX)6-core / 12-thread modern CPU (Intel 10th Gen+ / AMD Ryzen 3000+)
Graphics (GPU)Vulkan 1.3 compliant GPU (GTX 1060 / Radeon RX 580)RTX 2060 / Radeon RX 6600 or higher
System Memory8 GB RAM16 GB RAM
Storage~20 GB free space (SSD recommended)Fast NVMe SSD
Game CopyLegal dump of Sengoku Basara 4 Sumeragi (CUSA01159)Dump with update installed

Download and Play

1. Get the Package

Download the latest basara4-windows.zip from the Releases page and extract it to a directory of your choice (e.g. C:\Games\basara4-windows).

2. Supply Your Game Dump

Place your decrypted PS4 game dump folder (which contains eboot.bin, sce_module\, and sce_sys\) into the game\ directory, or click Browse in the launcher to select its location.

3. Launch and Play

  1. Double-click Sengoku Basara 4.exe.
  2. Select your desired resolution, display mode, and frame limit.
  3. Click PLAY.
    • Note: The very first launch will automatically prepare the linked binary image into out\ (takes roughly 30–60 seconds). Subsequent boots start immediately.
  4. To launch directly with your last saved settings without opening the launcher GUI, use Play Sengoku Basara 4.cmd.

Extracted DLC

The launcher detects extracted DLC under the DLC folder beside the installation, or user\dlc when that folder does not exist. Use Manage extracted DLC… to select a parent folder. Each add-on must be in a subfolder named with its 16-character entitlement label and contain sce_sys\param.sfo. Raw PKG files are not opened or decrypted.


Launcher Settings

OptionAvailable ValuesDescription
Display ModeWindowed, Borderless Fullscreen, Exclusive FullscreenSelect your preferred window presentation mode.
Window SizeNative (1080p), 720p, 900p, 1440p, 1800p, 4KOutput viewport resolution (game renders internally at 1080p).
UpscalingOff, FSR 1AMD FidelityFX Super Resolution upscaling to target resolution.
Sharpening (RCAS)Enabled / DisabledRobust Contrast Adaptive Sharpening filter.
Anisotropic FilteringOff, 2x, 4x, 8x, 16xTexture filtering quality for oblique camera angles.
Frame Limit60 (Default), 90, 120, 144, 165, 240, UnlimitedOverrides engine cap using automated signature patching.
VSyncEnabled / DisabledSynchronize buffer swaps to display refresh rate.
Audio Debug LogEnabled / DisabledWrites granular Ngs2 voice and bus diagnostics to user\audio_debug.log.
CheatsGold, special coin, growth points, weapon points, weapon rank pointsGoldHEN cheats by Q8Despair for CUSA01159 update 01.02. All cheats can be enabled together; the launcher separates their trampolines to avoid patch address conflicts.

In-Game Menu & Hotkeys

  • Insert (Keyboard) or R3 + L2 (Gamepad): Opens the in-game overlay menu (FSR settings, Anisotropic filtering, controller indicators, and About).
  • F12: Captures a screenshot to user\.
  • L1 / R1 (or Q / E): Switches tabs in the overlay menu.

Controller Support

  • Native XInput & SDL3: Xbox One / Series, DualShock 4, DualSense, and Nintendo Switch Pro controllers are recognized automatically.
  • Controller Mapping: XInput and other SDL-supported gamepads work directly. Use Map controller to customize button/stick mappings; select the controller when more than one is connected. Mappings for other controllers are preserved in user\gamepad_mapping.txt. To make Xbox A act as Circle, press Xbox B at the Cross prompt and Xbox A at the Circle prompt.

How It Works (Technical Architecture)

[ PS4 eboot.bin (x86-64 ELF) ]
              │
              ▼  (Direct Execution on Host CPU)
      Host CPU (x86-64)
              │
    ┌─────────┴─────────────────────────────────┐
    │                                           │
    ▼ (System Calls / Libs)                     ▼ (GPU / Draw Calls)
[ C System HLE Runtime ]             [ Vulkan 1.3 Translation Core ]
- runtime_offline.c (~130 contracts) - GCN bytecode -> SPIR-V
- Kernel Events, Threads, Sockets    - FSR 1 / RCAS / Anisotropy
- Software Ngs2 (ATRAC9, PCM)        - Vulkan Memory Allocator
- LibAtrac9 Decoder (Hardened)                  │
    │                                           ▼
    ▼                                      Host GPU (Vulkan)
AudioOut / DirectSound / WASAPI
  1. Native CPU Execution: Unlike traditional console emulators (e.g. RPCS3), no CPU translation layer is required. Both the PS4 and modern PCs share the AMD64 (x86-64) architecture.
  2. Reverse-Engineered System Contracts (src/runtime_offline.c): Capcom's MT Framework engine for Basara 4 relies on ~130 PlayStation 4 OS functions not found in base SpartanPort. These were reverse-engineered and implemented natively, including:
    • Kernel event flags and multi-thread sync primitives.
    • Offline AppContent / PlayGo container virtualisation.
    • Offline NetCtl / NP / HTTP stubs to satisfy network checks.
    • Message dialog and screenshot service bridges.
  3. Software Ngs2 Sound Graph (src/runtime_audio.c): Basara 4 routes all background music, dialogue, and combat SFX through Sony's proprietary Ngs2 library. This project implements a software Ngs2 graph featuring voice samplers, loop point handling, pitch scaling, ring buffer streaming, and multi-channel master buses.
  4. Hardened LibAtrac9 Decoder: Incorporates security and boundary hardening within third_party/LibAtrac9 (huffCodes.c, unpack.c, band_extension.c) to gracefully handle edge-case stream corruptions without crashing.
  5. On-the-Fly Memory Patching (launcher/basara4_patches.py): Locates the game's internal frame throttle instructions via byte pattern matching and removes the cap before execution begins.

Building from Source

Prerequisites

  1. MSYS2 with the CLANG64 environment installed:
    pacman -S --needed base-devel mingw-w64-clang-x86_64-toolchain \
        mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-ninja \
        mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-vulkan-loader \
        mingw-w64-clang-x86_64-sdl3 mingw-w64-clang-x86_64-ffmpeg \
        mingw-w64-clang-x86_64-glslang mingw-w64-clang-x86_64-pkg-config
    
  2. Python 3.10+ (Windows host installation) with PyInstaller and Pillow:
    python -m pip install pyinstaller pillow
    

Compilation Steps

  1. Clone the repository recursively:

    git clone --recursive https://github.com/razzconnect/basara4-native-pc.git
    cd basara4-pc
    
  2. Open the MSYS2 CLANG64 terminal and build the native runtime:

    bash build.sh
    

    This compiles out/gpu/basara4-core.exe.

  3. In PowerShell, assemble the distribution package:

    python packaging/basara4/make_package.py --out dist/basara4-windows
    

To update an existing release folder without disturbing your game\, user\, or out\ cache:

python packaging/basara4/make_package.py --out G:/basara4-windows --update

Troubleshooting & Logs

When reporting issues or bugs, please attach the relevant logs from the user\ folder:

  • user\last_run.log: Core runtime diagnostic log (initialization, GPU shader compiling, crash traceback).
  • user\prepare.log: Output from the image preparation and relocation stage.
  • user\audio_debug.log: Detailed Ngs2 voice allocations, streaming feeds, and buffer status (enable "Audio debug log" in launcher).

To summarize audio logs from command line:

python tools/audio_log_summary.py user/audio_debug.log

Credits & Acknowledgments

This project is built upon open-source foundations and prior reverse-engineering efforts:

Project / ComponentAuthor(s)Role & ContributionLicense
Basara 4 PC PortRazzPort author, reverse-engineering of Basara 4 system contracts (runtime_offline.c), software Ngs2 implementation, LibAtrac9 hardening, custom launcher GUI, frame-limiter patch, pad mapper, packagingGPL-2.0+
Sengoku Basara 4 Sumeragi cheatsQ8DespairCheat data for CUSA01159 update 01.02, adapted from the GoldHEN Cheat RepositoryGPL-3.0
SpartanPort (gow3_pc)Felipe PradoUpstream base native runtime architecture, probe loader, and core harnessGPL-2.0+
bloodborne_pcSupermedo & deadinside28Foundational PS4 native PC porting methodology and runtime librariesGPL-2.0+
shadPS4shadPS4 TeamTranslated GPU core, shader translation to SPIR-V/Vulkan, NID table (aerolib)GPL-2.0+
LibAtrac9Alexander BarneyATRAC9 decompression libraryMIT
GPU Rendering Fixescuesta4Blend and depth/stencil emulation fixes in video coreGPL-2.0+
FSR-VulkanFireBurn / AMDFidelityFX Super Resolution Vulkan integrationMIT
LibrariesVarious AuthorsSDL3, Dear ImGui, Vulkan Memory Allocator, sirit, xbyak, minizRespective licenses

Full upstream notices, legal attributions, and copyright declarations are documented in NOTICE.md.


Community & Socials

Join our community for discussions, troubleshooting, updates, and more:

  • Discord Community: https://discord.gg/UBZc57bBMa (general community & gaming)
  • TikTok: @razzconnect (https://www.tiktok.com/@razzconnect) — development progress & updates

License

This project is licensed under the GNU General Public License v2.0 or later (LICENSE).

  • All modifications, reverse-engineered engine contracts, custom audio graph code, and launcher source code created by Razz are Copyright (C) 2026 Razz under GPL-2.0-or-later.
  • Third-party components and submodules retain their respective authors' licenses as described in NOTICE.md and third_party/.
Leer guía oficial
CALIFICACIÓN
—
Cargando votos…
Publicidad

FICHA DEL PROYECTO

Tipo de proyecto
PORT NATIVO
Género
Rol / RPG
Estado
beta
Plataforma de origen
PlayStation 4
Tecnología
Port Nativo C/C++ (Reimplementación de Motor)
Versión
—
Actualización
24 oct 2026

Plataformas de destino 1

Windows
Ver en GitHub
Publicidad