ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Sat Aug 20, 2022 5:31 am

All times are UTC




Post new topic  Reply to topic  [ 59 posts ]  Go to page 1 2 3 Next
Author Message
 Post subject: Wargame *.ess
PostPosted: Tue May 26, 2015 8:03 am 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
Hi! Here's an audio format I've never seen before: http://*USE_ANOTHER_FILEHOSTING*/049b7ec ... ffa/ess.7z
Any ideas? Is this some kind of headerless XWMA? What are the *.sformat files for?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue May 26, 2015 2:24 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12982
It looks like a sequence of "chunks" or something similar.
The following script tries to dump them... I don't think it's useful but maybe you understand something from them:
Code:
endian big
get DUMMY long
get DUMMY long
get DUMMY long
get DUMMY long
get CHUNKS long
math CHUNKS / 0x200
for i = 0 < CHUNKS
    get OFFSET long
    putarray 0 i OFFSET
next i
savepos BASE_OFF
math OFFSET = 0
for i = 0 < CHUNKS
    getarray NEXT_OFF 0 i
    xmath SIZE "NEXT_OFF - OFFSET"
    math OFFSET + BASE_OFF
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFF
next i


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue May 26, 2015 4:11 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
Why do you think it may be XWMA?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue May 26, 2015 4:47 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
id-daemon2 wrote:
Why do you think it may be XWMA?

The table at the stream start somewhat reminded me of a similar structure I once saw in XWMA. I could be completely off though. ;)


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue May 26, 2015 4:48 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
aluigi wrote:
It looks like a sequence of "chunks" or something similar.
The following script tries to dump them... I don't think it's useful but maybe you understand something from them:

Hm, I can't make anything of the result... :\


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue May 26, 2015 5:14 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
AlphaTwentyThree wrote:
The table at the stream start somewhat reminded me of a similar structure I once saw in XWMA. I could be completely off though. ;)


Can you provide an example of such file? Because it is really strange for a sound to have a list of frames and a list of volumes in a separate file. You see, these frames are variable length, each has some data bytes plus some very small 16-bit numbers. Like 20, 5, -3,...

.sformat files seem to contain the same number of bytes as number of frames in .ess and they correspond to sound amplitude.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sun Jun 14, 2015 3:35 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
Well, I found an example of a WMA file stream that only has a wave header: http://*USE_ANOTHER_FILEHOSTING*/a2b6cc8 ... nds_21.wav
See what I mean?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sun Jun 14, 2015 4:22 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
Yes, some table. But numbers in this one are much bigger.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sun Jun 14, 2015 6:28 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
I suppose I can't really help with this problem as I'm no expert in audio formats.
Do you happen to know how to decode or play the RIFF wma? I stumble upon these from time to time and always have to file the game under "unrippable"...


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Mon Jun 15, 2015 8:43 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
I don't know.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Mon Jun 15, 2015 11:23 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
Luigi once mentioned FFMpeg but I honestly don't know which command line to use.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Tue Jun 16, 2015 4:14 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
ffmpeg cannot convert it. I don't think its wma.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Fri Jun 19, 2015 12:16 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 909
Found this: http://www.sno.phy.queensu.ca/~phil/exi ... /RIFF.html
Look under 0x61...


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Mon Jun 22, 2015 3:10 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
I don't think it will help us. What year is this game from?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Thu Apr 21, 2016 4:40 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
I've made some research on this. Interesting algorithm. Anyone still need to decode this format?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Fri Apr 22, 2016 10:29 pm 

Joined: Tue Feb 02, 2016 2:35 am
Posts: 1125
id-daemon wrote:
I've made some research on this. Interesting algorithm. Anyone still need to decode this format?

You can just go on and do it already! After all, it's been quite a while we've been waiting for new unknown formats to be discovered.

_________________
the number one killer is time
it destroys us all


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sat Apr 23, 2016 8:51 am 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
During last year I made decoders to some new codecs. Those were not only new formats based on known codecs, but different codecs.

MTA2 - new advanced type of adpcm with a big table
PS Vita - never seen before 4 predictors, and table of 128 elements in compare to standard 5 elements PSX adpcm with 2 predictors
mc3 - really old 3-bit adpcm, but sound alright anyway
codemasters BDL - precise float adpcm type with combined tables

Do you know of any other codecs that can't currently be decoded?


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sat Apr 23, 2016 4:38 pm 

Joined: Fri Aug 08, 2014 11:25 am
Posts: 143
If you'd like, would you be able to take a look at the newer HCA files that are being XOR'ed in sections of the header.

https://mega.nz/#!ItkjyDgb!vdkJR_Sr0vlB ... FZpCU7-Xl8


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sat Apr 23, 2016 5:54 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
But this is not a new codec. Just some obfuscation attempt with the old ones. Maybe I can look into this later, but as for now, I understand there is nothing really new to be researched. So I can focus on these .ess files.


Top
   
 Post subject: Re: Wargame *.ess
PostPosted: Sun Apr 24, 2016 5:23 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 1022
ESS file decoded for the very first time! :)

Its only one channel, and some glitches because of probably some errors in decoding, but they will be eliminated soon.

http://www82.zippyshare.com/v/Pk6fZ7QL/file.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 59 posts ]  Go to page 1 2 3 Next

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited