Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Sadgasm on March 25, 2014, 08:54:13 am

Title: Metroid Map and Saving Hack
Post by: Sadgasm on March 25, 2014, 08:54:13 am
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?
Title: Re: Metroid Map and Saving Hack
Post by: locolol on March 25, 2014, 10:21:13 am
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:
Title: Re: Metroid Map and Saving Hack
Post by: snarfblam on March 25, 2014, 05:42:02 pm
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.
Title: Re: Metroid Map and Saving Hack
Post by: Sadgasm on March 27, 2014, 05:21:49 am
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.
Title: Re: Metroid Map and Saving Hack
Post by: Vanya on March 27, 2014, 08:24:13 pm
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?
Title: Re: Metroid Map and Saving Hack
Post by: 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:
Code: [Select]
; 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!


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?
Title: Re: Metroid Map and Saving Hack
Post by: Mega-Dog on March 27, 2014, 09:52:47 pm
They will probably not be compatible because their code would have to work together.
Title: Re: Metroid Map and Saving Hack
Post by: Vanya on March 29, 2014, 12:25:50 am
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:
Code: [Select]
; 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!


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.
Title: Re: Metroid Map and Saving Hack
Post by: snarfblam on March 29, 2014, 12:34:00 pm
Ah, apparently that is the automap patch.

