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
Vib-Ribbon Decompilation
PORTSNATIVE

Vib-Ribbon Decompilation

NATIVE PORTMUSIC / RHYTHMWINDOWSLINUXMACOSALPHA

Vib-Ribbon Decompilation

Vib-Ribbon

OriginPlayStation

TechnologyDecompilation and reconstruction in C/C++

Available forWindows, Linux, macOS

View official project

About the project

Vib-Ribbon es un videojuego musical creado por Masaya Matsuura y desarrollado por NanaOn-Sha para PlayStation. Salió a la venta el 9 de diciembre de 1999 en Japón y un año más tarde en Europa. Se trata de un juego rítmico cuya particularidad es que el software queda cargado en la memoria RAM, lo que permite retirar el CD del juego y utilizar canciones de cualquier otro disco compacto. El juego se puede jugar en PlayStation 2 debido a la retrocompatibilidad.

2 versions of Vib-Ribbon

You're viewing: Vib-Ribbon Decompilation

Vib-Ribbon Decompilationgithub.com/open-ribbon/open-ribbon
Windows
Linux
macOS
Current
Vib-Ribbon Recompiledgithub.com/alexbeavs-ps1-ports/vib-ribbon-recomp
Windows
Linux
macOS
›

Official project information

Author's original READMEOpen on GitHub ↗

image

A WIP decompilation of PAL build of the PS1 game Vib-Ribbon (ビブリボン). <br> The objective is to produce a free and open-source reverse-engineered version of the game. <br>

Documentation about this game and project can be found here. <br> Join our Discord server to discuss the project.

Decompilation Progress

File nameProgressDescription
MAIN_T.EXEprogressTitle screen
MAIN_K.EXEN/AKiosk—Tutorial level
MAIN_G.EXEN/AMain menu and gameplay
SCES_028.73N/AModule (.EXE) loader

General info

Vib-Ribbon was written in C++, which was uncommon for games in the 90s, especially on the PSX.<br> However, due to current limitations, this decompilation is written in C.

How to build

Place all the necessary PSX executable files in the iso directory (e.g. MAIN_G.EXE) first. If you don't currently have the executables needed to decompile the game, please follow this guide on how to extract the files from your copy of Vib-Ribbon.

  1. Run make extract to generate the assembly files in the asm/ directory
  2. Run make to compile the binaries in the build/ directory

In case there are any changes in the config/ folder, you might need to run make clean to reset the extraction.

Some non-matching functions are present in the source preprocessed by the macro NON_MATCHING. You can still compile the game binaries by running CPP_FLAGS=-DNON_MATCHING make. In theory, they might be logically equivalent in-game, but I cannot promise that. Few of them could match by tuning or changing the compiler.

How to decompile

  1. Run make clean extract all expected at least once
  2. Look for a function which hasn't been successfully decompiled yet (eg. INCLUDE_ASM("asm/game/nonmatchings/4D58", VideoSys__FlipBuffer);)
  3. Run FUNC=VideoSys__FlipBuffer FILE=VideoSys make decompile to dump the decompiled code on the console
  4. Replace the INCLUDE_ASM(...); you targeted with the console output content
  5. and invoke python3 ./tools/asm-differ/diff.py -mwo VideoSys__FlipBuffer

You will probably have some differences from your compiled code to the original; keep refactoring the code and move variables around until you have a 100% match.

There are a few tricks to make the process more streamlined:

  1. Use decomp.me with the vib-ribbon preset.
  2. The “context” section of decomp.me, is provided by the previous command make decompile as mentioned in the how to decompile.
  3. Use decomp-permuter to solve some mismatches.
  4. Use this and this guide to understand how some compiler patterns work.
  5. Use the #ifndef NON_MATCHING if your code is logically equivalent but you cannot yet fully match it.

Troubleshooting

Not getting an "OK" on Ubuntu 22.04

Debian>=12 and Ubuntu>=22.04 uses binutils-mipsel-linux-gnu>=2.38 which, for some unknown reasons, it generates broken binaries. You need to downgrade to 2.34 or 2.35 with the following:

curl -L -o binutils-mipsel-linux-gnu_2.35.2-2cross2_amd64.deb http://ftp.de.debian.org/debian/pool/main/b/binutils-mipsen/binutils-mipsel-linux-gnu_2.35.2-2cross2_amd64.deb
dpkg -i binutils-mipsel-linux-gnu_2.35.2-2cross2_amd64.deb
rm binutils-mipsel-linux-gnu_2.35.2-2cross2_amd64.deb

Contributors

AvatarUsername
polybiusproxy
mkst
unclamped
sys128
AnOpenSauceDev
View official project
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Music / Rhythm
Status
alpha
Original platform
PlayStation
Technology
Decompilation and reconstruction in C/C++
Version
—
Updated
—

Target platforms 3

Windows
Linux
macOS
View on GitHub
Advertisement