repowiserepowise

rwengine / openrw Architecture and code health

OpenRW "Open ReWrite" is an un-official open source recreation of the classic Grand Theft Auto III game executable

C++GPL-3.0

github.com/rwengine/openrwIndexed

What is openrw?

OpenRW is an unofficial, open source re-implementation of Rockstar Games' Grand Theft Auto III, a 3D action game first published in 2001. It recreates the classic game executable so the game can run on Linux, macOS, Windows and several BSD variants. The project is written mainly in C++, and running it requires a legitimate copy of the original PC game. Its code health is 8.1 out of 10 (Good), ranked #65 of 265 ranked repos. The last commit to openrw was on Jan 8, 2025, and 51 people have contributed.

As of commit 5c5f266, indexed Nov 23, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsopenrw.md

Repo facts: type, license, health, rank, contributors
openrw facts
LicenseGPL-3.0
Code health8.1 / 10 (Good)
Health rank#65 of 265 ranked repos
Last commitJan 8, 2025
Contributors51
Bus factor1
Size308 files, 44,368 lines

Ask about openrw

Answers come from openrw's README and source, with the files they cite. Two free answers a day without an account.

Ask about this code in your agent

This connects Repowise to openrw's code. It does not install openrw.

Useful if you want to change or fork openrw: your agent can ask how it is put together and get answers that cite its files.

Explore openrw

Code health

8.1out of 10Good

On the leaderboards:#1 of 17 C++ repos

rwengine/openrw FAQ

What is OpenRW?

OpenRW is an unofficial, open source recreation of the classic Grand Theft Auto III game executable. It is cross-platform and has been ported to Linux, macOS, Windows and several BSD variants.

How does OpenRW work?

OpenRW reimplements Grand Theft Auto III in C++ and is built with CMake. It needs a legitimate copy of the original PC game to run, and without that copy the game cannot be played.

What language is OpenRW written in?

OpenRW is written mainly in C++. Its code also includes Python, shell and C files.

How is the OpenRW code organized?

OpenRW is split into modules including rwengine, rwcore, rwgame, rwviewer and tests. The rwgame/main.cpp and rwviewer/main.cpp files are its two entry points.

Who is OpenRW for?

OpenRW is for people who own a legitimate copy of the original PC Grand Theft Auto III and want to play it on Linux, macOS, Windows or a BSD variant.

What license does OpenRW use?

OpenRW is licensed under GPL-3.0.

About this page

Get a page like this for your own codebase

Repowise built this map of rwengine/openrw from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

Key features of openrw

  • Re-implements Grand Theft Auto III as an open source program.
  • Runs on Linux, macOS, Windows and several variants of BSD.
  • Requires a legitimate copy of the original PC game to run.
  • Links to a FAQ, a getting started guide, a list of completable missions and contributing guidelines.
  • Lists third party components, including FFmpeg, Bullet Physics and SDL 2.0, with their licenses.

How rwengine/openrw works

The rwgame/main.cpp file is one of the two entry points and starts the game. The rwviewer/main.cpp file is the second entry point and starts the viewer, which is built on the Qt5Widgets and Qt5OpenGL dependencies. The rwengine directory is the largest module, with 139 files, and the rwcore and rwgame directories hold 37 files each. Build configuration is defined in CMakeLists.txt, and the project uses OpenGL, OpenAL, Bullet and FFmpeg among its dependencies. The original game data is needed at runtime, because the game cannot be played without a legitimate copy of the original PC game.

The codebase has 308 files and 6,279 symbols in 10 modules, led by C++, Python and Shell. Code health is 8.1 out of 10, rated good.

Featured answer

Read the answer

OpenRW is an unofficial, open source recreation of the classic Grand Theft Auto III executable, a 3D action game first published in 2001, and it is written mainly in C++. It runs on Linux, macOS, Windows and several BSD variants, but you need a legitimate copy of the original PC game because its data is required at runtime. The repository has two entry points: rwgame/main.cpp starts the game, and rwviewer/main.cpp starts the viewer, which is built on the Qt5Widgets and Qt5OpenGL dependencies. The rwengine directory is the largest module with 139 files, while rwcore and rwgame hold 37 files each, and by file count the layers are Application with 209 files, Data with 33, Docs & Tooling with 18, Service with 4 and Config with 1. Build configuration is defined in CMakeLists.txt, with dependencies that include OpenGL, OpenAL, Bullet and FFmpeg. To start reading, open rwgame/main.cpp to see how the game launches, then rwviewer/main.cpp, and then the rwengine directory.

Files per layer in openrw5 layers.

Basis: Inferred · knowledge graph· as of 5c5f266

Repowise maps public repos from their source. Not affiliated with rwengine. What is Repowise?