News:

11 March 2016 - Forum Rules

Main Menu

Metroid Map and Saving Hack

Started by Sadgasm, March 25, 2014, 08:54:13 AM

Previous topic - Next topic

Sadgasm

Hi there,

I already fand the Metroid Saving Hack which gives me also a scrollable Map. Additionally I heard of a Hack (did not found it) which gives me an automapping function and changeable items.

Now I have the following questions:
-Where is the automapping hack?
-Can I combine several hacks?
-Is there a hack which gives me an automapping function on the normal screen and a big map when I press start?
-Is there a hack which already combines all my requests?

locolol

If i recall correctly,you can't combine them (The rom will crash or something like that,i tried to apply both patches to a metroid rom and couldn't get it to work)  :banghead:

snarfblam

I've never seen a Metroid hack with automapping. It sounds like you might be talking about MDBtroid, which includes a full-screen map when you pause and allows you to enable/disable obtained powerups while paused, but it actually does this with LUA scripts that only work in FCEUX.

As far as combining hacks, Depending on the nature of the hacks, it can be a risky proposition. Patches are often incompatible and can overwrite parts of eachother. Most Metroid hacks will be incompatible with Metroid + Saving because Metroid + Saving expands the ROM and moves things all around.

Sadgasm

Thank you for your answers.

Since I am planning to buy an Android Handheld for playing emulators I am wondering if there is a NES-Emulator with also supports LUA scripts.

Vanya

Chiming in there is an auto-map hack and there is a saving+pause-map hack.
No Idea if they can be combined, but I doubt it.

There is something I'd like to track down myself.
There is a wall-jump patch available that is, frankly, not very good.
In my searching, I came across an archive for the old acclm board and there was an improved version of the wall jump the works pretty much like the SNES version.
However, the link to the patch is on a dead site.
Anyone have the improved patch?

snarfblam

I wasn't aware there were two different wall jump hacks. What, exactly, is the difference in how they behave? This is the only one I've seen, by Parasyte:
Spoiler

; This code allows for a wall-jump in Metroid (NES)
; Copyright 2002-2004 Parasyte
; http://parasyte.panicus.org/
;
; The above copyright notice may not be removed or changed.
;
;
; Notes:
; Simply overwrite the data at file address 0x01CADF (38 bytes, max)
; with this code. Then set the hook by patching 0x01CC34 to 0xCF,0xCA


.org $CACF ;assemble our code to run at this (CPU) address
;.mem 8 ;setup accumulator and index regs for NES code
;.index 8


;--constants
BtnRight = $01 ;Joypad button definitions.
BtnLeft = $02
BtnDown = $04
BtnUp = $08
BtnStart = $10
BtnSelect = $20
BtnB = $40
BtnA = $80


;--pointers
JoypadDown = $12
Joypad = $14

JumpSpeed = $0308

DoJump = $CD40 ;Makes Samus Jump

WallToLeft = $E880 ;Checks for a wall to the left of Samus, returns result in C flag: Set = no, Clear = yes.
WallToRight = $E88B ;Checks for a wall to the right of Samus, returns result in C flag: Set = no, Clear = yes.




;--Entry Point
; Inputs: None
; Outputs: None
; Description: Checks if Samus is able to wall jump, performs action if possible.

lda JoypadDown ;Is A button just pressed?
bpl exit

lda #BtnRight
bit Joypad ;D-Pad Right held?
bne +

asl
bit Joypad ;D-Pad Left held?
beq exit

;Check if able to wall jump to the left.
jsr WallToRight
bcs exit
bcc ++ ;Branch always.

;Check if able to wall jump to the right.
+ jsr WallToLeft
bcs exit

++ lda JumpSpeed ;Is Samus in a slow decent?
bne exit

jsr DoJump

exit:
jmp $CCC2 ;Bye-bye!
[close]


Quote from: Vanya on March 27, 2014, 08:24:13 PM
there is an auto-map hack

I've seen Parasyte's corner map hack, but this is the first I've heard of an auto-map hack.

Is it on RHDN? I couldn't find it. If not, care to share a link?

