Welcome Guest [Log In] [Register]
Chip charge enabler ASM hack; gives all crosses the ability to charge chips
Topic Started: Jul 25 2010, 07:49 AM (2,512 Views)
Prof. 9
Member Avatar
Moderaptor

EDIT: This hack now uses an .asm file instead of an IPS patch, but I'm too lazy to change the rest of this post. Edit ChipCharge.asm to set fspace to a suitable free space offset, before assembling.



This hack has the same features as the elemental powerups hack in that it allows you to give chip charge abilities to Crosses that don't normally have one. The patch modifies the routine that checks whether or not a certain Cross has the ability to charge the current Chip.

After patching your ROM with the IPS file, download chip_charge_condition_data.raw and load it into free space. It has all the default settings for the crosses in MMBN6. You can insert it at ANY address as long as it is in free space. No need to worry about 16-bit or 32-bit; there's only one 16-bit value in there, and I set it to load it as two separate bytes, so having at an odd offset is fine. Remember the address where you loaded chip_charge_condition_data.raw into.

Then, go to 080132FC and put the address there. Remember to reverse the byte order, the 08 in the fourth byte, etc. You know the drill. Here's the data format:
Code:
 
Cross data is 8 bytes long.

0x00 = chargeable elements

0001 = Fire
0002 = Aqua
0004 = Elec
0008 = Wood
0010 = +/-
0020 = Sword
0040 = Cursor
0080 = Object
0100 = Wind
0200 = Break
0400 = Null

Add the element you want to be chargeable and use the result for 0x00. Examples:

0005 = Fire and Elec chips can be charged
0222 = Aqua, Sword and Break chips can be charged



0x02 = chip flags that must be ON (normally this is 02h)
0x03 = chip flags that must be OFF (normally this is 01h except for EraseCross)



The next part is optional; it allows you to add an extra check before power is added to the chip. You can load a single 8-bit or 16-bit value from the chip data and compare it to 16-bit value in the Cross powerup data.

0x04 = Check offset (start of chip data + this offset = address to be loaded from)
0x05 = Check type
0x06 = Given value (16-bit)

Check types:
00 = loaded value equal to given value
01 = loaded value is not equal to given value
02 = loaded value greater than or equal to given value
03 = loaded value is less than or equal to given value
04 = all bits in the given value are ON in the loaded value
05 = all bits in the given value are OFF in the loaded value
06 = at least one of the bits in the given value is ON in the loaded value
07 = at least one of the bits in the given value is OFF in the loaded value

00 = Skip check
10 = 16-bit
20 = 8-bit

Examples:
12h = 16-bit, check if chip's value is greater than or equal to cross's value
26h = 8-bit, check if at least one of cross's value's bits is on in chip's value
Note that this hack only handles the CONDITIONS that must be fulfilled before a chip can be charged. To modify the actual chip charge effect, check out the first two spoilers in this post: http://s6.zetaboards.com/The_Rockman_EXE_Zone/single/?p=8103506&t=8659198



Download:
http://theprof9.webs.com/mmbn6/ChipCharge.asm
Edited by Prof. 9, Jan 10 2014, 10:58 AM.
:ninja: Follow me on Twitter! :trap: Fork me on GitHub!
Posted Image
Profile
Quote
 
brianuuu
Member Avatar
SF Noise Spriter
Well, give all crosses the same ability to charge chip is not very useful, separate the ability will be better.
Posted ImagePosted ImagePosted Image
Posted Image
Profile
Quote
 
Prof. 9
Member Avatar
Moderaptor

brianuuu
Jul 25 2010, 08:19 AM
Well, give all crosses the same ability to charge chip is not very useful, separate the ability will be better.
If you don't want a certain Cross to be able to charge chips, just set "chargeable elements" to 0000.

By the way, I never said that the actual effect of the charged chip was the same for every cross. You can set a different charged chip effect for every cross/beast.
:ninja: Follow me on Twitter! :trap: Fork me on GitHub!
Posted Image
Profile
Quote
 
