DivaExtendRecomp
DivaExtendRecomp is a native Windows port of Hatsune Miku: Project DIVA Extend that allows playing the game with English and Mexican Spanish translations.
- Type: PC port
- Game: Hatsune Miku: Project DIVA Extend
- Runs on Windows
- By abdiCobos
- Source: https://github.com/abdiCobos/DivaExtendRecomp
README
DivaExtendRecomp
Hatsune Miku: Project DIVA extend, running natively on Windows.
A static recompilation of the PSP game. Bring your own copy.
English · Español
Static recompilation of Hatsune Miku: Project DIVA extend (PSP, NPJH50465 v1.01) into a native Windows program, playable in Japanese, English or Mexican Spanish. Android and Linux are planned.
Status: playable on Windows, in testing. Songs, menus, saves, DIVA Room, the shop, Edit mode and DLC work, at the original 30 FPS or an optional 60, even on an integrated GPU. The interface, the font and the pictures with text are translated into English and Mexican Spanish. The launcher takes your ISO, downloads pspdecrypt and the Zig compiler from their official sites, and builds the game on your machine. Progress is logged in
docs/progreso.md, in Spanish.
You need your own copy of the game
This repository contains no game files, no assets, no keys and no code generated from the game, and it will not accept any. You need a copy you own legally, dumped yourself. Everything derived from it is built locally into build/ and must never be shared.
The only supported dump is the Japanese PSN release NPJH50465 v1.01 (ISO SHA1 1549099B9C2254088B87853B8554AFA840949D9F). The launcher checks it before doing anything.
How to play
Requirements: Windows 10 or 11 (64-bit), a GPU with OpenGL 3.3 (an integrated one is enough), about 3 GB free, and internet the first time you prepare the game.
- Get the package (
DivaExtendRecomp-<version>.zip, about 3 MB) from Releases, or build it yourself (see below). Unzip it anywhere. - Open
DivaExtendRecomp.exe, click Choose ISO and pick your ISO. - Click Prepare Game. It runs once and takes about 5 minutes. It extracts the ISO, decrypts the executable with pspdecrypt, translates the game code to C, compiles it with Zig and builds the English and Spanish versions. Both tools are downloaded from their official sites and checked against a SHA256 hash.
- Click PLAY.
Keyboard: arrows = D-pad · Z = × · X = ○ · A = □ · S = △ · Q / W = L / R · Enter = START · Backspace = SELECT. Xbox-compatible controllers work out of the box. Hold Tab to skip logos and loading faster. F11 or Alt+Enter toggles fullscreen.
The launcher also has:
- Language: English, Español (México) or the original Japanese. The first time it picks your Windows language, and the launcher itself follows it. A translation made by others can be added too: drag its
.xdeltapatch or translated ISO onto the window. - DLC: add
.EDATpacks (folders or.zip), then import them in the game under Options → Import Additional Data. - Experimental 60 FPS, VSync, 1x–8x resolution, fullscreen and volume.
Saves are in game\data\ms\PSP\SAVEDATA (the Saves button opens it).
Translations
The game was only released in Japan. This port translates it on your machine from your own Japanese copy, so the translations work for everyone with the supported ISO:
- Translated: about 2,600 interface texts (menus, descriptions, modules, items, titles, Edit mode, options), the in-game font (adding á é í ó ú ñ ü ¿ ¡) and about 30 pictures with text, redrawn with M PLUS Rounded 1c.
- Kept as in the original: song titles and lyrics stay in Japanese. Difficulty names, judgments and ranks (EASY, COOL, PERFECT…) stay in English, as the Japanese game shows them.
- Files:
lang/. Each line isaddress = text, where the address is that of the Japanese sentence in the game's executable, so the repository holds none of the game's text. Corrections are welcome: seedocs/glosario.mdfor the terms and style.
Building from source
You need git and Python 3 on your PATH. The first build installs CMake, Ninja and Zig with pip into %LOCALAPPDATA%\DivaExtendRecomp\toolchain, so no Visual Studio is required.
git clone https://github.com/abdiCobos/DivaExtendRecomp.git
cd DivaExtendRecomp
powershell -ExecutionPolicy Bypass -File scripts\setup.ps1
.\Launcher.bat
setup.ps1 clones the diva-recomp fork of psprecomp at the tested commit, applies the patches in patches/, and builds the launcher and allegrexrecomp. Then pick your ISO in the launcher and click Prepare Game: it writes the game into game/jp, the generated C into build/generated and the game into build\game\diva_extend.exe.
After changing code:
scripts\build.ps1rebuilds the game.scripts\regen.ps1regenerates the C, needed after editing the hook list insrc/host/hooks.txt.scripts\package.ps1builds the package for other PCs intobuild\package\.
How it works
The game's MIPS (Allegrex) code is translated ahead of time into C with psprecomp. It is linked against a runtime that reimplements the PSP firmware (HLE) and its GPU, and wrapped in a small host built on SDL3. This follows the approach of ProjectDivaRecomp, the port of the first Project DIVA.
| Folder | Content | In git |
|---|---|---|
scripts/ | Project tools: CPK reader, PRX inspector, NID coverage, decryptor front-end | Yes |
docs/ | Reverse-engineering notes (no game data) | Yes |
src/ | Port host (window, sound, options), the launcher and the translation engine (src/lang/) | Yes |
lang/, fonts/ | Translations (address = text, no game text) and the free font for the pictures | Yes |
game/, build/, refs/, tools/ | Your dump, generated code, cloned references, downloaded tools | No |
Credits
- psprecomp and the
diva-recompfork (MIT) - ProjectDivaRecomp (MIT)
- pspdecrypt (GPL-3.0), used as a separate local tool
- ghidra-allegrex and psp-ghidra-scripts
- M PLUS Rounded 1c by The Rounded M+ Project Authors (SIL OFL 1.1,
fonts/OFL.txt) - xdelta3 (Apache-2.0), shipped in the package to install third-party translation patches
- The community Spanish translation 3.0 by Diva Fan Project, used only as a reference for where the game keeps its text. This project's translations are written from scratch.
This project is made with help from AI (Claude, by Anthropic), directed and tested by its author. It is not affiliated with or endorsed by SEGA or Crypton Future Media. If any rights holder has concerns, please open an issue.
License
MIT. It covers only this project's own code and documentation.