All code and ideas by ClockWork Orange - April 1994

There had to be a better way to handle those odd files on the Multi 
Game Hunter... this is one way.

This is a set of .MGH files that you need. In this archive are the 
following:


SFSLAM_A.MGH - loads Muscle Bomber in PRO FIGHTER (unconverted) format 
(24M HiRom)    in 1,2,3,4,5,6... part files. The files should be named 
               as SFSLAM_A.024, SFSLAM_B.024, SFSLAM_C.024... 
               I tested the game as 2-12Mbit, 3-8Mbit, and 6-4Mbit 
               files in Super Pro Fighter format and it RAN ALL TIMES
               This file can be easily modified to handle 'other' 24
               Mbit HiRom files. (see below)

SFMETROA.MGH - loads Super Metroid in MGH format and RUNS! There is a 
(24M Normal)   catch though!!! You MUST use the OLD HiRom adapter,
               the game will NOT run with the new 24Mbit HiRom adapter.
               (Swapper should be turned OFF)

SFLESTER.MGH - This will load SMC/FIG/MGH files directly, in 
(16M Normal/   multi-parts. We even converted a Pro Fighter game to 
 NON-MGH-      1Mbit+3Mbit+11Mbit and it loaded perfectly. This code 
 HiRom)        will NOT load HiRom games > 16Mbit, it will NOT load 
               properly MGH HiRom games that are NOT=16Mbit (but we 
               don't need it for that anyways). The indicators for 
               Header, HiRom, and multi-part will show on the screen 
               when the file is loading (if detected).
               This will allow you to load MGH files that are MORE 
               then 2-parts, or SMC files with a proper multi-load 
               header directly, or SWC/FIG HiRom files without needing 
               to convert them to MGD format.

If the game is without a header (ie: MGH format) then it will continue 
to prompt you for "Next Disk and Press <A>", simply hit <B> when the 
last file has loaded to play the game.

With these 3 files you will no longer need to convert ~any~ file that 
you download!

Programming notes:
A program can be quickly and easily written for an end user to 
generate the appropriate .MGH file needed. The program need only 
modify the following for each gamefile:
     start+$10=dirname, 15 bytes     ;name that appears on directory
     start+$200=filename, 11 bytes   ;the games filename
     start+$22B=gametitle, 28 bytes  ;one screen line to show gamename
     start+$24D=company,   28 bytes  ;one screen line to show company

- Headers are detected by comparing the filesize with 512bytes odd, in 
psuedo-code: and.l #$200,filesize, beq no_header... trainers work :)
- HiRom is detected by either bit 4, of byte 3 being set (Wild 
Card=$10), or by bit 7 of byte 4 (Fighter=$80). Therefore if the 
header is incorrectly written, it will not be recognised.
- Multi-part is detected by bit 6 being set in byte 3 (SWC or FIG). 
The program will increment the 7th byte of the filename, and seek the 
file, if not found the user will be prompted for the next disk. The 
LAST file should NOT mark the header-byte, which will cause loading 
multi-part to cease.
- The multi function loader (SFLESTER.MGH) will ONLY load MGH HiRom 
games that are 16Mbit properly!!! So it should NOT be used for MGH 
HiRom format files.
- The MGH 24Mbit ASIC splits memory with the 3rd meg in between the 1st 
and 2nd... this is why you need special loaders for 24Mbit games. 
MGH HiRom games are read with SFFILE_A.008 at bank 0, and SFFILE_B.008 
at bank $100, likewise normal games are read from bank $0-80, then 
$100-180, then $80-100 (Metroid)
- The .MGH files do not use pre-determined file sizes, so they can be 
split into different sizes (divisible by 8kbytes)

If you write a program that modifies these files then PLEASE don't 
remove my name..... I've yet to get any greets in the console world!

~ClockWork Orange/ICS '94

Multi Game Hunter users with Atari computers will be happy to know 
that my MGH util is going through it's final debugging and will be 
released soon. The util is a completely windowed file convertor for 
both SNES/Genesis with loads of extras including Game Genie, file 
infos, splitting/joining, IPS, BSL, and MGH tag-files.

Watch for it!