XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Dec 14, 2018 9:03 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Trine 3 new WEM format
PostPosted: Wed Apr 22, 2015 9:21 am 
Offline
beginner

Joined: Fri Nov 06, 2009 12:57 pm
Posts: 38
Has thanked: 0 time
Have thanks: 0 time

So, Trine 3 WEMs (can be unpacked with official archiver tool) feature different WEMs that cannot be processed with ww2ogg:

Code:
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.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Trine 3 new WEM format
PostPosted: Sun Apr 26, 2015 6:12 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
Your file is the simplest plain raw PCM data. No compression. Sounds perfectly. What is the problem?


Top
 Profile  
 
 Post subject: Re: Trine 3 new WEM format
PostPosted: Tue Apr 28, 2015 6:37 am 
Offline
advanced

Joined: Mon Feb 14, 2011 8:09 am
Posts: 78
Has thanked: 18 times
Have thanks: 43 times
You just need to change header a bit to get playable wav pcm file.

http://dropmefiles.com/LVL2g


Top
 Profile  
 
 Post subject: Re: Trine 3 new WEM format
PostPosted: Fri Aug 21, 2015 10:35 pm 
Offline
advanced

Joined: Mon Feb 14, 2011 8:09 am
Posts: 78
Has thanked: 18 times
Have thanks: 43 times
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:
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




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group