Mega-Dog

They will probably not be compatible because their code would have to work together.

Vanya

Quote from: snarfblam on March 27, 2014, 08:50:35 PM
I wasn't aware there were two different wall jump hacks. What, exactly, is the difference in how they behave? This is the only one I've seen, by Parasyte:
Spoiler

; This code allows for a wall-jump in Metroid (NES)
; Copyright 2002-2004 Parasyte
; http://parasyte.panicus.org/
;
; The above copyright notice may not be removed or changed.
;
;
; Notes:
; Simply overwrite the data at file address 0x01CADF (38 bytes, max)
; with this code. Then set the hook by patching 0x01CC34 to 0xCF,0xCA


.org $CACF ;assemble our code to run at this (CPU) address
;.mem 8 ;setup accumulator and index regs for NES code
;.index 8


;--constants
BtnRight = $01 ;Joypad button definitions.
BtnLeft = $02
BtnDown = $04
BtnUp = $08
BtnStart = $10
BtnSelect = $20
BtnB = $40
BtnA = $80


;--pointers
JoypadDown = $12
Joypad = $14

JumpSpeed = $0308

DoJump = $CD40 ;Makes Samus Jump

WallToLeft = $E880 ;Checks for a wall to the left of Samus, returns result in C flag: Set = no, Clear = yes.
WallToRight = $E88B ;Checks for a wall to the right of Samus, returns result in C flag: Set = no, Clear = yes.




;--Entry Point
; Inputs: None
; Outputs: None
; Description: Checks if Samus is able to wall jump, performs action if possible.

lda JoypadDown ;Is A button just pressed?
bpl exit

lda #BtnRight
bit Joypad ;D-Pad Right held?
bne +

asl
bit Joypad ;D-Pad Left held?
beq exit

;Check if able to wall jump to the left.
jsr WallToRight
bcs exit
bcc ++ ;Branch always.

;Check if able to wall jump to the right.
+ jsr WallToLeft
bcs exit

++ lda JumpSpeed ;Is Samus in a slow decent?
bne exit

jsr DoJump

exit:
jmp $CCC2 ;Bye-bye!
[close]


I've seen Parasyte's corner map hack, but this is the first I've heard of an auto-map hack.

Is it on RHDN? I couldn't find it. If not, care to share a link?

The original hack makes Samus slowly move down when she spin jumps against a wall. At any time you can press jump to wall jump so it works more or less like the MMX wall slide.
In the thread I read there was an update that made it act more like Super Metroid. IIRC it took up 38 bytes, so I guess that is it.
I haven't found a patch file for either one, just the roms with the hack already applied and only the first one I described.

I wonder how difficult it might be to use this code as a basis to make something more akin to the wall jump from Batman?

Parasyte's corner map hack as you call it, I'm pretty sure is the same thing others are calling the auto-map hack.

snarfblam

#8
Ah, apparently that is the automap patch.

Quote from: Automap Hack ReadmeMetroid AutoMap patch v1.0
Copyright 2002-2004 Parasyte

When I heard automap patch, I was thinking more like the pause screen map in Super Metroid.

In case anyone wants the IPS or ASM (right-click and "save target as...", otherwise the IPS may open as a text file within the browser). These are temporary links.

https://dl.dropboxusercontent.com/u/12027218/Temp/walljump.ips
https://dl.dropboxusercontent.com/u/12027218/Temp/walljump.asm

https://dl.dropboxusercontent.com/u/12027218/Temp/met-map.ips
https://dl.dropboxusercontent.com/u/12027218/Temp/met-map.asm
https://dl.dropboxusercontent.com/u/12027218/Temp/metmap%20readme.txt

It wouldn't be all that difficult to incorporate the automap hack into Metroid + Saving, and use the map data and graphics used by Metroid + Saving, but I've never been a fan of the automap hack because it tends to cause sprite overload and things look glitchy.

Edit: I should probably just submit these hacks to the site. I will do this.

Vanya

#9
I agree. Submit them so people can get them without need for asking around as much.

And thanks for the updated wall jump. It works like a charm.

