Valkyria Revolution (PS4RT)
Valkyria Revolution (PS4RT) is a Linux compatibility runtime for Valkyria Revolution that runs the game's original code on PC with a Vulkan renderer and a 60 FPS patch.
- Type: PC port
- Game: Valkyria Revolution
- Runs on Linux
- By HekamiAeon
- Latest release v1.3, 2026-11-19
- Source: https://github.com/HekamiAeon/valkyria-revolution-ps4rt
README
Valkyria Revolution (PS4, CUSA06810): PS4RT for PC Linux Port
A game-specific Linux compatibility runtime for Valkyria Revolution (PlayStation 4, CUSA06810), tested on Fedora Linux, x86-64.
PS4RT prepares and runs the game's original x86-64 code on a Linux host, supplies compatibility implementations of the PS4 services it needs, and uses a Vulkan graphics renderer derived from shadPS4. This is not a general-purpose PS4 emulator, a native recreation of the game, or a replacement for owning the game.
No game files, firmware, PKGs, decryption keys, or saves are supplied. You must provide your own extracted, plaintext CUSA06810 game folder. The portable does not download games or connect to PSN. This project is not affiliated with Sega, Sony, or AMD.
Download and play (no compiling required)
Want to play? Use the prebuilt Linux release. You do not need to compile PS4RT or install FFmpeg, SDL3, or other bundled application libraries.
- Download v1.3: Use the Valkyria Revolution PS4RT v1.3 release (also the latest release). Download
valkyria-revolution-linux-x86_64-a901bd2.tar.gzto play; thesourcearchive is for developers. The superseded v1.0 release remains available for rollback. - Have your own extracted PS4 game: The launcher needs a plaintext
CUSA06810folder containingsce_sys/param.sfo,eboot.bin,sce_module/, and the game's data. Point to the CUSA06810 folder itself, not a PKG, its parent folder, oreboot.bin. - Extract the downloaded archive using your file manager. Open a terminal inside its extracted folder.
- Launch with the path to your extracted
CUSA06810folder:
bash Play-Game.sh --game "/path/to/CUSA06810"
After a successful first setup, the validated game folder is remembered in ~/.local/share/valkyria-revolution/. For future launches, simply run bash Play-Game.sh. Supply --game again if you move the extracted folder or want to select a different copy. The Play-Valkyria.sh command from previous versions remains as an alias for existing shortcuts.
That's all you need to begin setup. Keep the extracted release folder
together. Paths containing spaces must be inside quotes, as shown. The first
run prepares the game's working files in ~/.local/share/valkyria-revolution/;
your extracted game folder is read, not modified.
Graphics are controlled in-game. Hold L2 and click the right stick (R3) to open PS4RT settings, or press Insert on a keyboard. Use the D-pad to navigate, Cross to confirm, and Circle to go back. Choose output Internal resolution (16:9 or experimental ultrawide), FSR Upscale output, upscaling (Off, FSR 1, FSR 3.1, or FSR 4 v07, where supported), sharpening, anisotropic filtering, and the Valkyria-specific options below.
Internal resolution and FSR output are separate settings. The game's scene can render at 1024×576 (low-end "540p"), 1280×720, 1920×1080, 2560×1440, or 3840×2160, plus experimental 21:9, 24:9, and 32:9 modes up to 5120×1440. Changing internal resolution requires restarting. FSR output is selected separately, within the same aspect-ratio family; choosing a higher output does not change how many pixels the game renders internally. FSR 1 is lightweight spatial upscaling without temporal anti-aliasing; FSR 3.1 and FSR 4 v07 use temporal reconstruction. FSR and its output selection apply live where supported.
Changing anisotropic filtering (AF) or graphics quality requires restarting the game. Use Restart Game in the PS4RT overlay after saving progress.
Player requirements: x86-64 Linux with glibc 2.35 or newer, Python 3,
a working Vulkan loader/driver (Vulkan 1.3), and compatible host display/input
libraries. Required application libraries, including SDL3 and FFmpeg, are
bundled. No compiler or special LD_LIBRARY_PATH command is needed. Fedora
gameplay has been verified; other Linux distributions and hardware
combinations are not all validated.
Architecture support: The portable targets native x86-64/AMD64 CPUs. ARM64 devices and CPU translation layers such as FEX or Box64 are not supported or validated.
For more help, see Running on Linux. The release does not contain PS4 game files or firmware.
Current status
- SDL-compatible gamepads, including DualSense and XInput, plus keyboard controls.
- Internal resolution: 1024×576, 720p, 1080p, 1440p, and native 4K, plus experimental 21:9 (2560×1080, 3440×1440), 24:9 (3840×1440), and 32:9 (3840×1080, 5120×1440). A change requires restarting the game.
- FSR Upscale output: Select the output separately from internal resolution; only compatible same-aspect outputs are offered. Upscaling options are Off, FSR 1, FSR 3.1, and FSR 4 v07 (GPU support permitting). Higher output resolutions do not necessarily mean the scene is rendered at that size.
- Graphics quality (v1.3): Max (original) preserves the game's effects; High draws lower-resolution shadows. Low disables shadows. A change requires restarting the game.
- Anisotropic filtering: Game default, 2×, 4×, 8×, or 16×. AF is separate from anti-aliasing and requires restarting the game.
- Custom Valkyria Revolution PS4RT overlay, with artwork and menu sounds. Open using Insert or L2 + R3 click. Settings are saved when the overlay closes.
- 60 FPS patch: Valkyria Revolution does not provide a simple framerate-unlock toggle. Its 30 FPS assumptions are spread throughout the game logic. PS4RT contains numerous game-specific fixes for movement, timing, cameras, and effects to make 60 FPS playable. The mode is believed to be largely functional, but chapters beyond those tested may still expose timing or visual defects. 30 FPS remains the default. If something looks or behaves incorrectly at 60 FPS, reproduce it at 30 FPS before reporting it, and mention whether it disappears. Late-game reports are particularly appreciated.
- Restart Game: Closes the current running game and launches it again through the PS4RT launcher.
- Local achievements: Game-triggered trophies are saved locally and shown in the Achievements tab with icons, progress, hidden entries, unlock timestamps, and notifications. These are not synced with PSN; objectives completed before the feature was added will not unlock retroactively.
- Ultrawide: The 21:9, 24:9, and 32:9 modes widen the rendered scene but remain experimental. Some HUD, dialogue, and cutscene elements may retain 16:9 layout assumptions. Return to 16:9 when investigating visual defects.
FSR 1 (spatial) and FSR 3.1 (temporal) are available in the runtime. FSR 4
v07 assets and their license notice are included under fsr4_shaders/.
FSR 4 requires appropriate Vulkan GPU features, including INT8 dot-product
support; unsupported hardware can use FSR 3.1, FSR 1, or Off instead.
These assets are upscaler dependencies, not shaders extracted from the game.
Known limitations and bug reports
- Chapters 5 onward are not fully verified.
- DrawPipeline is unsupported and off by default. Enabling it may help CPU-limited systems but can cause flickering or missing UI/fade draws. Bug reports must reproduce with DrawPipeline off. To experiment:
PS4RT_DRAW_PIPE=1 bash Play-Game.sh --game "/path/to/CUSA06810"
Disable it again with PS4RT_DRAW_PIPE=0 or leave the variable unset.
Please use GitHub Issues
for reports. For a potential 60 FPS defect, include the chapter/scene,
your graphics settings, and the result at 30 FPS.
Build from source (developers only)
Downloaded the prebuilt Linux release? Skip this section. The commands
below are for contributors. Players should use Play-Game.sh as shown
above.
From a source checkout, install a C/C++ toolchain, CMake 3.24+, Ninja, pkg-config, Python 3, glslang, and development packages for Vulkan, SDL3, FFmpeg, X11, fmt, Boost, xxHash, robin-map, Zydis, and other source dependencies. Exact package names vary by distribution.
PS4RT_LTO=OFF bash build.sh --test
python3 scripts/valkyria_launch.py --game "/path/to/CUSA06810"
The test build runs automated tests, not a full playthrough. Source builds
create generated runtime data under out/valkyria/.
To create the portable Linux release using the controlled Ubuntu 22.04 / GCC 14 / glibc 2.35 builder, see Linux portable build instructions and the distribution guide.
Keyboard and controller remapping
Default keyboard controls include WASD (left stick), arrow keys (right stick), Space (Cross), Left Shift (Circle), E (Square), Q (Triangle), and I/J/K/L (D-pad).
You can remap PS4 buttons at launch using PS4RT_KEY_MAP:
PS4RT_KEY_MAP="cross=Q,triangle=Space" python3 scripts/valkyria_launch.py --game "/path/to/CUSA06810"
PS4RT_PAD_MAP similarly remaps gamepad buttons. These are environment
variables, not settings in valkyria.ini. There is no in-game
key-binding editor. The mapping defaults live in
src/runtime_pad.c, and these remaps do not change
analog axes or the PS4RT menu shortcut.
Saves and private files
The extracted portable keeps generated game code, settings, saves, and GPU
caches under ~/.local/share/valkyria-revolution/; a source checkout uses
out/valkyria/. Notable paths:
~/.local/share/valkyria-revolution/valkyria.ini: saved graphics settings.~/.local/share/valkyria-revolution/user/savedata/: user save data.~/.local/share/valkyria-revolution/user/achievements/: local unlock state and generated trophy catalog.~/.local/share/valkyria-revolution/user/gpu/cache/: GPU shader/pipeline caches, when present.
Never publish these folders. They can contain game-derived binaries, private saves, and caches. No proprietary game material or user data belongs in source control or public player archives.
Credits, origins, and license
This Valkyria Revolution-specific project is adapted open-source compatibility software, not a clean-room implementation. Its runtime builds on work from:
- FelipePrado0/gow3_pc, the original PS4 compatibility-runtime lineage.
- deadinside28/bloodborne_pc and Supermedo/bloodborne_pc, earlier compatibility-runtime and launcher adaptations.
- shadPS4 and related Vulkan renderer and shader-recompiler contributors.
Development used REA: Reverse Engineer Anything and Ghidra as reverse-engineering analysis tools, not embedded runtime code.
See Upstream credits and notices for additional contributors and third-party licenses. The runtime source is distributed under GPL-2.0-or-later; vendored components retain their own licenses and attribution. The FSR 4 assets have a separate notice at fsr4_shaders/LICENSE-FSR4-v07.txt. A separate repository name or Git history does not remove obligations to upstream contributors.
Valkyria Revolution is a trademark of its respective owners. This project is not affiliated with or endorsed by them.