A native PC port of Amplitude (NTSC-U, SCUS-97258), made by statically recompiling the game's PlayStation 2 code to C++. Windows first; Linux later.
Built on BozoEngine, The Bozos' own toolchain: the game's EE code recompiled to C++, every library and kernel call it makes answered by native code. No PS2 hardware model at any level: no GS, VU, VIF/GIF, DMA, IOP or SPU2.
Important
No game files are included: no ELF, IRX modules, archives, audio streams, or code generated from them.
You need your own copy of the North American release, PS2 ID SCUS-97258 (disc version 1.00). The port is
built against that disc's executable:
| File | SHA-1 |
|---|---|
SCUS_972.58 |
3a2e05f454ae36abc85da31225bc6968d8fb5548 |
A song plays from start to end. The game boots through the logos and the intro movie to the title screen, the menus, the FreQmaker, the arena and song selection, and plays a whole song ("Boom", P.O.D. vs. The Crystal Method, in Neotropolis) with its music streamed from the disc: the gems are hit, the tracks turn on, the score climbs and the results screen follows. It runs at full speed (60 frames a second, the VU1 programs compiled to C++), the intro movie with its sound, the track's surface and the HUD's monitor drawn by render-to-texture.
| Milestone | |
|---|---|
| Disc layout, executable sections and IOP modules mapped | ✅ |
| Whole program recompiled by bozo-recomp: 13,686 functions, no untranslated instruction | ✅ |
| Library symbol map for the stripped executable (493 names, 178 of the engine's natively answered calls) | ✅ |
Port build (amp-headless, amplitude) linked against BozoEngine |
✅ |
| Boot, memory-card check, logos | ✅ |
| Intro movie (native libmpeg) | ✅ |
| Title screen: the 3D city fly-over | ✅ |
| Main menu and Solo menu, with the animated IPU monitors | ✅ |
| Harmonix's sound modules (SYNTH_S, SOFTFX_S) compiled and running on the native mixer | ✅ |
| FreQmaker, arena and song selection, the training with its narration | ✅ |
| A complete song: streamed music, gems, scoring, energy, results screen | ✅ |
| Render-to-texture (the track's surface, the FreQ's monitor, HUD messages) | ✅ |
| Intro movie sound, the song select's preview loops | ✅ |
| FreQs drawn whole and smooth (the game's VU0 microprograms, run beside the EE as on the console) | ✅ |
| Full speed: the VU1 programs compiled to C++ (60 frames a second with room to spare) | ✅ |
| The title's and menus' glows and highlighted labels (were white blotches) | ✅ |
| Sound timing: the song's clock held back to the music as the PC plays it (an audio offset, adjustable) | ✅ |
| Save states (in the window: save and load slots) | ✅ |
Memory-card saves (the FreQs and the progress, in %APPDATA%\Amplitude_Recomp, or a user folder next to the executable) |
✅ |
| Every arena's songs, two players (Multiplayer, Game) | ✅ |
| Four players (multitap), Duel, Remix, Practice, Freestyle; Options, Credits | ✅ |
| Native 3D: the VU1 programs' meshes, lines, multi-meshes and particles drawn with their own matrices (no VU1 microcode run) | ✅ |
| Native 2D: the text, HUD and menus are the engine's own meshes (glyph quads, panels) and drawn natively with them | ✅ |
| Linux build | ⏳ |
✅ works · 🔧 in progress · ⏳ not reached yet
Online play (the network GUI and stack on the disc) is out of scope: its servers are long gone.
docs/RECOMP_NOTES.md records the disc, the executable and every step of the bring-up.
Captured from the current build at 960x720.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
A fully playable Amplitude as a native PC program: every song, mode and remix, drawing and playing sound directly from the game's data, with tight audio/input timing first. Widescreen, higher resolutions and other presentation options follow.
disc files (game/) ──► scripts/symbols.sh ──► recomp/amp_symbols.txt (library names for the stripped ELF)
│
BozoEngine's bozo-recomp ──► native C++ in build/ (never committed)
│
CMakeLists.txt ──► BozoEngine + generated code + Amplitude's own adapters ──► amplitude.exe
SCUS_972.58is a stripped GCC build using Sony SDK 2.6 libraries. BozoEngine discovers the functions from the code itself;bozo_symbolmap.pynames the SDK functions by matching them against executables that keep their symbols.- Game data lives in
GEN/MAIN.ARK, a Harmonix ARK archive; each song is a multitrack stream inAUDIO/*.STR. - Drawing: Harmonix's renderer sends its packets through a DMA ring (MFIFO) to VIF1 and the VU1. The port answers
every DMA register access of the renderer natively and runs the VIF1 codes. Where a VU1 program would start, the
native renderer (
runtime/amp_native.cpp) reads the batch the VIF unpacked and draws it with BozoEngine's 3D path: the meshes' triangles lit as the game's microcode lights them, with the camera's matrix, its lines, multi-meshes and particles. The text, the HUD and the menus are meshes too (the engine's glyph quads and panels under an orthographic camera) and drawn the same way. What still goes to the GS as packets, a few clears of buffers and render-to-texture images a frame, is drawn by the GS translator; the movies' pictures, written into the frame by image transfers, are shown as the frame's backdrop.AMP_NATIVE=0runs the VU1 programs instead (compiled to C++ from the executable at build time bytools/amp_vu1_recomp.py) and draws what they kick through the translator: the reference the native renderer is compared with (the GS translator and the VU1 compiler come from Shinobido_WOTN_Recomp). - The intro movie is decoded by BozoEngine's native libmpeg (FFmpeg); the menus' animated textures (
ipumstreams the game plays on the IPU) by FFmpeg's IPU decoder. - Sound: Sony's LIBSD, SDRDRV, SCRTCHPD and Harmonix's SYNTH_S and SOFTFX_S are compiled offline from the disc to C++ and run on BozoEngine's native IRX host and mixer.
- Game-specific addresses, formats and hooks stay in this repository; engine changes go to BozoEngine and stay generic.
- Windows 10/11 with MSYS2 (UCRT64); Linux is not qualified yet
- CMake 3.21+, Ninja, GCC with C++20 support
- FFmpeg development libraries (
libavcodecwith the MPEG-2 and IPU decoders,libavutil) throughpkg-config bsdtar(libarchive) to extract the disc, Python 3- Your own copy of
SCUS-97258(check the hash above)
pacman -S --needed mingw-w64-ucrt-x86_64-{gcc,cmake,ninja,pkgconf,ffmpeg,libarchive,python} gitA song plays from start to end. This is the developer workflow as it stands.
git clone --recurse-submodules https://github.com/TheBozos/Amplitude_Recomp.git
cd Amplitude_Recomp
scripts/extract_iso.sh "/path/to/Amplitude (USA).iso"
scripts/symbols.sh <reference ELFs with symbols>... # only when the symbol map changes
scripts/bench_run.sh --alone 30 "build" scripts/build_runtime.sh
PS2X_PAD_NO_HOST=1 scripts/bench_run.sh 10 "boot" scripts/run.sh --frames 600scripts/run.sh runs amp-headless; AMP_WINDOW_RUN=1 runs the amplitude window instead (--hidden, --mute
for unattended runs; AMP_CAPTURE_FRAMES=first:last:step with PS2X_CAPTURE_WINDOW_DIR saves pictures). The intro
lasts about 2,470 frames (a movie picture is one frame of two fields); --pad-script takes frame:BUTTON/frames
entries (e.g. 2700:START/8 at the title). The
runner prints where the game stops and what is not native yet. Play-test switches (AMP_UNLOCK_ALL,
AMP_INFINITE_ENERGY, AMP_AUTOPILOT, --pad-script2..4 for players 2-4) and a pad script that reaches a song are in
docs/RECOMP_NOTES.md.
The game's own Options menu and pause menu have a PC SETTINGS entry, and behind it pages the game itself draws in its menus, with its font and cursor:
- VIDEO: display (windowed, fullscreen, borderless) and resolution, applied by the APPLY DISPLAY row under them;
render scale, frame rate, antialiasing, texture smoothing, texture upscaling and its filter, widescreen, sharper
effects and background pause, each applied as you change it. All are kept (
video.ini,amplitude.ini). - SOUND: the audio offset.
- CHEATS: autopilot, infinite energy, unlock all.
- SAVE STATES: the slot, save, load.
- QUIT GAME: press X twice.
Up / Down choose (hold to repeat; a long page scrolls, ^ and v at its ends saying there is more), Cross acts, Left / Right change a value, Triangle or Circle go back. The port
builds the entry at startup from your disc (the menus' files edited in memory; AMP_NO_PC_MENU=1 keeps the game's
own). The controls are rebound in F2.
In the window, F2 (or a gamepad's middle button) opens the settings: Controls, Video (window mode, resolution, render
scale), Save states, and an Amplitude tab with widescreen (16:9: the 3D through a wider camera, the HUD and menus kept
4:3 in the middle), sharper effects (the render-to-texture pictures at twice their size), an audio offset (the gems
and the hits held back to the music as the PC plays it, 50 ms by default), the cheats (the game's own
autopilot, infinite energy, every arena and song unlocked), save states (a slot, Save, Load) and quitting the game.
The graphics options are kept in
amplitude.ini in the user folder; AMP_WIDESCREEN=1, AMP_AUDIO_OFFSET=<ms>, AMP_AUTOPILOT=1, AMP_INFINITE_ENERGY=1 and
AMP_UNLOCK_ALL=1 set them from the environment.
The player's files (save states, memory cards, settings) go to %APPDATA%\Amplitude_Recomp, or to a folder named
user next to amplitude.exe when there is one (portable), or to PS2X_USER_DIR.
Builds and timed runs take the shared benchmark lock alone (scripts/bench_run.sh --alone); game runs take one slot.
SYSTEM.CNF:BOOT2 = cdrom0:\SCUS_972.58;1,VER = 1.00,VMODE = NTSC.SCUS_972.58: one program header0x100000..0x449898, entry0x100010, stripped (no.symtab, no DWARF), GCC with C++ exceptions, Sony SDK 2.6 libraries. A few routines live inside.rodata.GEN/MAIN.ARK(564 MB, ARK version 2, 4,526 entries), 26 song streams inAUDIO/, IOP modules inIOP/(including Harmonix'sSYNTH_S.IRXandSOFTFX_S.IRX), the online setup GUI inNETGUI/.
| Path | What |
|---|---|
BozoEngine/ |
The engine (submodule): recompiler, runtime, native libraries, tools |
recomp/ |
The symbol map, the names read by hand, the library functions kept as the game's own code |
runtime/ |
The runner (amp_main.cpp), the port's overrides (amp_port.cpp), the renderer's DMA and flip (amp_render.cpp), the GS translator and VU interpreters (amp_gs*.cpp, amp_vu1.cpp), the IPU pictures (amp_ipu.cpp), the sound modules (amp_audio.cpp) |
tools/ |
amp_prepare.py (the ELF as bozo-recomp reads it), amp_bozo_audio.py (the sound modules), amp_vu1_recomp.py (the VU1 programs), amp_ark.py (MAIN.ARK), the naming aids (amp_disasm.py, amp_callers.py, amp_rpc_names.py) |
runtime/app/ |
The window build's icon, manifest and Windows resources |
scripts/ |
Disc extraction, symbol map, build, run, shared bench lock |
docs/ |
RECOMP_NOTES.md, the branding (docs/branding/make_logo.py) |
- The Bozos: boubou666 and Arzaroth, who make this port and BozoEngine (RecompWatcher shows our projects).
- BozoEngine, The Bozos' MIT recompiler and native runtime.
- The team's other recompilations (Dark Cloud, Twisted Metal: Black, Onimusha: Warlords, Shinobido, The Lord of the Rings: The Third Age, Valkyrie Profile 2: Silmeria, Jade Cocoon 2), which share native development work.
- Amplitude © Sony Computer Entertainment America, developed by Harmonix Music Systems. This is an unofficial fan project, not affiliated with or endorsed by them.
MIT, see LICENSE. Game data is never part of this repository: the port builds from the player's own disc.