I'd personally be very interested in incorporating all these patches into the save + map patch.
I think it'd make for a far more complete and playable version of the original game.

bradzx

Hey, what about down button to shoot when you jump?
Are you huge fan of Megaman Xtreme 2?   Then check this progress of Remastered version!

snarfblam

Quote from: bradzx on March 30, 2014, 08:34:56 PM
Hey, what about down button to shoot when you jump?
That's a great idea. Get on it!

bradzx

Quote from: snarfblam on March 30, 2014, 09:28:20 PM
That's a great idea. Get on it!
Yeah.  That will be more easier to play this game.
Are you huge fan of Megaman Xtreme 2?   Then check this progress of Remastered version!

snarfblam

So this happened:
Spoiler
[close]

I still have a little more work to do for the next "official" version, but here it is in its current state. Metroid + Saving + Wavy Ice + Corner Map + Pause Map + Wall Jump.

https://dl.dropboxusercontent.com/u/12027218/Metroid%20Saving%200.4.notdone.ips


Vanya

#14
Sweet!
I have a small request. When you finish, could you include the offsets for the HUD positions?
I personally only play on emulator and keep the sprite limit off, so I'd prefer to move them around so they match the Super Metroid layout.

EDIT:

I had an idea for another addition. I'm not sure how difficult it would be but, since Zero Mission turns the Chozo statues into recharge stations, how about making it so that after you collect the item held by an orb it spawns a new item that fills up all your energy? Not as elegant, but would be a big improvement.

darkanx

Holy-moly. If only all these hacks could be combined with MDbtroid (graphic enhancements, not the lua script), you would have the perfect Metroid game. *dreamy sigh*

QuoteI had an idea for another addition. I'm not sure how difficult it would be but, since Zero Mission turns the Chozo statues into recharge stations, how about making it so that after you collect the item held by an orb it spawns a new item that fills up all your energy? Not as elegant, but would be a big improvement.

Or maybe after dying, at least.

dACE

Actually - I have made such a hack...it's called mOTHER!

It combines the hacks and features:

Metroid Plus (v 0.3)
- Minimap
- Savefiles
- Beamstacking
- Better Icebeam and bombs

MdbTroid
- Nicer titlescreen
- Nicer endings
- Updated run animation
- Updated player sprite (suited and suitless)
- Updated enemy sprites
- Enlarged and updated Kraid and Ridley

Roidz
- Nicer background tiles
- Animated lava, doors and elevators
- Animated Norfair (Ridley level)
- Animated Tourian (Mother Brain level)

The real kicker is that it is already complete and tested.
The only thing I need is to submit it....that is...if anyone is interessted?

/dACE a.k.a Nitendo

Da_GPer

Quote from: dACE on April 19, 2014, 05:54:20 PM
Actually - I have made such a hack...it's called mOTHER!

It combines the hacks and features:

Metroid Plus (v 0.3)
- Minimap
- Savefiles
- Beamstacking
- Better Icebeam and bombs

MdbTroid
- Nicer titlescreen
- Nicer endings
- Updated run animation
- Updated player sprite (suited and suitless)
- Updated enemy sprites
- Enlarged and updated Kraid and Ridley

Roidz
- Nicer background tiles
- Animated lava, doors and elevators
- Animated Norfair (Ridley level)
- Animated Tourian (Mother Brain level)

The real kicker is that it is already complete and tested.
The only thing I need is to submit it....that is...if anyone is interessted?

/dACE a.k.a Nitendo

OMG! Yes! I would love to try this out!

dACE

OK - then I just need a little help understanding the form for submitting hacks to this site.

Last time I uploaded a hack (Kid Icarus Retold) I obviously did it wrong and got some help from the staff.

Am I supposed to host all the files on another server and then just enter the URL's in the submit form?

Can somebody please give me some detailed instructions how to submit a hack?

/DacE

KingMike

Quote from: dACE on April 19, 2014, 05:54:20 PM
Actually - I have made such a hack...it's called mOTHER!

Is Samus PK Rockin'? :P
"My watch says 30 chickens" Google, 2018