VGMaps

General Boards => Map Gab => Topic started by: Maxim on April 16, 2011, 09:52:53 am

Title: Micro Machines 2 (Game Gear)
Post by: Maxim on April 16, 2011, 09:52:53 am
Let's see how far this goes... hacked for mapping but I might make it a bit more interactive...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 16, 2011, 11:58:06 am
So I made the hack so it's interactive (d-pad controls camera). Here we go...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 16, 2011, 02:03:51 pm
Bear in mind these are on a system with the same resolution as a Game Boy... it's like painting a room with a toothbrush :) They also take forever to PNGOUT on my netbook...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 18, 2011, 07:31:23 am
I'm skipping the bonus games for now as they are quite hard work.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 18, 2011, 07:35:53 am
Just in case it gets lost before I finish, here's the hack:

Code: [Select]
.memorymap
slotsize $4000
slot 0 $0000
slot 1 $4000
slot 2 $8000
defaultslot 2
.endme

.rombankmap
bankstotal 32
banksize $4000
banks 32
.endro

.background "mm2.gg"

.define scrollx $c137
.define scrolly $c139

.unbackground $69 $ff

.bank 2 slot 2
.orga $bc0f
.section "Hack redirection" overwrite
  jp hack
.ends

.bank 0 slot 0
.section "hack" free
hack:
  ; get inputs
  in a,($dc)
  ld b,a
  ; Y
  ld hl,(scrolly)
  ld a,h
  or l
  jr z,+
  bit 0,b
  jr nz,+
  dec hl
  dec hl
  dec hl
  dec hl
+:bit 1,b
  jr nz,+
  inc hl
  inc hl
  inc hl
  inc hl
+:ld (scrolly),hl
  ; X
  ld hl,(scrollx)
  ld a,h
  or l
  jr z,+
  bit 2,b
  jr nz,+
  dec hl
  dec hl
  dec hl
  dec hl
+:bit 3,b
  jr nz,+
  inc hl
  inc hl
  inc hl
  inc hl
+:ld (scrollx),hl
  bit 4,b
  ret nz
  ; return to game
  ; what should happen but we overwrote it...
  ld a,($c126)
  ; where we came from
  jp $bc13
.ends

Assembles in WLA DX (wla-z80). Any time the game scrolls to the player, i.e. when the race starts, when you respawn or go through a pool table, it will enter a state where the D-pad scrolls the camera (via the game's camera motion smoothing routines). Press 1 to exit this state.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 19, 2011, 03:37:04 am
Four attachments per post...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 19, 2011, 03:37:43 am
...is annoying when you have six maps.
Title: Re: Micro Machines 2 (Game Gear)
Post by: TerraEsperZ on April 19, 2011, 06:09:26 am
Impressive work! And you have *no* idea how jealous I am of your ASM skills...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 19, 2011, 08:10:41 am
I'm not sure I could go back to making maps the old-fashioned way :)
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 19, 2011, 03:24:10 pm
The last two challenge tracks and onto the Super League. I still need to do those bonus levels...
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 20, 2011, 03:09:19 am
A little more hacking and I know how to hack the levels. There are 36 in total, but at least two have names but no level data (the basement stages), so I'm about 70% done. Remaining levels:

Raining Champ
Turbo Turns
Step On It
Water Chase
Frosty Reception
Jelly Jitters
Turbo Blast
Picnic Problems
Plate Hop
Ferry Fiasco

The level numbers are stored in ROM at $3a684 for the Super League followed at $3a694 for the Challenge mode. 2-player lets you choose between the first 19 of them all.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 20, 2011, 07:33:30 am
I just did another three in my lunch break... Raining Champ doesn't have any "rain" layer because I prefer it without.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 20, 2011, 03:36:50 pm
Almost done... except I need to align some of the others to the 96x96 grid, and the bonus levels.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 20, 2011, 03:38:34 pm
And that's all the regular levels.
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 21, 2011, 05:00:19 pm
Finished, posted at http://www.smspower.org/Maps/MicroMachines2-GG and emailed to Jon.
Title: Re: Micro Machines 2 (Game Gear)
Post by: The Ultimate Koopa on April 24, 2011, 11:53:23 am
"Ferry Fiasco" seems a little incorrect (even though it's what it says in the game) -- it should really be called "Plate Peril", as it's exactly the same as Plate Peril in the Game Boy and Game Boy Color versions (which replace Ferry Fiasco) <_<
Title: Re: Micro Machines 2 (Game Gear)
Post by: Maxim on April 25, 2011, 12:05:44 am
Well, matching the game seems correct to me. The GG version is missing most of the level-specific effects - the cue, dervishes, traffic, sponge, etc - but still has level names as if they were there.
Title: Re: Micro Machines 2 (Game Gear)
Post by: The Ultimate Koopa on April 25, 2011, 12:15:31 pm
Yeah, just seems odd -- Plate Peril is much more appropriate, don't you think? I'm not saying you should ask Jon to change it, since it's "officially" called Ferry Fiasco (even though there isn't a sponge that acts as a ferry across the wide river, that is "the kitchen sink". I also wonder why some tracks have different names in the SNES, GB/C versions etc.
For example, Whine On! is called Spills N Thrills on the SNES, and just Spill Thrills on the GB/C. Likewise, Driller Killer is called Toolbox Terror on the GB, GBC, and SNES versions.