This (for now) is another Discworld related thread,
After scanning through the discworld folder that's installed on my C:\ drive, there's an SMP file (which i gather from research is an audio file) which my copy of Adobe Audition recognised, but it doesn't open it (why i don't know, but there you go, computers eh?)
I have read on the internet and seen on Ebay that there's a guy who uses the trueblueaussie pseudonym that sells a program that supposedly unlocks and exports the sounds from Discworld 1
Is there any other programs that exist that do this? or is it all wishful thinking?
Thanks in advance.
Is there a 3rd party program that can open certain files?
Moderator: ScummVM Team
-
- Posts: 4
- Joined: Tue Oct 13, 2009 3:45 pm
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
There's a "compress_tinsel" tool for ScummVM. I don't know the status of it (I couldn't find any mention of it in the README), but assuming that it works then someone could take the source code for that and modify it so that it doesn't remove the individual sounds once it's done with them.
I don't know if there's any currently existing, user-friendly way to do it, though.
I don't know if there's any currently existing, user-friendly way to do it, though.
-
- Posts: 4
- Joined: Tue Oct 13, 2009 3:45 pm
I'm not sure why they're charging for that program, as it seems to be a pretty straight-forward utility.greenbarron wrote:So that prgram on Ebay isn't much use then?
if it helps it's called Rincewind's Sound Wizzard i maybe should have mentioned that in the original post. Sorry.
Erik's right though, just take a look at compress_tinsel.cpp, and look at the "convertTinselADPCMSample" function. Of particular interest should be:
Code: Select all
// Append compressed data to output_smp
curFileHandle = fopen(TEMP_ENC, "rb");
fseek(curFileHandle, 0, SEEK_END);
copyLeft = ftell(curFileHandle);
fseek(curFileHandle, 0, SEEK_SET);
// Write size of compressed data
writeUint32LE(output_smp, copyLeft);
// Write actual data
while (copyLeft > 0) {
doneRead = fread(buffer, 1, copyLeft > sizeof(buffer) ? sizeof(buffer) : copyLeft, curFileHandle);
if (doneRead <= 0)
break;
copyLeft -= (int)doneRead;
fwrite(buffer, 1, doneRead, output_smp);
}
fclose(curFileHandle);
-
- Posts: 4
- Joined: Tue Oct 13, 2009 3:45 pm
I'm afraid that there's a n00b alert now.....
I'm a wee but lost with you both now, where for starts is he compress_tinsel.cpp tool? i've googled it but it's been fruitless.
Thanks in advance
I'm a wee but lost with you both now, where for starts is he compress_tinsel.cpp tool? i've googled it but it's been fruitless.
So.... there would technically be another program that did this? if so what's it called?maximus wrote:
I'm not sure why they're charging for that program, as it seems to be a pretty straight-forward utility.
Thanks in advance
Go to the ScummVM download page and scroll down to the "1.0.0rc1 Tools" section. "compress_tinsel" should be included in that download.greenbarron wrote:I'm afraid that there's a n00b alert now.....
I'm a wee but lost with you both now, where for starts is he compress_tinsel.cpp tool? i've googled it but it's been fruitless.
Sorry, wasn't trying to be a dickJonatan wrote:I think you guys are overestimating the original posters knowledge about programming just a wee bit guys
It doesn't seem like he knows what the word compile even means(no offense).
I don't have access to a windows system atm, and am assuming a linux binary wouldn't be of any use If I have a second at work I'll try to crank out a windows exe to do the proposed extraction (though I've got a feeling someone will beat me to this....)
-
- Posts: 4
- Joined: Tue Oct 13, 2009 3:45 pm