Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Tue May 21, 2013 6:15 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Quake 4 PC music replacement from Xbox 360
PostPosted: Thu Nov 11, 2010 8:20 pm 
Offline
is connecting to Doom3world.org

Joined: Thu Nov 11, 2010 8:10 pm
Posts: 3
Hi everyone!
I registered here just to open this topic. I'm no gamer but I collect video game music. Thus, I'm also interested in quality issues, e.g. frequency richness. Having compared Quake 4 PC to Quake 4 Xbox 360 I quickly found out that the Xbox 360 version has MUCH better sound and music quality. Maybe it's possible to write something like a "HQ sound and music Patch" for Quake 4.
For this you'll need the Xbox 360 version of Quake 4. Extract the contents to your hard disk. I wrote an extractor for the *.xpr archives that contain the main game contents. You'll need Quickbms for that: http://aluigi.altervista.org/papers.htm#quickbms. Save the following text file as *.bms, open it with QuickBMS.exe and follow the instructions. Just select any *.xpr archive you want and extract it anywhere you want. For the sounds and music, the XMA files need to be decoded, but I'll come to that later.
First of all, here's the extraction script:
Code:
IDSTRING XPR2
endian big
get INFOSIZE long
get DATASIZE long
get FILES long
set OFFCORR INFOSIZE
math OFFCORR += 0xc

for i = 1 <= FILES
   getDstring EXT 4
   get HEADER long
   get HEADERSIZE long
   get OFFSET long
   get SIZE long
   get NAMEPOS long
   math HEADER += 0xc
   math NAMEPOS += 0xc
   math OFFSET += OFFCORR
   savepos MYOFF
   goto NAMEPOS
   get NAME string
   string NAME += "."
   string NAME += EXT
   savepos NAMEPOS
   goto MYOFF
   log MEMORY_FILE 0 0
   append
   log MEMORY_FILE HEADER HEADERSIZE
   log MEMORY_FILE OFFSET SIZE
   get SIZE asize MEMORY_FILE
   log NAME 0 SIZE MEMORY_FILE
   append
next i
I'm going to post here soon when I've figured out how to change the XMA header variant to a standard XMA RIFF header. If you're interested in the whole purpose here, please post!

P.S.: PM me if you don't have a copy of Quake 4 for Xbox 360.


Top
 Profile E-mail  
 
 Post subject: Re: Quake 4 PC music replacement from Xbox 360
PostPosted: Sat Dec 04, 2010 6:42 pm 
Offline
is connecting to Doom3world.org

Joined: Thu Nov 11, 2010 8:10 pm
Posts: 3
Will take a look at the XMA files this weekend. =)


Top
 Profile E-mail  
 
 Post subject: Re: Quake 4 PC music replacement from Xbox 360
PostPosted: Fri Oct 26, 2012 7:04 pm 
Offline
The first 10 posts have been the best...

Joined: Tue Jan 13, 2009 5:10 pm
Posts: 21
How to convert XMA to WAV? I used many programas, but none of them works with Quake`s XMAs.


Top
 Profile  
 
 Post subject: Re: Quake 4 PC music replacement from Xbox 360
PostPosted: Sat Oct 27, 2012 3:31 am 
Offline
is connecting to Doom3world.org

Joined: Thu Nov 11, 2010 8:10 pm
Posts: 3
gnoyr13 wrote:
How to convert XMA to WAV? I used many programas, but none of them works with Quake`s XMAs.
Register at XeNTaX to get scripts and tools. You'll find me there under the same username.


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

All times are UTC [ DST ]


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