News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Megaman 2 with sram saving and modified weapons  (Read 5082 times)

Drakon

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • 16 Bit Gamer
Megaman 2 with sram saving and modified weapons
« on: March 09, 2014, 08:15:21 am »
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
« Last Edit: March 11, 2014, 11:40:21 pm by Drakon »

omega_rugal

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #1 on: August 16, 2014, 05:17:38 pm »
nothing to see here
« Last Edit: September 13, 2014, 02:19:30 pm by omega_rugal »
Done your packing?, your life journey is over...

NiO

  • Jr. Member
  • **
  • Posts: 75
  • Let's bring order to chaos
    • View Profile
    • https://www.facebook.com/groups/retrogamersmx/
Re: Megaman 2 with sram saving and modified weapons
« Reply #2 on: August 16, 2014, 08:40:10 pm »
I've been following you on youtube for some months ago, that's pretty cool to know and see

Satoshi_Matrix

  • Full Member
  • ***
  • Posts: 239
  • Retro & Contemporary Gamer
    • View Profile
    • Retro & Contemporary Gaming Archives
Re: Megaman 2 with sram saving and modified weapons
« Reply #3 on: August 21, 2014, 06:05:01 am »
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

  • Hero Member
  • *****
  • Posts: 595
  • One pixel at a time…
    • View Profile
    • M-Tee Retro Graphics
Re: Megaman 2 with sram saving and modified weapons
« Reply #4 on: August 21, 2014, 09:39:26 am »
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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #5 on: August 23, 2014, 10:30:36 pm »
this is blank space
« Last Edit: September 13, 2014, 02:20:05 pm by omega_rugal »
Done your packing?, your life journey is over...

Satoshi_Matrix

  • Full Member
  • ***
  • Posts: 239
  • Retro & Contemporary Gamer
    • View Profile
    • Retro & Contemporary Gaming Archives
Re: Megaman 2 with sram saving and modified weapons
« Reply #6 on: August 24, 2014, 12:04:42 am »
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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #7 on: August 24, 2014, 10:42:25 am »
nada
« Last Edit: September 13, 2014, 08:02:34 pm by omega_rugal »
Done your packing?, your life journey is over...

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #8 on: August 25, 2014, 12:30:27 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

  • Full Member
  • ***
  • Posts: 239
  • Retro & Contemporary Gamer
    • View Profile
    • Retro & Contemporary Gaming Archives
Re: Megaman 2 with sram saving and modified weapons
« Reply #9 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.

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #10 on: August 26, 2014, 01:26:21 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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #11 on: September 02, 2014, 12:44:01 am »
no one was here
« Last Edit: September 13, 2014, 02:20:39 pm by omega_rugal »
Done your packing?, your life journey is over...

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #12 on: September 02, 2014, 01:36:27 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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #13 on: September 02, 2014, 02:01:49 am »
your mom was here
« Last Edit: September 13, 2014, 02:21:23 pm by omega_rugal »
Done your packing?, your life journey is over...

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #14 on: September 02, 2014, 12:27:02 pm »
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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #15 on: September 02, 2014, 01:38:39 pm »
where am i?
« Last Edit: September 13, 2014, 02:21:48 pm by omega_rugal »
Done your packing?, your life journey is over...

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #16 on: September 02, 2014, 02:03:17 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

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #17 on: September 03, 2014, 02:38:17 am »
 nothing here
« Last Edit: September 13, 2014, 02:22:11 pm by omega_rugal »
Done your packing?, your life journey is over...

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1191
    • View Profile
Re: Megaman 2 with sram saving and modified weapons
« Reply #18 on: September 03, 2014, 11:43:03 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?