Megaman 2 with sram saving and modified weapons

Started by Drakon, March 09, 2014, 08:15:21 AM

Previous topic - Next topic

Drakon

I decided to take a stab at hacking megaman 2.  The result is a version with sram saving that works all the way up to the last stage of the game and even saves your ammo.  In this hack I altered the following weapons:

The freeze weapon (I forget the name) now can be turned off by pressing b button when it's on
The crash weapon can now be detonated prematurely by pressing b button after it's been launched
The leaf shield now has been heavily modified, it now uses 2 ammo points when you fire leaf shield but you can now walk around with it.  When the leaf shield kills something it uses up one ammo point.  When you run out of leaf shield ammo the leaf shield shoots off.  You can shoot the leaf shield at any time by pressing b button again.

http://www.youtube.com/watch?v=go1iz91pO7M&feature=youtu.be

The goal of this hack wasn't to alter the original experience into a new game, rather to simply fix the things I always felt the original should have had.

March 11, 2014, 11:40:21 PM - (Auto Merged - Double Posts are not allowed before 7 days.)

New leaf shield:

https://www.youtube.com/watch?v=sERu8B032WE

omega_rugal

#1
nothing to see here
Done your packing?, your life journey is over...

NiO

I've been following you on youtube for some months ago, that's pretty cool to know and see

Satoshi_Matrix

drakon's hacks are neat, but he doesn't distribute his hacks to anyone, not even his friends. If you want a rom hack he requires you pay him for the rom.

thats why none of his hacks are hosted here, what with romhacking.net being based on free open projects. So this is the ultimate example of look but don't touch, unless you want to pay money for rom hacks from him, a concept I find absurd. but do what do you want.

M-Tee

To each their own, I say. Hack looks good, but that leaf shield looks wildly overpowered. I'd say a slow timed countdown of its ammo plus additional reductions with each hit would be better suited.

omega_rugal

#5
this is blank space
Done your packing?, your life journey is over...

Satoshi_Matrix

working on what? doing the weapon modifications drakon did but putting it up for free?

I'm sure he's going to love that.
But anyway good luck with that. It is my feeling that all hacks and translations should be free for all people to enjoy. It's one thing to accept donations if you're skilled and people recognize that and wanna donate, but to require money upfront is simply wrong in my opinion, both legally and morally.

This is also how I feel about podcasts. All podcasts should be free with the option for people to donate, Paid podcasts are run by people who are missing the point.

omega_rugal

#7
nada
Done your packing?, your life journey is over...

ShadowOne333

Quote from: omega_rugal on August 24, 2014, 10:42:25 AM
Yes, last nigh i found some of the Time stopper weapon code, ill dissasembly the rest tonight
Oh yes, I would love to be able to finally activate and deactivate the god damn time stopper weapon at will!

Satoshi_Matrix

The other changes are also needed if possible. Remote Crash Bomb detonation (perhaps referring to Megaman 4's code for the Drill Bomb would help) and the modifications to the Leaf Shield, especially being able to move with it on.

ShadowOne333

Quote from: Satoshi_Matrix on August 25, 2014, 07:45:31 PM
The other changes are also needed if possible. Remote Crash Bomb detonation (perhaps referring to Megaman 4's code for the Drill Bomb would help) and the modifications to the Leaf Shield, especially being able to move with it on.
Be able to move with the Leaf Shield until one presses the B button. PERFECT!

omega_rugal

#11
no one was here
Done your packing?, your life journey is over...

ShadowOne333

Quote from: omega_rugal on September 02, 2014, 12:44:01 AM
i had been busy lately but i got something working right now

you start with 10 lives
you start with 4 tanks, too easy, well, you can choose NOT to use them
theres less lag when you pick a energy pill, when the e tank reills you energy or when the bosses bar is being filled, less wating, more action, haven÷t done anything with the weapons thought

crash bomb detonates 4 times faster, again, less wating more action

overall the weapon usage has been reduced

you can walk around with the leaf shield on, but i cant get it to shot where you want, only to UP and LEFT, ill try to fix this ASAP

thats all for now, keep tuned
Awesome! I'll keep looking forward for any update :)
Edit:
Is there anyway to make the crash bomb detonate with the press of a button instead of waiting?

omega_rugal

#13
your mom was here
Done your packing?, your life journey is over...

ShadowOne333

Quote from: omega_rugal on September 02, 2014, 02:01:49 AM
May be posible, if theres space to write around the detonation code

basicly

LDA 0023    ->  load controller state to acumulator
AND 02        -> check if B was pressed
goto to detonation code, or set detonation timer to 0

but why? with my hack the bomb explodes like 1 sec after it latches, besides, im not trying to emulate the drill bomb behavior, each weapon must have its own unique properties, not copy the weapons from other games, or so i believe...

update: sooo

i think i know why the leaf shield doesn`t shot right

in the original code, while the shield is active, every loop it checks if ANY direction of the dpad is pressed, if so jumps to the shoot subroutine, there it checks if the UP key was pressed, if not checks the direction Megaman is facing, LEFT or RIGHT, sets the shields delta X and/or delta Y and releases it. DOWN is not checked because is the default direction if none of the above were pressed, the important thing is: it doesn`t poll the controller again so i gonna have to rewrite this part which may not be easy since it must fit in the same ROM space AND must execute in the same time or less...
Yeah I think you're right. It's better to make it have its own behavior.
For the Leaf Shield, are you trying to make it shoot at the four main directions when the button is pressed? Or jus up, left and right?

omega_rugal

#15
where am i?
Done your packing?, your life journey is over...

ShadowOne333

Quote from: omega_rugal on September 02, 2014, 01:38:39 PM
it must shot in all four directions when the B button is pressed, with the small hack i made only the UP works fine, LEFT works only if you are already facing left (suddenly turning right to left and then shoot doesn`t work) pressing RIGHT is wrong since the shield shoots down and since NOT holding the dpad in any way is not how the code works it defaults to shoot down instead of shooting where megaman is facing

like i said, this part must be rewritten entirely
Oh I get it.
So that part might have to be rewritten from scratch uh?
Suck, but the finishing product will be awesome XD

omega_rugal

#17
 nothing here
Done your packing?, your life journey is over...

ShadowOne333

Quote from: omega_rugal on September 03, 2014, 02:38:17 AM
:banghead:

almost done

Up  -> shoots Up
Dn  -> shoots Down

Lt    -> shoots up+left
Rt    -> shoots up+right

yep, it shoots diagonaly, something that cant happen normaly

and cant figure out why...


edit

forget what i said, its done, a miscalculated JMP was the culprit

now the Leaf shield hack is complete...

no wait, there something missing, when you dont press any direction the shield shoots down, it must defaults to wherever direction megaman is facing...mmm i only have 3 free opcodes...i gonna have to move the code a little further OR leave it as it is...
Wow that was pretty damn fast!
Can't you move the part in which it shoots it down with a pointer or somethong to the left/right part of the code?
One question, what is a opcode?
How many limitations you have for those?