Extract sounds from memory?

Thoughts on life, the universe and everything else not covered in other categories.

Moderator: LW Moderator

Post Reply
User avatar
freakboy
Super Member
Posts: 955
Joined: Wed Jun 16, 2004 9:03 am

Extract sounds from memory?

Post by freakboy »

Does anyone know how to extract the sounds from computer memory/sound card played in real time? There are some games with encrypted sound files I cannot play.
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

yeah, it'd be nice for a way to dump current used memory to file and then run a warez sound ripper through or open it up in cooledit raw
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

1. DOSBox can "capture" played sound and dump it in the file.
2. There is also more general solutions, that can capture sound stream from soundcard to file. I seeked this two-three years ago, so I forget everething already. "Total Recorder" come in mind...
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

1. This isn't DOS
2. Analog full-duplex recording doesn't extract sounds alone
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

1. Oh.
2. I don't understand. What recorder you are use, and what it is extracts then? %) I mean programs like this.
3. You already tested various unpacker/rippers, yes? Maybe you'll name the game, and I'll try to found ripper for it? :)
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

Try re-reading the topic again. An unpacker would be useless as it would be an encrypted file. It is not encrypted when loaded in memory.

i.e. nothing can extract mdk2's zips
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

"Nothing" is too general reply. :) Game Extractor says, it can extract it. MultiEx says it too. But I will test it myself at home. :)
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

And they don't.
Image
MasteromaN
Super Member
Posts: 1225
Joined: Thu Feb 24, 2005 3:52 pm
Has thanked: 1 time
Been thanked: 2 times

Post by MasteromaN »

So why the :

Code: Select all

Game  	Archive  	Edit
MDK 2  	ZIP  	Yes
?
Extract them by yourself, and your amazing knowledge in hexadecimal, with a hex editor then :D
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

1. Narfous, you are right. Both mentioned programs cannot extract from MDK2. :/
2. But you'll never guess, what can extract this files. PkZip! :D Not good old version, but newest 9 (and 8 ) versions. I tested it. :)

But it leaves "non-standard" wav-file in some Interplay format. Oops. :(

Na-ah. :) All is Ok. This file is in the native Interplay ACM actually with strange header (BTW, newer Infinity games all uses this header for ACM - description of both formats can be found on Wiki). Game Audio Player see ACM in this wavs, and, furthermore, it can play it and extract into "raw" ACM or "normal" WAV! :) And, I think, exist many ACM players and converters. At least, short googling gives me XMPlay, that can play ACM with right plugins, and ACM2WAV utility, that can convert it! :)

Another game, please? :))
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

Line Wars ][
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

Oh. It is hard. :(

I found only SFX - it is "raw" sound in gravis3d.lw2. Tracker sequence is hard to catch. :\

But...

1. It is DOS-game, so DOSBox can help you here. :) Capturing sound is worked for me. :)
2. I doubt, that this sound "exist" anywhere as common sound format. It is midi-like, so it is not in any "rippable" format - you need to locate code manually, then play by appropriate player. But it could be done in file itself, I think!

Another? :) (I want to help - but of course, I cannot help with everything. :)
User avatar
Narfous
Super Member
Posts: 790
Joined: Fri Jul 01, 2005 8:04 pm

Post by Narfous »

Smiling Spectre wrote:2. I doubt, that this sound "exist" anywhere as common sound format.:)
it's called a protracker module (.MOD

On top of that, the data is compressed
User avatar
Smiling Spectre
Super Member
Posts: 390
Joined: Thu May 31, 2007 4:44 am
Location: Russia, Cherkessk
Been thanked: 65 times
Contact:

Post by Smiling Spectre »

I don't see your point yet. What is you want to demonstrate?

1. There is programs, where sound is carefully hidden? Yes, I know it.
2. There is program, in that sound can be ripped, if you have "memory snapshot"? I agree with that too. But I doubt, that all this programs will be in the same group as p.1. It would be more secure to unpack on the fly, than have whole module in memory. If you careful enough to encrypt sound in your own packer, why to have full unpack procedure somewhere in program? But I can wrong, of course.
3. Line Wars have "common" sound, but it is compressed? Ok, then why are you know it? Maybe you have source, that can unpack it? Then why you give this task to me? :)

Anyway, I cannot found any "memory snapshot" tools. :( Only one remote helpful tool is Procdump 32 v.1.6, but it is for unpacking 32-bit processes, not for memory dumps.
Post Reply