Project Underground

Project Underground is a native PC port of Tony Hawk's Underground for Xbox, featuring a Vulkan renderer and 60 fps gameplay.

README

Project Underground icon

Project Underground

Tony Hawk's Underground (Xbox) rebuilt as a native game for Windows, Linux and Android.

Windows Linux Android Vulkan 60 fps Release

This project is free, and it stays free. I work on it in my free time. If you'd like to support that, you can leave a tip on Ko-fi. Donations are completely optional and don't unlock anything.

Support me on Ko-fi

A static recompilation by 8gram Labs: the original x86 game code is translated to C and compiled natively for 64-bit Windows, Linux and Android phones, with its own Vulkan renderer, higher resolutions, 60 fps and a launcher.

Project Underground

No game code or data ships with this project. The installer builds the game on your PC from your own Tony Hawk's Underground (Xbox, USA) disc image.

Download

File
Windows 10/11 (64-bit, Vulkan 1.3 GPU)ProjectUnderground-Setup-<version>.exe
Windows, without an installer, or for RecompLauncherProjectUnderground-<version>-Windows-x64.zip
Linux (x86-64, glibc 2.38+, Vulkan 1.3 GPU)ProjectUnderground-Linux-x64-<version>.tar.gz

Get them from the releases on git.8gramlabs.com, GitLab or GitHub. You need your own disc image. The launcher (Windows) and the game (Linux) offer new versions.

Which disc image you need
GameTony Hawk's Underground (2003), original Xbox, USA (NTSC-U)
Title ID4156002D
File.iso / .xiso, for example Tony Hawk's Underground (USA).xiso.iso
TestedTrimmed XISO image
Should workFull Redump image (the installer finds the game partition; not tested)
default.xbe SHA-256979424bddf7aec098e429ea0a7255aef4b257411348e497a26558f13be9de29e

The installer checks default.xbe against that SHA-256 and stops if it is another version. Not supported: other regions (for example PAL), the PS2, GameCube and PC versions, Underground 2, modified images, and .rar / .7z / .zip files (unpack them first). Make the image from your own disc; please don't ask for one.

Warning

Antivirus and "Windows protected your PC" warnings. ProjectUnderground-Setup.exe is not code-signed (signing certificates cost money), so Windows SmartScreen and some antivirus programs may warn about it or flag it on heuristics. It also builds a brand-new underground.exe on your PC that no antivirus has seen before, which some engines dislike. These are false positives: nothing in it is malicious, and all of the source code is in this repository, so you can build it yourself.

  • SmartScreen ("Windows protected your PC"): click More info, then Run anyway.
  • Your antivirus quarantines underground.exe after the build: restore it and allow the install folder, then run the setup again and choose the update. Don't turn your antivirus off completely.
  • Only download from the official Forge, GitLab or GitHub release pages, or from recomp launcher sites like RecompLauncher or Quiver.

Note

Online play is being worked on. For now only local two-player split screen is available.

Note

Android works on a Samsung Galaxy S26 Ultra (Snapdragon, Adreno 840, Android 17): story start, free skate, saving and loading, touch controls and the in-game menu. It is the only phone tried so far. That test used a developer build of the same code; the APK that the launcher builds is still to be tested on a phone. Other phones need arm64, Android 13 or newer and Vulkan 1.3: please report how yours does.

New Jersey

Nosegrind

Wall ride in Moscow

Features

  • Native builds, no emulator. Every function of default.xbe is lifted to C and compiled for the machine it runs on: 64-bit Windows, Linux (x86-64) and Android (arm64).
  • Own Vulkan renderer. The Xbox GPU's (NV2A) push buffer goes straight to Vulkan on every platform: vertex programs and register combiners run as shader interpreters, with shadow maps, lighting, fog and texture generation. No Direct3D, no DXVK.
  • High resolution and supersampling. The game renders at a multiple of the Xbox's 480 lines: 2x (960 lines) by default, up to 8x, scaled down cleanly to the window. Changes live in the in-game menu.
  • Optional graphics. Anti-aliasing and ambient occlusion (the HUD stays sharp), anisotropic texture filtering, and a maximum draw distance that stops people, cars and props from vanishing.
  • 60 fps. Frames are paced at a steady 60 fps (the launcher can switch to 30), with VSync on or off. The game steps by real time, so it plays at the same speed at 30 fps or when a PC cannot hold 60.
  • Widescreen. The game's own 16:9 mode is on by default (the Xbox widescreen setting): a wider view of the level. The original 4:3 is one click away.
  • Window settings. Windowed or borderless fullscreen (F11 or Alt+Enter), any monitor, window size presets, keep-aspect or stretch, and sharp output at any Windows display scaling.
  • Launcher. Play, display settings (fullscreen, monitor, window size, widescreen, picture fit, supersampling, graphics options, 60 fps, VSync, players), updates, logs, the Android build and uninstall, all on one screen. The setup and launcher windows can be resized from any edge or corner.
  • Builds on your PC, no Visual Studio. The setup fetches its own compiler (llvm-mingw, about 190 MB, once) and builds the game in about a minute. No admin rights needed.
  • Linux. The same renderer on Vulkan, SDL3 for the window, sound and controllers, and a setup.sh installer with menu entry, updates and uninstall.
  • Android. Your PC turns your installed game into an APK for your phone (arm64, Android 13+, Vulkan 1.3), with on-screen touch controls.
  • Two-player split screen, local. Online play is being worked on.
  • Almost any controller. Xbox, PlayStation 3/4/5, Switch Pro and Joy-Con, Steam Controller and Steam Deck, 8BitDo and thousands more through SDL3 and the community controller database, on Windows, Linux and Android. Up to 2 players, plus the keyboard. See Controls.
  • HD texture packs (optional). It loads PCSX2-format replacement packs made for the PS2 version, such as the community HD Remaster pack. Palettized textures are matched by their exact PS2 hashes; compressed (DXT) ones by picture (see HD textures). F10 in the game switches them on and off.

Maps

Every skating level runs. Pictures: 3x supersampling, anti-aliasing, ambient occlusion and maximum draw distance on, original textures. Bonus levels are shown by the game's own short codes.

New Jersey
New Jersey
Manhattan
Manhattan
Tampa
Tampa
San Diego
San Diego
Hawaii
Hawaii
Vancouver
Vancouver
Slam City Jam
Slam City Jam
Moscow
Moscow
HN
HN
PH
PH
SE
SE
SC
SC
SC2
SC2
DJ
DJ
VN
VN

Two players, split screen:

Split screen

Android

New Jersey on a phone

Moscow on a phone

Hawaii on a phone

Working on a Samsung Galaxy S26 Ultra: about 50 to 60 fps in New Jersey while the phone is cool (a hot phone slows itself down; the default is 2x supersampling). The pictures are from that phone at 3x, with the on-screen controls (they hide when a controller is connected). The orange button opens the in-game menu: tap a row to change it, tap outside to close it.

HD textures

Where to get a pack: the HD Remaster pack is in the Internet Archive's PCSX2 HD texture packs collection. Direct download (573 MB): Tony Hawk's Underground HD Remaster.rar. It is made by the community, not by this project. The launcher has the same link: Settings, GET IT.

