Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Harry Potter and the Order of Phoenix

Get help on any and all audio formats, or chip in and help others!
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

Dandapani wrote:Then I converted them from WAV to MP3. The segments dont seem complete, very very short:
I found a tool wavmerge to pull all the little WAV files together into one big WAV file. It now plays fine so far. I'll listen to it more. I can make an MP3 out of it if anyone wants it.

ETA: There are some weird interludes as various segments replay... Would take some editing to eliminate the dupes. There is problem some ordering that needed to be taking into account. :(
OpenSpace
n00b
Posts: 18
Joined: Mon Jun 09, 2008 6:31 pm

Re: Harry Potter and the Order of Phoenix

Post by OpenSpace »

awww if you could done same proggie for extraction of SCH1 for win32 it would save some big ass time :P

i wasted bout hour and half for first 100 segments, and yes you cant just merge them
coz mus files (atleast those in harry potter games) are always half cut and mixed up...

but if you already extracted all segments and converted to WAV i would apreciate if you
could upload them (separating another 380 by hand would be hell) :P :D
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

OpenSpace wrote:awww if you could done same proggie for extraction of SCH1 for win32 it would save some big ass time :P

i wasted bout hour and half for first 100 segments, and yes you cant just merge them
coz mus files (atleast those in harry potter games) are always half cut and mixed up...

but if you already extracted all segments and converted to WAV i would apreciate if you
could upload them (separating another 380 by hand would be hell) :P :D

Uh, the wavs are +963MB large. Where can I store them?

Zipped up, they tip the scale at 799 MB.
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

Dandapani wrote:
OpenSpace wrote:awww if you could done same proggie for extraction of SCH1 for win32 it would save some big ass time :P

i wasted bout hour and half for first 100 segments, and yes you cant just merge them
coz mus files (atleast those in harry potter games) are always half cut and mixed up...

but if you already extracted all segments and converted to WAV i would apreciate if you
could upload them (separating another 380 by hand would be hell) :P :D

Uh, the wavs are +963MB large. Where can I store them?

Zipped up, they tip the scale at 799 MB.
I found a spot. Uploading now. FYI: http://geekoutofthebox.com/2008/09/free ... hqcom.html


ETA: here it is: http://www.drivehq.com/file/df.aspx/pub ... der/HP.zip
OpenSpace
n00b
Posts: 18
Joined: Mon Jun 09, 2008 6:31 pm

Re: Harry Potter and the Order of Phoenix

Post by OpenSpace »

RETURN_STATUSDESCR=The file owner's account has reached maximum download bytes for this month!
:(
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

OpenSpace wrote:
RETURN_STATUSDESCR=The file owner's account has reached maximum download bytes for this month!
:(
Sorry. Wait until next month. :lol:
OpenSpace
n00b
Posts: 18
Joined: Mon Jun 09, 2008 6:31 pm

Re: Harry Potter and the Order of Phoenix

Post by OpenSpace »

out of curiosity

you said you made a script/tool that extracts each sch1 (mus) segment out of that main one.
if that is true, then non converted mus files should be (as whole) again the same size as main mus file... (~140 mb)

if it is so, would it be problem for you to upload those mus files on megaupload or simmiliar ?
since we already got cmd line to wav conversion here.

:?:
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

OpenSpace wrote:out of curiosity

you said you made a script/tool that extracts each sch1 (mus) segment out of that main one.
if that is true, then non converted mus files should be (as whole) again the same size as main mus file... (~140 mb)

if it is so, would it be problem for you to upload those mus files on megaupload or simmiliar ?
since we already got cmd line to wav conversion here.

:?:
I'll post the tool. C++. Not rocket science. It compiles and runs under cygwin and linux.

==== cut here ====
//
// Extract AFX sound segments from a .MUS file
//
// Found in: Harry Potter and the Order of the Phoenix/audio/music
//
// hog_music_stream.mus filedmp
//
/*
0000 3dfcc42c 00000000 00000000 00000000 *=..,............*
0010 00000000 00000000 00000000 00000000 *................*
....
0100 5343486c 28000000 47535452 01000001 *SCHl(...GSTR....*
0110 060165fd 80010385 03018fda 820102a0 *..e.............*
0120 01178402 7d00ff00 5343436c 0c000000 *....}...SCCl....*
0130 00000010 5343446c 90120000 000016af *....SCDl........*
0140 00000000 174bfe94 00e65324 4d840f33 *.....K....S$M..3*
0150 e8051887 b6006030 82b26998 07492725 *......`0..i..I'%*
*/
//

#include <iostream>
#include <fstream>
#include <string>
#include <string.h>

using namespace std;

bool
match(string pattern)
{
if (pattern == "SCHl")
return true;
/*
if (pattern == "SCCl")
return true;
if (pattern == "SCDl")
return true;
if (pattern == "SCEl")
return true;
if (pattern == "SCHl")
return true;
if (pattern == "SCLl")
return true;
*/
return false;
}


int
main(int argc, char* argv[])
{
if (argc != 2)
{
cout << "Usage: prog.exe filename" << endl;
return 1;
}
ifstream input(argv[1], ios_base::binary);
ofstream output;

char buf[5];
buf[sizeof(buf)-1] = 0;

int count = 0;
bool matching = false;

while (input)
{
input.read(&buf[0], sizeof(buf)-1);

if (match(buf))
{
if (matching)
output.close();

count++;
char outfile[32];
sprintf(outfile, "ASF%05u.ASF", count);

cout << "Opening " << outfile << " for writing!" << endl;
output.open(outfile, ios_base::binary);

matching = true;
}

if (matching)
{
output.write(&buf[0], sizeof(buf)-1);
}
}

return 0;
}
OpenSpace
n00b
Posts: 18
Joined: Mon Jun 09, 2008 6:31 pm

Re: Harry Potter and the Order of Phoenix

Post by OpenSpace »

to me (a non programmer) it is rocket sience
but i managed to compile it in devc++ for win32
altho i had to replace ASF with MUS extension in your copile code to work (ASF files got corrupted for some strange reason)
and used OrangeC cmd line converter for SX :D

works like a charm !!!

i love you both :D
just made my day so happier
Dandapani
advanced
Posts: 55
Joined: Mon Jul 02, 2007 5:11 pm

Re: Harry Potter and the Order of Phoenix

Post by Dandapani »

OpenSpace wrote:to me (a non programmer) it is rocket sience
but i managed to compile it in devc++ for win32
altho i had to replace ASF with MUS extension in your copile code to work (ASF files got corrupted for some strange reason)
and used OrangeC cmd line converter for SX :D

works like a charm !!!

i love you both :D
just made my day so happier
8)
OpenSpace
n00b
Posts: 18
Joined: Mon Jun 09, 2008 6:31 pm

Re: Harry Potter and the Order of Phoenix

Post by OpenSpace »

The contents of this post was deleted because of possible forum rules violation.
tucohp
ultra-n00b
Posts: 1
Joined: Sat Feb 13, 2010 1:14 am

Re: Harry Potter and the Order of Phoenix

Post by tucohp »

The contents of this post was deleted because of possible forum rules violation.
Post Reply