***************************
ViperTemporaryAudioFix! 1.1
***************************


Changelog
*********
1.1
 - Changed 'auto' option for '-a'
 - Fixed a bug, if FST was bigger than 24kb you had an 'Invalid GCM file' error

The story
*********
Yesterday I spoke with Sade/MentalCube about the streaming audio issue on the 
cobra bios, as it's the only problem I have with my viper on a few games. 
I was troubled that the cobra had this issue, and as gcsim has the same problem
I was thinking the cobra was some kind of software loader... Sade had a good
laugh and then told me about a way to almost fix the audio problem by just 
patching the streaming audio files in the image! I tried the trick and it work 
just FINE! There is a small amount of distortion that you notice in some 
tracks, but trust me, it's 1000 times better than noise ;-). The MentalCube 
guys told me I can release this tool as long as I mention the following:
 
 - Maybe a new cobra version will fix audio streaming issues without any need
   to patch the image, and then "fixed" images will just produce noise. So
   never delete your "originals" ;-)
 - If this is not the case, then MentalCube will release a patcher that works
   without any distortion at all sometime in the future.
   
So be warned! In the worst case you wasted $1 on an extra DVD ;-) This is why
I added the "Temporary" in the program name!

Usage
*****
ViperTemporaryAudioFix is a command line program. Use it on a command prompt.
If you don't know how to use a command prompt, then just drag the ISO file you
want to patch over the program's icon, and it should work aswell (MAKE SURE 
YOU HAVE A BACKUP OF YOUR ISO FILE AS IT WILL BE PATCHED!)

Usage: ViperTemporaryAudioFix.exe <gcm filename> [SUBSTRING ]
   or: ViperTemporaryAudioFix.exe <gcm filename> -a

- By default the program assumes stream are in .PCM or .ADP files.
- If a SUBSTRING is specified, a stream will be detected if its filename
  contain the substring
- If '-a' is specified, the program will try to detect streams regardless of
  file extensions

NOTE: THE GCM FILE IS MODIFIED BY THIS PROGRAM, SO MAKE SURE YOU HAVE A BACKUP
OF THE ORIGINAL FILE FIRST!

Example: ViperTemporaryAudioFix waverace.gcm

         ViperTemporaryAudioFix test.gcm stream
                    (will assume stream files contain 'stream' in their name)

         ViperTemporaryAudioFix waverace.gcm -a
                    (will treat 32kb aligned files as stream files)

When should I use this program?
*******************************
Use this program only if you have noise in a game instead of music. 

It would be really cool to have a sticky forum post somewhere with a list
of games with streaming issues, and if yes or no using this program helped with
the specified game (and program arguments for each game). Personally I only
tested it on Waveracer and Future Tactics, and now they just 100% with music
and all ! ;-)

Thanks again to the MentalCube guys for the info and to the Viper Team for 
making this possible!

Feel free to create a frontend for this program, and include it in your
distribution, as long as you credit me!

l8r...
-- 0rbital --