When Project Diva f hit the shelves, it was a big step for the series, being was the first one to ever be officially released outside of Japan— and that meant official English translation.
Before this game, of course, other entries in the series had unofficial fan
translations, but they were often incomplete or somewhat dodgy. Unfortunately,
f translation feels almost like a fan translation, simply because
it was missing one big thing: translated lyrics.
People didn't like that.
At least, it irked the heck out of both me and that dude.
Since Trinity hit, I decided to go to my local used game-store and buy another Vita— fully intending to pirate the shit out of some games, emulated and otherwise. I used to have a Vita, but eventually sold it, because it was useless to me: FW 1.6.0, homebrew verboten.
The first thing I did after installing Trinity was to get a
Project Diva f— I actually bought the game, on my old Vita, but long-since
lost my PSN info.
But it's a heavy little thing.
2.3GB~, for gods' sakes!
So I set out to compress the music a tad— y'know, unzip the
VPK file and
ffmpeg to reduce the quality of the songs (in “roms/sound/song/*.ogg”).
I ended up using the command
ffmpeg -i $FILE -acodec copy -b:a 10k -q -1 $FILE_NEW
on each file (replace “$FILE“ with the old file and “$FILE_NEW“ with the output, respectively), shrinking the game to about 2.03GB.
Not too shabby— 300MB's precious, man.
You can fit like 10 copies of Doom 2 in that much space!
In the process of this, I snooped around the textfiles, and ran across the one that actually contains all of the lyrics: “rom/pv_db.txt”. It's not a binary file, no weird format, nothing. Every line of Romanji was in there, completely unobfuscated. It's even got UNIX-style newlines.
What? It's that easy?!
… Apparently so!
So naturally, I spent a few hours replacing the Romanji line-by-line with their English counterparts— some from official translations, others from sketchy weebs' livejournal pages.
Anyway, it's done, now.
It looks something like this:
VPKincluding compressed audio.