Agro
No Avatar
Programmer!

Ah, so there are different offsets for different crosses/beasts/beastcrosses?
Profile
Quote
 
Prof. 9
Member Avatar
Moderaptor

Of course. The whole point of the patch is to expand what you can do.
:ninja: Follow me on Twitter! :trap: Fork me on GitHub!
Posted Image
Profile
Quote
 
Greiga Master
Member Avatar
Admin of the stars, owner of your soul...

I finished an IPS patch function for my programs, so im ready to make a cross editor. that is unless you plan on making more edits to crosses.
Profile
Quote
 
louman7777777
Member Avatar
Newb
Tools already? Your fast...
Profile
Quote
 
Dramz
No Avatar
Spastic Colon

yes...that is mildly fast.

I've nearly unlocked all the crosses, so I'll be able to play around with this a lot soon.
*hates having to make his own save files*
Profile
Quote
 
Agro
No Avatar
Programmer!

He makes tools before the full format is even known. O_O

Can you make MegaMan charge up something?
Profile
Quote
 
Prof. 9
Member Avatar
Moderaptor

Agro
Jul 27 2010, 11:21 AM
He makes tools before the full format is even known. O_O

Can you make MegaMan charge up something?
You can in theory but as far as I know there's some routine checking if you are normal MegaMan and disabling Cross upgrades if you are.

And what do you mean the full format isn't known? I MADE this format.
Edited by Prof. 9, Jul 27 2010, 11:44 AM.
:ninja: Follow me on Twitter! :trap: Fork me on GitHub!
Posted Image
Profile
Quote
 
Agro
No Avatar
Programmer!

I meant that he just makes formats before its even complete. o-o
Profile
Quote
 
Greiga Master
Member Avatar
Admin of the stars, owner of your soul...

Agro
Jul 27 2010, 11:45 AM
I meant that he just makes formats before its even complete. o-o
I have no idea what that even means and i already know its not true :P
Profile
Quote
 
Dramz
No Avatar
Spastic Colon

Greiga Master
Jul 27 2010, 05:42 PM
Agro
Jul 27 2010, 11:45 AM
I meant that he just makes formats before its even complete. o-o
I have no idea what that even means and i already know its not true :P
Thats cause GM is all kinds of ossim.

Just because its new Agro, doesn't mean it isn't finished.
If any new, unexpected things come up, updates are always an option.
Edited by Dramz, Jul 28 2010, 12:59 AM.
Profile
Quote
 
Agro
No Avatar
Programmer!

What I'm trying to say is that he impresses me. -_- He makes programs too fast. o-o
Profile
Quote
 
MegaRockEXE
Member Avatar
BN Guides Author

Navis can charge chips. Can that be hacked with a similar routine?
The Rockman EXE Zone | YouTube
Profile
Quote
 
louman7777777
Member Avatar
Newb
They can? Like Protoman can charge up sword chips and etc...
Where have I been?
Profile
Quote
 
Agro
No Avatar
Programmer!

Well. I've done with Tomawhawk Beast... I think its a null element(tomahawk).
Profile
Quote
 
MegaRockEXE
Member Avatar
BN Guides Author

This just reminds me of how in the Japanese version of the game, you could SP level the Navi's stats and they could charge the element. I could never figure out how to trigger this but it makes them less useless.
The Rockman EXE Zone | YouTube
Profile
Quote
 
louman7777777
Member Avatar
Newb
Agro
Jul 29 2010, 09:24 AM
Well. I've done with Tomawhawk Beast... I think its a null element(tomahawk).
No, I thought he meant as in Link Navi
Profile
Quote
 
brianuuu
Member Avatar
SF Noise Spriter
um so........can this make slash beast charge sword cards and give paralyze effects to enemy? (similar to elec cross)
Posted ImagePosted ImagePosted Image
Posted Image
Profile
Quote
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Guides & Research · Next Topic »