Quote from: Automap Hack Readme
Metroid 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.ips)
https://dl.dropboxusercontent.com/u/12027218/Temp/walljump.asm (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.ips)
https://dl.dropboxusercontent.com/u/12027218/Temp/met-map.asm (https://dl.dropboxusercontent.com/u/12027218/Temp/met-map.asm)
https://dl.dropboxusercontent.com/u/12027218/Temp/metmap%20readme.txt (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.
Title: Re: Metroid Map and Saving Hack
Post by: Vanya on March 30, 2014, 12:18:25 am
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.
Title: Re: Metroid Map and Saving Hack
Post by: bradzx on March 30, 2014, 08:34:56 pm
Hey, what about down button to shoot when you jump?
Title: Re: Metroid Map and Saving Hack
Post by: snarfblam on March 30, 2014, 09:28:20 pm
Hey, what about down button to shoot when you jump?
That's a great idea. Get on it!
Title: Re: Metroid Map and Saving Hack
Post by: bradzx on March 31, 2014, 10:46:39 am
That's a great idea. Get on it!
Yeah.  That will be more easier to play this game.
Title: Re: Metroid Map and Saving Hack
Post by: snarfblam on March 31, 2014, 08:59:58 pm
So this happened:
Spoiler:
(http://dl.dropbox.com/u/12027218/Shared%20Images/AutoDrop/autodrop246.png)

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 (https://dl.dropboxusercontent.com/u/12027218/Metroid%20Saving%200.4.notdone.ips)

Title: Re: Metroid Map and Saving Hack
Post by: Vanya on April 01, 2014, 01:24:07 am
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.
Title: Re: Metroid Map and Saving Hack
Post by: darkanx on April 04, 2014, 06:05:29 am
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*

Quote
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.

Or maybe after dying, at least.
Title: Re: Metroid Map and Saving Hack
Post by: 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
Title: Re: Metroid Map and Saving Hack
Post by: Da_GPer on April 20, 2014, 02:18:37 am
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!
Title: Re: Metroid Map and Saving Hack
Post by: dACE on April 20, 2014, 05:52:48 am
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
Title: Re: Metroid Map and Saving Hack
Post by: KingMike on April 20, 2014, 03:53:14 pm
Actually - I have made such a hack...it's called mOTHER!

Is Samus PK Rockin'? :P
Title: Re: Metroid Map and Saving Hack
Post by: hossbags2 on April 20, 2014, 06:30:25 pm
I would be interested in this all in one patch myself
Title: Re: Metroid Map and Saving Hack
Post by: darkanx on April 20, 2014, 08:59:48 pm
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


Yeah, check this page (http://www.romhacking.net/?page=help&action=additionalhelp) for recommended sites to store the files on, if you need. I recommend using dropbox, however. Insert the url to the file and fill in the rest, and you are good to go. The only other thing that can be tricky is screenshots. Just got to make sure you took them at the right resolution. But please upload this hack! I am eager to check it out!
Title: Re: Metroid Map and Saving Hack
Post by: dACE on April 21, 2014, 09:26:59 am
I'll make a serious effort in uploading the hack using FileTrip as host for the files - after I have had some lunch.

In case anyone was wondering over the title - mOTHER - it can be reffering to a number of things:

- a play on words with another (in)famous entry in the metroid series
- to the brain that is the mission to destroy
- to the fact that the game is the origin of the series

But I prefer another reference - the fact that this hack is a compilation of the work of OTHER's.

I will try my best of making it obvious, in my upload, that my part has been to make the individual hacks work together and that all credits for the actual content should go to the respective authors of the individual hacks.

Snarfblam, Infinity's End and DemickXII are the true creators - I'm just the guy who bundled their hard work together.

/dACE

April 21, 2014, 11:26:29 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Ended up rejecting FileTrip - since that did not work properly the last time (when submitting the hack: Kid Icarus - Retold).

I used, as suggested by this site, dropBox. That worked fine for the actual zip-archive and the readMe BUT not at all for the screen-shots. I couldn't manage to get a clean URL that passed the verification for image-links...

 >:(

So I tried Imgur for the images - that didn't work... at all. So then I tried Photobucket - which did work...for the png images. But since I wanted to upload a gif (to show of the fancy animation stuff) I had to look elsewhere.

 :banghead:

Finally managed to upload the images to TinyPic and submitted the hack. Nedless to say - the submit routine could be improved....

It is now in the queue to be approved (or disapproved).

/dACE
Title: Re: Metroid Map and Saving Hack
Post by: hossbags2 on April 23, 2014, 08:53:05 am
Could you also include patches metroid99, automap to patch. This way automap is at least showing on screen but also you start off with 99 health like in other Mertoid games where you only start off with 30 in this one....possibly walljump patch also
Title: Re: Metroid Map and Saving Hack
Post by: darkanx on April 24, 2014, 07:40:09 am
Dace, fantastic job combining everything. It really does look like the definitive Metroid hack. :)  Hossbags' suggestions would be awesome additions, I second the request if you are up to it. Thanks for sharing mOTHER with us!
Title: Re: Metroid Map and Saving Hack
Post by: dACE on April 24, 2014, 09:36:44 am
Nice to hear you appreciate it!

I think the easiest way of adding automapper and wall-jumping to Metroid mOTHER is to wait until snarfblam releases a new version of his hack.

Then you would make a 'diff-patch' between his latest version and the one I used (version 0.3) and apply that patch on Metroid mOTHER. If you are lucky enough - it will not mess something else up and you are good to go.

If that works (without any/to much manual adjustments) I'll might consider to update Metroid mOTHER with those features.

As for minor adjustments like:
- Starting with 99 in energy
- Not warn until energy drops below 10 instead of 16

If anybody can investigate what hex-values to change (and what to change them into) OR supplying pathes that achieves this on a expanded Metroid rom - I might consider to make them a part of such a update too.

/dACE
Title: Re: Metroid Map and Saving Hack
Post by: ShadowOne333 on May 03, 2014, 12:03:29 am
So this happened:
Spoiler:
(http://dl.dropbox.com/u/12027218/Shared%20Images/AutoDrop/autodrop246.png)

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 (https://dl.dropboxusercontent.com/u/12027218/Metroid%20Saving%200.4.notdone.ips)

Awesome!
I agree also with Vanya, is there a way you could move the minimap so the HUD (or life/missile counters) are left in the left corner and the minimap is taken to the right-upper corner?

Nice to hear you appreciate it!

I think the easiest way of adding automapper and wall-jumping to Metroid mOTHER is to wait until snarfblam releases a new version of his hack.

Then you would make a 'diff-patch' between his latest version and the one I used (version 0.3) and apply that patch on Metroid mOTHER. If you are lucky enough - it will not mess something else up and you are good to go.

If that works (without any/to much manual adjustments) I'll might consider to update Metroid mOTHER with those features.

As for minor adjustments like:
- Starting with 99 in energy
- Not warn until energy drops below 10 instead of 16

If anybody can investigate what hex-values to change (and what to change them into) OR supplying pathes that achieves this on a expanded Metroid rom - I might consider to make them a part of such a update too.

/dACE

Also, for that part, I think this hack might help with such thing:
http://www.romhacking.net/hacks/504/

Just add that hack to the one posted by snarfblam and that should be a great experience!
I'm in Tourian right now using those hacks :)