# The Sims 2: Castaway Gets a Vibe-Coded PS2 Static Recompilation Tool

> VCoded561 releases castawayPS2-recomp, an experimental C# static recompiler for The Sims 2: Castaway on PS2 built almost entirely with Gemini.

- Published: 2026-11-09T19:39:38Z
- Score: 7/10
- Tags: recomp, ps2, ai, tool
- Port / platforms: PS2 -> PC (Windows), Linux / Steam Deck, Mac (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/castawayps2-recomp-vibe-coded-sims-2-port/
- Sources: https://github.com/VCoded561/castawayPS2-recomp

Developer VCoded561 has released **castawayPS2-recomp**, a work-in-progress native PC static recompiler for *The Sims 2: Castaway* (PS2 NTSC-U `SLUS_216.64`), targeting **C# (.NET 9)** and **Silk.NET.OpenGL**. 

The README says the project was almost fully vibe-coded with Gemini 4 and Gemini 3.8 Flash, so any part of the code might be hallucinated or wrong. The author asks people not to use it as an example.

The build now boots to the main menu and the sim creator, then crashes after sim creation. 3D rendering doesn't work correctly in software or OpenGL modes yet, and the software reference rasterizer is extremely slow.

### How to Try It

1. Install the .NET 9.0 SDK (or newer). Hardware rendering needs a GPU that supports **OpenGL 4.6 Core Profile**. Software mode works without one, but it is very slow.
2. Extract your legally dumped *The Sims 2: Castaway* NTSC-U (`SLUS_216.64`) game assets into `Data/DVD/` inside the repository root.
3. Run the AOT transpiler to generate C# source code from the binary:
```bash
dotnet run --project Tools/PS2Recomp
```
4. Build the solution and launch the host:
```bash
dotnet build Castaway.sln -c Release
dotnet run -c Release --project src/Castaway.Host/Castaway.Host.csproj -- --renderer opengl --fps 30
```
