READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Search found 263 matches

by hcs
Tue Apr 04, 2017 5:39 am
Forum: Audio file formats
Topic: WWise RIFF Vorbis format?
Replies: 78
Views: 23587

Re: WWise RIFF Vorbis format?

A few of the files are not IMA (2746867.wem and 554404705.wem), but they are just PCM, any player should be able to play them if you just rename the file .wav.
by hcs
Sat Feb 25, 2017 2:43 pm
Forum: Old posts
Topic: Cars THQ For Pc
Replies: 10
Views: 7578

Re: Cars THQ For Pc

It's IMA/DVI ADPCM, nibble interleave. Here's a quick (but slow) Python 2.x decoder. Run as python cars.py input.wav output.wav #!/usr/bin/python from io import open from sys import argv from struct import unpack, pack from math import floor IMA_Scale = \ [ 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 2...
by hcs
Fri Oct 14, 2016 8:37 pm
Forum: Audio file formats
Topic: ww2ogg spits out wrong audio format
Replies: 2
Views: 689

Re: ww2ogg spits out wrong audio format

The solution is to force unmodified packets: ww2ogg 660566263.wav --no-mod-packets --pcb packed_codebooks_aoTuV_603.bin This is mentioned in the Troubleshooting section of the readme, though this switch was only introduced in ww2ogg 0.24. I discovered that the logic I was using to detect mod packets...
by hcs
Sat Sep 24, 2016 6:32 am
Forum: Audio file formats
Topic: Change File Header
Replies: 5
Views: 719

Re: Change File Header

Only do this if the audio sounds like it is running too slow, otherwise just changing the sample rate is going to speed it up, but it won't fix your quality problem.
by hcs
Sat Sep 17, 2016 10:03 pm
Forum: Audio file formats
Topic: need a converter
Replies: 2
Views: 696

Re: need a converter

He wants to go the other way, vgmstream only outputs PCM. I believe the original SDK encoder for these tracks is called dtkmake or trkmake, maybe you can find that somewhere online. edit: I won't link directly to it here, but it looks like emuparadise has it, in GameCube.7z it's "NINTENDO GameCube S...
by hcs
Sat Sep 17, 2016 9:53 pm
Forum: Audio file formats
Topic: Audiokinetic Wwise .PCK Audio Archives
Replies: 10
Views: 6761

Re: Audiokinetic Wwise .PCK Audio Archives

There are a few decoders for Wwise's codec 2 files, wwise_ima_adpcm (inside sound_converter_v1.15.zip , which can also encode) and my own ima_rejigger5 . I haven't tested this with your example files, but I expect it to work. It turns out that these can't be just rewritten as codec 11 (see my explan...
by hcs
Wed Aug 24, 2016 3:17 am
Forum: Audio file formats
Topic: Complete Newb...No programming skills: .wem files
Replies: 6
Views: 1256

Re: Complete Newb...No programming skills: .wem files

Bytes 0x14 and 0x15 (technically 4 bytes after the "fmt " chunk identifier) in a RIFF WAVE file are the "format tag", which says what encoding or format the audio data uses. This is a 16 bit little-endian value; 16 bits means it takes two bytes (8 bits in a byte), little endian means the least signi...
by hcs
Tue Aug 23, 2016 9:05 pm
Forum: Audio file formats
Topic: Complete Newb...No programming skills: .wem files
Replies: 6
Views: 1256

Re: Complete Newb...No programming skills: .wem files

Ah, ok, it looks like that is the PCM format spider91 is describing in his post. The code he gave is a QuickBMS script, you can get QuickBMS here: http://aluigi.altervista.org/quickbms.htm Save spider91's code to wem.bms, put that in a directory with quickbms.exe and the .wems, and try running this ...
by hcs
Tue Aug 23, 2016 6:25 pm
Forum: Audio file formats
Topic: Complete Newb...No programming skills: .wem files
Replies: 6
Views: 1256

Re: Complete Newb...No programming skills: .wem files

Everything up to #4 is good, sounds like it doesn't use Vorbis (given the error from ww2ogg). You should delete the .wems at this point, though, in case the steps you took in #5 messed up the files somehow; in particular ima_rejigger2 modifies the original input file. So try recreating the .wem file...
by hcs
Sat Aug 20, 2016 6:53 pm
Forum: Audio file formats
Topic: Code/library for decoding Microsoft Xbox 360 XMA audio?
Replies: 1
Views: 1048

Re: Code/library for decoding Microsoft Xbox 360 XMA audio?

ffmpeg's libavcodec has WMA Pro support that does XMA and XMA2 (RIFF codec 0x165 and 0x166): https://github.com/FFmpeg/FFmpeg/blob/54ccaaeb2b93e19d2a19267db1781bc9d5d36f27/libavcodec/wmaprodec.c#L294 XMA is essentially just WMA Pro with decode_flags = 0x10d6, though the blocking is different (especi...
by hcs
Wed Aug 10, 2016 9:16 pm
Forum: Audio file formats
Topic: Bayonetta 2 Extracting stream files from DAT files
Replies: 4
Views: 1221

Re: Bayonetta 2 Extracting stream files from DAT files

I think you should just need to run the RIFF/RIFX scanner BMS on the .dat, or just directly on the .cpk.
by hcs
Wed Aug 10, 2016 9:00 pm
Forum: Audio file formats
Topic: Bayonetta 2 Extracting stream files from DAT files
Replies: 4
Views: 1221

Re: Bayonetta 2 Extracting stream files from DAT files

I'm not really following you... if you extract the RIFX at 0x100 in voe027_us.dat, you can decode that with ima_rejigger5 for a noisy but seemingly complete voice sample. Actually there are a few in there, also at 0x4300 and 0x5580. Attached is the decoded wavs.
by hcs
Mon Aug 08, 2016 12:06 pm
Forum: Audio file formats
Topic: Need help with Coeffs for Wii DSP
Replies: 2
Views: 550

Re: Need help with Coeffs for Wii DSP

Coefs definitely aren't in that file.
by hcs
Sun Aug 07, 2016 1:29 pm
Forum: Audio file formats
Topic: Tomb Raider sound effects
Replies: 3
Views: 621

Re: Tomb Raider sound effects

Here's a Ruby script that seems to work for fn in ARGV do File.open(fn, mode='rb') do |f| print fn, ': ' magic, data_size, six, zero1, id, neg1, sample_rate, zero2, zero3 = f.read(0x24).unpack('a4 L<4 l< L<3') raise 'Missing SECT' unless magic == 'SECT' raise 'unknown values differ' unless six == 6 ...
by hcs
Sun Aug 07, 2016 6:29 am
Forum: Audio file formats
Topic: Tomb Raider sound effects
Replies: 3
Views: 621

Re: Tomb Raider sound effects

It looks like Microsoft IMA (RIFF WAVE codec 0x11) starting at 0x24, block size 0x24, I'll try to write a quick converter but that might be enough to figure it out if I don't get to it.