Hyperdimension Neptunia Re;Birth1

Hyperdimension Neptunia Re;Birth1

97 ratings
Ripping game audio
By Mairo 🐻🎧
Want to rip audio from game with high quality? Look no further!
Images for noob friendliness. Also works with re;birth 2!
Some time ago I tried to rip audio from game called Unholy Heights. Game stored audio in .xwb files which seemed to have pretty good unpackers available. Sadly game had audio in some weird format which I couldn't open at all.

However it seems like same trick does work with this title and every audio is listenable. I want to thank AstralWanderer who made this post at GOG forums[www.gog.com].

This is my very first quide and some stuff are pretty familiar to me so please do give feedback if something is wrong or not understandable.

Of course anyone is free to simply upload these somewhere on the internet with proper tags, but I won't be the one to do it. I did this mostly for the sake of some form of instructions.
Getting everything we need
First of all, make sure you have downloaded the game. Those are the files we are trying to extract after all.

Download Luigi Auriemmas XWB/ZWB files unpacker (mentioned as unxwb from this point forward): http://aluigi.altervista.org/papers.htm#xbox

If you'd like to preview audio files before conversion, easiest way to do this is with VLC media player: http://www.videolan.org/vlc/
Some bigger codec packs contain needed codec as well.

FFmpeg for conversion: https://www.ffmpeg.org/
Ripping audio files
Unzip unxwb somewhere where it's easily accessible, for example root of HDD or desktop.

Navigate to games installation direction, located in <Steam>\steamapps\common\Neptunia Rebirth1
We need two files from data folder: SOUND.xsb and SOUND.xwb, .xsb contains name data for files and .xwb contains audio itself.

Copy those two files to unxwb folder.

Now to fun part. Open command line to unxwb folder. Easiest way is to Shift+right click and selecting "open command line here" but you can also alternatively go old school opening cmd.exe and typing "cd C:\path\to\unxwb"

Now we need offset data for filenames, this can be easily determined with hexeditor.

So command to run in command line is following:
unxwb.exe -b SOUND.xsb 645314 SOUND.xwb

This takes a while and shows following when finished:

And you should have folder full of WAV files in ADPCM format:
Converting ripped audio
Right now it's really hard to listen audio files and many players simply refuse to play them or play them pitched. You can review those with VLC as there are 15245 files it would be wise to check what files you want to convert more convinient format.

Now unzip FFmpeg to unxwb folder and open up and open ff-prompt.bat.

For example if you'd like 00000000.wav to 192kbps MP3 file you'd give following command:
ffmpeg -i ..\00000000.wav -b:a 192K ..\00000000.mp3
-i tells which file to use as input, ..\ tells to use parent folder where all .wav files are, -b:a tells what bitrate to use and lastly what file and format file will be written. To know more how to use FFmpeg refer to their website[www.ffmpeg.org] or type ffmpeg -h

After giving that command you should now have regular high quality audio file at your disposal. GZ! :fhappy:

Want to convert all everything? Open up your preferred text editor, paste the following to it, save as whatever.bat to same folder as everything else. Double clicking saved files should start to convert every .wav file as 192kbps mp3 file under mp3 folder and prompt you to press any button when all's done.
mkdir mp3 for %%f in ("*.wav") do bin\ffmpeg -i "%%f" -b:a 192k "mp3\%%~nf.mp3" pause
Thanks gueldore for commenting.
Re;Birth2 Sisters Generation
This should work exactly the same with second game. Only difference is offset value for names:
unxwb.exe -b SOUND.xsb 849174 SOUND.xwb
Re;Birth3 V Generation
Seems to also work with third game (thanks for commenting) and again, only difference is offset.
unxwb.exe -b SOUND.xsb 1168830 SOUND.xwb
< >
Derpytastic Jul 8, 2017 @ 10:53am 
The sounds are just refusing to play on VLC player. They are just cycling through like corrupted audio files.
Derpytastic Jul 8, 2017 @ 10:51am 
Just how do I do this for the actual sounds? I have been going at it and all of the sounds are "corrupted" I have been desperately searching for Uzume's megaphone sound when you attack with her megaphone in Megadimension Neptunia VII, that sound. I really want this sound in particular because I would like to make it my ringtone on my phone. Can someone please help me through this?
StealthyToast Jul 2, 2017 @ 1:46pm 
Used this to get the Main theme on Two Worlds, as most youtube uploads are ass, cheers a lot bud!
Hero Feb 10, 2017 @ 7:54pm 
I was able to extract Japanese voice files for Neptunia VII in JP_CHARA, specifically looking for Nitroplus and God Eater's in-battle voice files.

I have some of them but I think I'm still missing the specific ones I'm looking for, It's hard to tell whose voice is whos. If only they had the character's names in the files, that would be much easier to find rather than listening to every single .WAV file.

Thanks for this guide.
Sonogami ⋆うずめ箱崎 Jul 13, 2016 @ 11:07pm 
@Bard/@ Lord Francis of Filth

You can also listen to each of all Megadimension Neptunia VII Zones and Battle music tracks here on this Playlist: https://www.youtube.com/playlist?list=PLqyzqHbjpDCwospM0vVbR2VUEWaXWhyJd

Though for full sound quality you can definality go for Audio ripping aswell.

I do notice a sound difference between both MP3 quality and Ripped Audio quality.

Ripped Audio quality sure sounds a lot better + with Sound Blaster Cinema.

Bard Jul 13, 2016 @ 4:06pm 
For BGM it's "unxwb.exe -b BGM.xsb 4018 BGM.xwb"
VINDICATION Jul 13, 2016 @ 9:19am 
Any chance you know if it's possible to rip the audio from Nep VII in the same way as this guide?

I would try going alone but I have NO CLUE how to use this hexeditor to find the right value.
♡Precious Enigma♡ May 9, 2016 @ 7:21am 
Idk why you said "Games aren't music or videos, they are much more complicated programs which are almost all done in bit differend way.", but I was able to extract the files I wanted. Good tut, +rate~
Mairo 🐻🎧  [author] May 9, 2016 @ 5:31am 
Games aren't music or videos, they are much more complicated programs which are almost all done in bit differend way. So that's why this is basically step-by-step for neptunia main games and somewhat direction to games using xsb and xwb files to store their audio.

But usually things require much more googling and sometimes are basically near impossible to do. Searching for game specific instructions is start, then engine specific instructions and lastly filetype specific should give you good start. I'm saying this because I have now gotten several requests to help with games I do not own, with engines I do not have a clue how to extract files from.

Dead Island games are done with Techlands own Chrome engine, seems like there's no xsb file for titles, so simply exclude that from tuto and try it like that. According to google gives wav files with bad header, which ffmpeg should be able to work with.
♡Precious Enigma♡ Mar 12, 2016 @ 4:55pm 
Thanks for replies :) But I'm trying to rip voice files from Dead Island, and Dead Island Riptide. I'd love to just copy and paste, but I need very clear instructions. Gonna go back to trying to do this soon, then if I'm stuck I'll ask for help again. I really appreciate you 2 taking the time to help me :)