Optional. Unpack a PCSX2 replacement pack for the PS2 version (Tony Hawk's Underground (USA) [SLUS-20731]), then pick its folder, for example ...\SLUS-20731\replacements, in the launcher (Settings, HD texture pack). Linux: ./setup.sh --hd <folder> or UG_HDTEX=<folder> in settings.ini. The pack is used where it is and is not copied. F10 in the game switches it on and off, so you can compare.

How it works: the pack names its files by PS2 texture hashes. The Xbox version keeps two kinds of texture:

  • Palettized (8-bit) ones have the same indices and palette as on the PS2, so the PS2 hashes are rebuilt exactly (as in Project Gauntlet). In New Jersey 79 of 83 find their file.
  • Compressed (DXT) ones, most of the level art, were re-encoded for the Xbox, so their PS2 hashes can't be rebuilt. Each is shrunk to a 16-pixel thumbnail and compared with thumbnails of the whole pack; a pack texture is used only when it is clearly the same picture, and flat or ambiguous textures keep the original. In New Jersey about 600 of 870 detailed textures find their HD version.

The pack's textures have up to 4x the resolution: road surfaces, grass, wood and walls are visibly sharper up close. Anisotropic filtering (16x, UG_ANISO) keeps that detail on surfaces seen at an angle.

The installer and launcher

SetupLauncherLauncher settings
SetupLauncherLauncher settings

The skateboards are the buttons. Setup: choose your disc image and install folder, then Install. Updates rebuild the game in place and keep your saves and settings.

Status

AreaState
Boot, Activision/Neversoft/intro movies (Bink), title menusWorking
Story mode: intro cutscene, Create-a-Skater, New Jersey levelWorking, skater controllable, HUD, 60 fps
Saves, loading, cutscene streamingWorking
Sound, music, moviesWorking (DirectSound mixed in software)
Renderer: textures, combiners, fog, lighting, skater shadows, texgen, depth clamp, polygon offsetWorking
Widescreen 16:9 (the game's own mode), window size, monitor, fullscreenWorking
Other levelsAll 15 load and play in free skate; story goals beyond New Jersey are not checked
Installer, launcher, updates, uninstall (Windows)Install, update and uninstall tested
LinuxBoots to New Jersey gameplay; install, update, uninstall and the updater tested (Ubuntu 24.04, WSL)
AndroidWorking on a Galaxy S26 Ultra: story start, free skate (New Jersey, Moscow, Hawaii), saving and loading, touch controls, in-game menu, leaving and resuming. Not yet tested: the launcher-built APK, controllers, long sessions, other phones
HD texture packs (PS2 PCSX2 packs, matched by picture)Working (optional; F10 toggles)

Known gaps:

  • The story has been played only through its first level; the other levels were checked in free skate.
  • Online play is not available yet (local two-player split screen only).
  • Two-player split screen draws no skater shadows.
  • Not yet tested on a PC without any developer tools, on a real Linux GPU, or with real controllers on Linux.

Controls

Xbox padKeyboard
D-padArrow keys
Left stick / right stickW A S D / I J K L
A / B / X / YZ / X / C / V
Black / WhiteF / G
LT / RTQ / E
START / BACKEnter / Backspace
L3 + R3 (both sticks pressed): in-game menuEsc or F1: in-game menu
F11 or Alt+Enter: fullscreen, F10: HD textures on/off

In-game menu: pauses the game; fullscreen, frame rate (30/60), camera direction (right stick: up is up and left is left by default; "Xbox" = the original inverted camera), HD textures on/off, and Quit (press twice). Changes are saved to the launcher's settings. Once a story or career is going it also has Cheats: Unlock everything (the game's own unlock: levels, skaters, movies, cheat codes), Always special, Perfect rails, Perfect manuals, Moon gravity and Perfect skitch.

Name entry (the on-screen keyboard, e.g. save names): just type. While the on-screen keyboard is open, letters, digits, Backspace and Enter go into the text; the arrow keys still move over the on-screen keys.

Controllers: Xbox, PlayStation, Switch Pro / Joy-Con, Steam, 8BitDo and most other USB and Bluetooth pads work (buttons go by position, so the bottom face button is A). SDL3 (SDL3.dll next to the game on Windows) and the community SDL_GameControllerDB (gamecontrollerdb.txt) cover a few thousand pads; a pad that is still unknown gets a generic layout, and your own SDL mapping lines can go in controllers.txt in the game folder (never touched by updates). Set the number of players in the launcher.

How it works

  • recomp/lift.py translates the x86 code of default.xbe to C: 12,927 functions (96% of .text), including the SSE and x87 code. A differential oracle compares lifted functions with an emulator run on the original bytes (2,228 pass; every failure is explained and none is a lifter bug).
  • runtime/ holds the Xbox kernel, file system, threads and fibers, XInput and DirectSound HLE, and the NV2A push-buffer to Vulkan renderer (runtime/src/gpu_vulkan.c, shaders in runtime/shaders/).
  • installer/ holds the setup and launcher (one Win32 exe built with llvm-mingw), and tools/ug_build.py runs the on-PC build: extract, check the disc, translate, compile, link.
  • Linux and Android use the same runtime through a small Win32 compatibility layer (runtime/src/linux/) and SDL3. tools/ug_android.py builds the APK on the player's PC from a template APK that holds no game code.

See docs/installer.md for the installer, launcher, Linux and Android details.

Building from source (developers)

Requirements: Python 3 with capstone (pip install capstone==5.0.7) and your disc image. No Visual Studio, no Windows SDK, no Vulkan SDK: the compiler (llvm-mingw) is fetched for you.

python -I tools\ug_build.py --root <build folder> --iso "<path to your disc image>"
<build folder>\underground.exe

This is the same build the installer runs. python -I installer\build.py packages dist\ProjectUnderground-Setup-<version>.exe. Linux: tools/build_linux.sh and tools/package_linux.sh.

Legal

Tony Hawk's Underground is a trademark of its owners. This project is not affiliated with or endorsed by them. It contains no game code, data or assets. You need your own copy of the game.