# Way of the Samurai 2: a native port from hand-decompiled PS2 code

> Way of the Samurai 2 runs the PS2 game's hand-decompiled MIPS functions as native C++ with OpenGL and SDL2 host layers. It loads data from the user's NTSC-U disc and includes a reconstructed Sol script compiler and VM; the author reports play through to the ending with visual and timing limits.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/acklavidian/decomp_wots2>
- Primary source: <https://github.com/acklavidian/decomp_wots2/blob/9b6545e3cfabd047e1d19855c790fe406aea4d3a/README.md>
- Catalog page: <https://awesomerea.org/resources/way-of-the-samurai-2-native-case/>
- Record JSON: <https://awesomerea.org/resources/way-of-the-samurai-2-native-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/way-of-the-samurai-2-native-case/index.md)

## Requirements & limits

- **Prerequisites:** A personal NTSC-U disc image SLUS-208.93 is required.
- **Prerequisites:** The documented Linux build needs CMake, Ninja, SDL2, OpenGL, libarchive and FFmpeg for movies.
- **Limits:** The author reports about 2,000 of roughly 4,600 functions decompiled; rendering is an approximation.
- **Testing evidence:** Windows builds were tested under Wine, while macOS support is unfinished.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/acklavidian/decomp_wots2/blob/9b6545e3cfabd047e1d19855c790fe406aea4d3a/README.md>
2. <https://github.com/acklavidian/decomp_wots2/blob/9b6545e3cfabd047e1d19855c790fe406aea4d3a/lib/sol/README.md>

## More in Games

- [WCW/nWo Thunder: a PlayStation decompilation](https://awesomerea.org/resources/wcw-nwo-thunder-case/index.md) · Case study
- [West Bank: a SkoolKit disassembly of the ZX Spectrum game](https://awesomerea.org/resources/west-bank-disassembly-case/index.md) · Case study
- [Wii Play: a Rev 1 Wii decompilation with objdiff comparison](https://awesomerea.org/resources/wii-play-rhae-case/index.md) · Case study
- [Wii Sports: in-progress decompilation](https://awesomerea.org/resources/wii-sports-ogws-case/index.md) · Case study
- [Wind Waker HD decompilation: functions verified against the recompiled Wii U game](https://awesomerea.org/resources/wind-waker-hd-decomp-case/index.md) · Case study
- [WinFish: decompilation of Insaniquarium Deluxe 1.1](https://awesomerea.org/resources/winfish/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
