home *** CD-ROM | disk | FTP | other *** search
- Track Hack version 2.12 by Chris Coe
- ====================================
-
- There are track rippers and there are track rippers. And then there's Track
- Hack. Here are some of the things Track Hack can do:
-
- * Extract Coconizer, STModule, ProTracker, STracker, TeqMusic and Symphony
- files concealed in code.
- * Scan one file or a whole game / demo.
- * When scanning whole directories, check for real music files (those that
- are not concealed) in every type above.
- * Decompress programs that have been compressed with LZW (such as the
- RiscDream megademo, Nirvana, BlackZone etc. etc.).
-
- Using Track Hack is simplicity itself. Double-click on the !TrackHack icon
- and the application will install itself on the icon bar. The only button that
- works is MENU (the middle button), and this brings up a menu consisting of
- the usual Info/Quit options, plus a tickable option, Decompress. More about
- this later. For now, find a game or demo etc. that you want to rip the music
- out of and drag it to the Track Hack icon on the icon bar. A progress report
- window will open and will give you a running commentary as Track Hack scans
- through every file for every music format it recognizes. If a track is found,
- the scan will pause and a save box will pop up for you to drag to a filer
- window. Click on 'Cancel' if you do not wish to save that particular track,
- and the scan will continue. Occasionally, Track Hack will pick up a tune that
- isn't really a tune at all, and for this reason the track name is displayed
- in the progress report window. If it is a load of gibberish then you can be
- pretty sure it isn't a tune, and you would be strongly recommended to click
- on the 'Cancel' icon of the save box. Some applications have the music in a
- separate file - you can normally just copy these straight out of the
- application directory - but you don't need to bother any more as Track Hack
- will pick these up too, so every time you get a new program, all you need to
- do is run it through Track Hack and it'll root out the music however it's
- stored.
-
- There is only one complication to all this. Many demos these days (especially
- the multi-part ones) are compressed so that you can get more graphics etc.
- onto one disk. This means that before you can scan for any music, the file
- has to be decompressed. To do this, choose the Decompress option on the Track
- Hack menu. Unfortunately, the compressed files don't have any set filetype,
- so there is no easy way for Track Hack to tell if a file should be
- decompressed or not. As it stands, only files with a first byte of zero and a
- second byte non-zero are decompressed (the compressed files always start with
- a zero, then a non-zero byte). This means that if you drag a whole
- application to the icon bar, any files not meeting this creteria will be
- loaded as usual, and any that do will be decompressed. While this rules out
- things like Text and Obey files which obviously won't be compressed, it is a
- dodgy method and can fail occasionally and CAUSE THE COMPUTER TO CRASH.
- Unfortunately, there isn't much I can do about that.
-
- PROBLEMS
- --------
-
- ==========> 1
-
- Occasionally, Track Hack may be fooled into thinking that it has found a
- music track when in fact it hasn't. This problem is particularly noticeable
- with Tracker files. If this happens, one of two results may occur:
-
- 1) You attempt to save the track but the computer returns a 'no readable
- memory at this address' error.
- 2) The track is saved successfully, but when you attempt to load it into
- another program, it returns a strange error.
-
- Unfortunately, there is a balance between making the checking too harsh and
- missing some legitimate music, and making it too leniant and picking up all
- sorts of rubbish. There WILL be the odd track that Track Hack misses, and the
- odd one it picks up that isn't a track at all, but that's life, I'm afraid.
-
- NB From versions 2.12 onwards this isn't really a problem because you can see
- the track name in the progress report window.
-
- ==========> 2
-
- The three music formats ProTracker, STracker and TeqMusic are identical
- except for the way the samples are stored:
-
- STracker and TeqMusic use LINEAR samples
- ProTracker uses LOGARITHMIC samples
-
- (STracker and TeqMusic are the same except for the filetype)
-
- Whether the tune found was a ProTracker, STracker or a TeqMusic file, Track
- Hack will always use the STracker filetype, for this is by far the most
- common and standard type. If however when you try to play back the music, the
- samples come out all wrong, there are several things you can do:
-
- 1) If your tracker editor/player can read ProTracker music, the best thing
- to do is change the filetype to ProTracker (&701), which is probably what
- the track was originally anyway.
- 2) If your tracker editor/player has an option regarding how to load in
- samples on different types of music (such as Digital Symphony does),
- select "8-bit logarithmic" samples.
- 3) Get a copy of the PD application !SampConv and convert all the samples
- to linear, or !TrackConv to convert the music to a format you can play.
-
- ==========> 3
-
- If you are trying to hack files with the decompress option set and a strange
- error is returned, there are one of two reasons why:
-
- 1) The file is not an LZW file
- 2) The decompressed file overflows the available memory
-
- The solution is to quit the program, bring up the task manager display and
- make the 'Next' slot as large as you can. This determines how much memory the
- next task loaded will be given. If you now load Track Hack again there will
- be much more memory available.
- If it works this time, then you just needed more memory. If it still fails,
- then you are probably trying to decompress an ordinary file.
-
-
- EXAMPLES
- --------
-
- Just to prove it works, I have successfully extracted tunes from the
- following programs:
-
- Program Tunes ripped LZW
- ------- ------------ ---
- Nirvana Megademo Africa-Tec, OpusDei, Taekkno, Yes
- Mega, Tune2
- SquoQuo Megademo Intro, Mountain, Night, OldSchool, Yes
- Radio, 3Sc
- Premium Verum FlashDance, Gregorian3, BladSwede Yes
- Counter Act (ArcWorld93) CounterActMus No
- Xacretan (ArcWorld93) Prelude No
- 3DTetris DansMusic No
- 23 Street Excellent No
- RiscDream ArmyBeat, Noel, Robotron2 Yes
- Gyrinus 3.5 Song24, Oxygene2, RainyDay No
- Sprog [ tunes for every level ] No
- Komackino Christ-02 No
- Black Zone Intro tune, HardHouse, Virtual, Yes
- HolyTrans, Garbage, HardCor250,
- Outtro, Recall
-
- Those were all CocoTracks. And in the ProTracker department, we have:
-
- The Chip Duo Demo 1 MegaForce No
- AP-Demo 1 20cc No
- Crimbo Sll3 No
-
-
- CREDITS
- -------
-
- !TrackHack written by Chris Coe (c) Norsoft Productions 1994
- LZWD written by ???
-
- Copy this suite of programs to whoever you want, under the following
- conditions:
-
- DON'T even think about making a profit. You can use any tunes supplied with
- this program separately as they are PD. Supply every file in !TrackHack,
- including this !Help file. Do not add, alter or remove any files. You can use
- LZWD in your own programs but please credit the author concerned.
-
-
- CONTACT
- -------
-
- If you have problems retrieving a particular tune, or you would like me to
- add code to rip out other music formats, tell me! I'm no musician, but I'm a
- whizz at pulling programs to pieces. My address is:
-
- Norsoft Productions,
- 19, Seton Road,
- Taverham,
- Norwich,
- Norfolk,
- NR8 6QE.
-
- (with ArmyBeat in RiscDream for example I had to remove all the J00 commands
- from the tune (there were 61 which caused my tracker editor to crash!))
- It might be a good idea to include a copy of the program with your letter if
- possible.
-
-
- History
- -------
-
- 1.00 - First release version, called !CocoRip, this version could recognize
- only one type of music (Coconizer), LZW decompression was done by
- a separate, non-multi-tasking program, and it could only scan single
- files at a time.
- 2.00 - Many changes:
- Improved Coconizer 'spotting' - some programs caused a 'no readable
- memory at this address' error in 1.00 when CocoRip incorrectly
- thought that it had found a track.
- The latest version of my NPLibrary (1.10) is now used, which handles
- Wimp_Poll calls by itself.
- QuickDComp has now been integrated into the main program.
- The program now contains code to rip out STModules and ProTracker
- files, and the name has changed to TrackHack to reflect this.
- The program supports file queueing - you can drag a game or demo to
- the icon and every file will be scanned for every recognized format.
- As well as ripping from code, the program will also spot raw music
- files - CocoTracks, STModules, ProTracks AND Symphonies. This is so
- that the user doesn't have to bother checking an application with
- SHIFT+double-click for real music files as TrackHack will do it for
- them.
- The ProTracker-ripping code has now been extended to cover TeqMusic
- and STracker modules, too.
- 2.10 - The program can now rip out Symphony files from within game code as
- well as raw music files - it cannot yet correctly work out the length
- of the track though.
- Bug fixed where filenames with character 160 (hard space) in them
- were chopped incorrectly, causing a 'file not found' error.
- LZW file spotting formula improved - now the first byte must be zero,
- and byte two must be non-zero for decompression to take
- place. This rules out nearly all files.
- WimpSlot command in !Run file altered so that the user can determine
- how much memory the application is given by dragging the Next slot
- (saves manual editing of file).
- NPLibrary version updated to 1.11.
- Abort option added - the user can close the progress window to abort
- the current scan.
- 2.11 - Minor change to save box. It used to be transient - it is now
- persistent and comes with an added 'Cancel' icon. This way, you are
- given the chance to open or move obstructing windows away from the
- destination filer window.
- Also a minor change made to the STracker/ProTracker/TeqMusic scanning
- routine which allows tracks with the maximum 20 letter name length to
- be recognized (it used to miss these).
- The tracker routine is often fooled by sprites - any suggestions?
- 2.12 - Name of the track is now displayed when the save box appears, so if
- it is a load of gibberish you can be pretty sure it isn't a real tune.
- Very handy!
-