Script to convert audio file to wav or mp3 [Fatal Frame II Crimson Butterly (PS2)]

Codecs, formats, encoding/decoding of game audio, video and music
Mirakichi
Posts: 25
Joined: Wed Jul 26, 2017 2:44 pm

Script to convert audio file to wav or mp3 [Fatal Frame II Crimson Butterly (PS2)]

Post by Mirakichi »

Hi everyone, I would like to know if this file https://drive.google.com/file/d/19Pqng8 ... p=drivesdk is really an audio file, I believe that yes, and if is a possible a bms script to convert it to mp3 or wav format?
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Script to convert audio file to wav or mp3

Post by brendan19 »

I don't have a BMS script but you can use two other tools to achieve the result you want.


I used these settings to get it to playback correctly using vgmstream thanks to VGMToolbox by adding a GENH header to the DHX audio file.

Here are the settings you need to set in VGM Toolbox:

Code: Select all

Input: PlayStation 4-bit ADPCM
Header Skip: 0x800
Interleave / Block Size: 0x800
Channels: 2
Frequency: 44100
No Loops


Get VGMToolbox to create the GENH file/s from the DHX files.

Then use vgmstream to playback/convert them into PCM WAV.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Script to convert audio file to wav or mp3

Post by Mygoshi »

You also need to specify the game when you open a thread.
Mirakichi
Posts: 25
Joined: Wed Jul 26, 2017 2:44 pm

Re: Script to convert audio file to wav or mp3

Post by Mirakichi »

The game is Fatal Frame II Crimson Butterly (PS2)