Get help on any and all audio formats, or chip in and help others!
Kein
advanced
Posts: 66 Joined: Fri Nov 06, 2009 12:57 pm
Been thanked: 8 times
Post
by Kein » Wed Apr 22, 2015 9:21 am
So, Trine 3 WEMs (can be unpacked with official archiver tool) feature different WEMs that cannot be processed with ww2ogg:
Code: Select all
ww2ogg.exe audio1_fbq-0000000187.wem -o 1.ogg --pcb packed_codebooks_aoTuV_603.bin
Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.22 by hcs
Input: audio1_fbq-0000000187.wem
Parse error: expected 0x42 fmt if vorb missing
http://i.imgur.com/l3EBqou.png
http://rghost.net/6QTtwJF8V
Any idea regarding what could be done here?
UPD: Okay, I can import it as a RAW data with Audacity but there are some issues:
http://i.imgur.com/Vh2pfCH.png
some kind of compression? The Sample rate and bit depth can be detected properly. May be I'm reading WAVE_EXTENSIBLE (FE FF) incorrectly (as opposed to classic wave with linear quantization 01 00)? Not that Audacity has such advanced options for reading raw files.
daemon1
MEGAVETERAN
Posts: 2647 Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times
Post
by daemon1 » Sun Apr 26, 2015 6:12 am
Your file is the simplest plain raw PCM data. No compression. Sounds perfectly. What is the problem?
spider91
advanced
Posts: 78 Joined: Mon Feb 14, 2011 8:09 am
Has thanked: 18 times
Been thanked: 45 times
Post
by spider91 » Fri Aug 21, 2015 10:35 pm
Since i stiil receiving pm's about this format here is a simple script for music files with codec id FFFE (for FFFF use ww2ogg)
Code: Select all
get SIZE asize
math SIZE -= 0x12
putVarChr MEMORY_FILE SIZE 0
log MEMORY_FILE 0 0
append
log MEMORY_FILE 0 0x26
math SIZE -= 0x26
log MEMORY_FILE 0x38 SIZE
append
get SIZE asize
math SIZE -= 0x1A
putVarChr MEMORY_FILE 0x04 SIZE long
putVarChr MEMORY_FILE 0x10 0x12 long
putVarChr MEMORY_FILE 0x14 0x01 short
putVarChr MEMORY_FILE 0x24 0x00 short
get SIZE asize MEMORY_FILE
get NAME basename
string NAME += ".wav"
log NAME 0x00 SIZE MEMORY_FILE