Skip to content
PORTSNATIVE.
HomeCatalog
Web GamesEmulatorsToolsNews
PORTSNATIVE.

A catalog for discovering ports and related projects. We link to official sources and do not host original game files.

ExploreCatalogMy list
InformationAbout usSuggest a portSupportDonationsLegal notice
© 2026 PortsNative
Back to catalog
Lego City Undercover
PORTSNATIVE

Lego City Undercover

NATIVE PORTADVENTURE / SANDBOXWINDOWSLINUXMACOSALPHA

Lego City Undercover

TechnologyNative C/C++ port (engine reimplementation)

Available forWindows, Linux, macOS

View official project

About the project

Lego City Undercover es un videojuego de acción y aventura desarrollado por TT Fusion y publicado por Nintendo para Wii U en 2013. Warner Bros. Games lo reeditó en 2017 para Nintendo Switch, PlayStation 4, Windows a través de Steam y Xbox One. Basado en la línea de juguetes temáticos City de Lego, la historia sigue al agente de policía Chase McCain en su regreso a Lego City y su persecución del jefe del crimen fugado Rex Fury. El juego permite explorar un mundo abierto y completar niveles independientes que incluyen puzles y combates.

Official project information

Author's original READMEOpen on GitHub ↗

Lego City Undercover Decompilation

Code Progress Function Progress Discord Badge

This repository does not contain game assets and cannot be used to play the game.

Resources

This project requires a main dumped from the latest Lego City Undercover - EU update, v1.0.3 (The US version 1.0.2 likely also works for decompilation, but is untested and has a different file hash). The Japanese version isn't currently supported, because it was compiled with a different/unknown compiler version similar to the other 1.0.0 versions.

How to help

If you want to help with the decompilation, then you can do either the todos below, check for possible todo comments in the code, decompile functions/classes, improve readability of functions or fix non-matching functions. You can also check out the CONTRIBUTING.md for more information on how to contribute.

What to figure out if you can decompile a function?

Then give a few simple functions a try. Just try to understand what the function does and implement it in C++. If you can do that, then you can help with the project!

Here is a list of a few functions that you can try to decompile in your browser (Ghidra psuedo-code is provided for reference):

  • GetNextMultiple
  • NuPower2
  • WithinDistanceOf

Todo

  • fix lint.py
  • create a file structure for the functions/classes based on the symbols
  • Code style guidelines
  • (if possible) improve progress tracking

Why Nintendo Switch Edition?

The Nintendo Switch Edition has symbols, making it a good base for decompilation. The Wii U Edition doesn't have symbols and the compiler toolchain GHS is abysmal. The chance that we find a matching compiler version is next to none, so our assembly wouldn't be matching either way.

The Nintendo Switch Edition on the other hand was compiled with Clang where it's easier to find the compiler version just by the release date of the game.

Building

See BUILDING.md.

Contributing

See CONTRIBUTING.md.


Special thanks to all the people of the LEGO Star Wars: The Complete Saga decompilation.

This repository is based on the MinecraftLCE decomp and Super Mario Odyssey decomp.

View official project
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Adventure / Sandbox
Status
alpha
Original platform
—
Technology
Native C/C++ port (engine reimplementation)
Version
—
Updated
—

Target platforms 3

Windows
Linux
macOS
View on GitHub
Advertisement