AlphaTwentyThree@Posted: Thu Nov 11, 2010 8:20 pm :
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.



AlphaTwentyThree@Posted: Sat Dec 04, 2010 6:42 pm :
Will take a look at the XMA files this weekend. =)



AlphaTwentyThree@Posted: Thu Nov 11, 2010 8:20 pm :
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.



AlphaTwentyThree@Posted: Sat Dec 04, 2010 6:42 pm :
Will take a look at the XMA files this weekend. =)



AlphaTwentyThree@Posted: Thu Nov 11, 2010 8:20 pm :
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.



AlphaTwentyThree@Posted: Sat Dec 04, 2010 6:42 pm :
Will take a look at the XMA files this weekend. =)