Guides to ROM Hacking

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
<blockquote class='quote\\_blockquote'><dl><dt>El Guapo</dt><dd>Mar 8 2012, 07:52:20 PM</dd></dl><div>I thought it might just be empty space but I wasn't sure thanks for clearing that up its got me interested, I'll be sure to pick up a copy of your B2B save to see how you did what you did and just one more question Is it possible to add something from Revenge into the free space? like say the combo system?[/quote]It is possible to add animations (I did it with the Turnbuckle Razor Edge). You could add the combo strikes, but re-creating the system is harder because the mechanisms to use it have been removed in No Mercy.

 

barskio

Main Eventer
Joined
Oct 31, 2010
Messages
715
Reaction score
1
The combo's in vpw2 are mapped from move 2088-22ea. So that's makes it rather impossible to import.

For some reason (EMI) I can't watch that vid in my country. :Da F**K?:
 

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
barskio said:
The combo's in vpw2 are mapped from move 2088-22ea. So that's makes it rather impossible to import.

For some reason (EMI) I can't watch that vid in my country. :Da F**K?:
You can't import them where they're supposed to be, but you can try at the end of the ROM file as there's plenty of space (I'm not sure if for all of them, but some yes). If the system can't be re-created I guess some of those animations can be useful for move hacks anyway.


 

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
http://z3.invisionfree.com/WldFb_Archive_Forum/index.php?showtopic=525

Importing Moves from Other Games

<blockquote class='quote\\_blockquote'><dl><dt>Quote:</dt><dd> </dd></dl><div>
It's been a while since the last guide, so it's time for a new one.

I'm assuming here that you're already familiar with the previous chapters and you know the basics about ROM hacking.

Ok, how do we get an animation from another game and put it in No Mercy?

I'll make an example using Virtual Pro Wrestling 2. I want to use one of the combo strike (the number '2' elbow). First, you need to find the animation value. In VPW2, P1's animation value is at 704C4.
If you look there while viewing this move, you'll see the value is '20DB'.

To find the ROM address we need the Toki3 values. Use this formula:

Toki3 = (animation - 1) * 4 + 80358A60
ROM = 152DF0 + Toki3

Toki3 = (20DB - 1) *4 + 80358A60 = 80360DC8

If you go there you'll see:
005FD456 (20DB's toki3)
005FD9B6 (20DC's toki3)

This move is a strike, so it uses only one animation (as opposed to grapples). While I'm here, I also get the value for the next move (that is needed to know where the animation ends in the ROM as I explained in the previous post).

I calculate the ROM addresses:
152DF0 + 5FD456 = 750246
152DF0 + 5FD9B6 = 7507A6

So, this Elbow strike begins at 750246 in ROM and the next move starts at 7507A6.
Now go to the VPW2 ROM at 750246. At the beginning you can see the Tokis2 (00 00 00 1A), write them down. Select the data and stop at 7507A6. The size of the selection should be '560' for this move.
Now use the Edit\Copy as Hex Data function (you need this to copy properly) and paste the data in the notepad.

Now, open the No Mercy ROM. If you're using the default one and you go at 01FA6B70 you'll see this:
http://imageshack.us/photo/my-images/204/rom0501.png/

We are at the end of the ROM data. The area starting with all those 'FFFF' is empty space and can be used as you wish. If you check the Back to Basics ROM you'll see how I've added several things there (those are mostly moves). In this example I'm using the default ROM and I'm adding this move right here at 01FA6B70.
So, I select '560' data in the ROM, select the data from the notepad and paste it (as 'OEM' text) in the ROM. Like I said previously, If you're doing it right you shouldn't get a message that prompts you to insert (if that happens you're using wrong sizes, try again).

Ok, now save (you backed up the original ROM before, right?)

Now, you have put the animation in the ROM, not replacing anything, but adding it. How do you use it in-game?

First, let's calculate the Toki3 address for No Mercy. We use a similar formula to the one we used in the 4th guide.

Toki3 = ROM address - 1BD1B0
Elbow's Toki3 = 01FA6B70 - 1BD1B0 = 01DE99C0

To use this animation, the Tokis must use these:

8134xxxx 01DE
8134xxxx 99C0

How can you proceed from here? There are a few options:

1) Change the Tokis of an existing move to replace it (like you would do for any hacks that uses Tokis3)
2) Change the Tokis of an unused move to replace it
3) Make a Custom MMM that uses a free animation (one that is not currently assigned to any MMM)


To make this guide simpler I'll use option 1 here. I want to replace the default Elbow Weak Strike

animation: 3325
Tokis:
813264F0
813264F2
8134A6F0
8134A6F2

I replace them with:
813264F0 0000
813264F2 001A
8134A6F0 01DE
8134A6F2 99C0


If you go to SD Mall and preview the Weak Elbow Strike you'll see the new animation. It works like any animation in the game so you can use it as a splice for move hacks also.


That's it for now, let me know if you have questions
[/quote]


 

AKI Man

Legend
Joined
Oct 30, 2010
Messages
14,152
Reaction score
0
Website
s4.zetaboards.com
Excellent contribution WldFb. I am still trying to understand ROM hacking and this is a very user friendly guide. For myself, I am very interested on how you edit colours of Masks such as what you did for Kane's mask in the B2B save.

Is it possible to import attires from other AKI wrestling games like VPW2 or even Revenge?
 

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
<blockquote class='quote\\_blockquote'><dl><dt>AKI Man</dt><dd>Jul 21 2012, 04:29:21 PM</dd></dl><div>Excellent contribution WldFb. I am still trying to understand ROM hacking and this is a very user friendly guide. For myself, I am very interested on how you edit colours of Masks such as what you did for Kane's mask in the B2B save.

Is it possible to import attires from other AKI wrestling games like VPW2 or even Revenge?[/quote]I'm not sure about importing attires as I think the textures are handled in a different way.
As for the colours, I actually made a new code recently that doesn't require ROM hacking (it's a specific face skin colour used for a mask). I'll post how to do it as soon as possible.


 

AKI Man

Legend
Joined
Oct 30, 2010
Messages
14,152
Reaction score
0
Website
s4.zetaboards.com
WldFb said:
<blockquote class='quote\\_blockquote'><dl><dt>AKI Man</dt><dd>Jul 21 2012, 04:29:21 PM</dd></dl><div>Excellent contribution WldFb. I am still trying to understand ROM hacking and this is a very user friendly guide. For myself, I am very interested on how you edit colours of Masks such as what you did for Kane's mask in the B2B save.

Is it possible to import attires from other AKI wrestling games like VPW2 or even Revenge?
I'm not sure about importing attires as I think the textures are handled in a different way.
As for the colours, I actually made a new code recently that doesn't require ROM hacking (it's a specific face skin colour used for a mask). I'll post how to do it as soon as possible.


[/quote]Yeah I pretty much thought that was the case for the attires.

Also really looking forward to "Specific" code for colour changing masks. I have some wrestlers I would like to hack.

Also sorry to be such a annoyance but regarding editing the shape of beards and possibly making more authentic horns. I remember you did a request for me to make a longer beard of which looked amazing. Is there a similar method you can do to make pointed horns on different sections of the head, IE sides?
 

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
<blockquote class='quote\\_blockquote'><dl><dt>AKI Man</dt><dd>Jul 21 2012, 04:42:23 PM</dd></dl><div>Also sorry to be such a annoyance but regarding editing the shape of beards and possibly making more authentic horns. I remember you did a request for me to make a longer beard of which looked amazing. Is there a similar method you can do to make pointed horns on different sections of the head, IE sides?

[/quote]It's posssible in theory. There are seversal polygon points around the head and it's not very easy to find the right ones (and use proper values to make them look decent).


 

AKI Man

Legend
Joined
Oct 30, 2010
Messages
14,152
Reaction score
0
Website
s4.zetaboards.com
Gotha! Ok, thanks for the reply WldFb. Its just really awesome to see what new finds have been discovered by you. Great work buddy.
 

WldFb

Lower Midcard
Joined
Oct 31, 2010
Messages
117
Reaction score
0
Website
www.tapatalk.com
Added information for other games:


<blockquote class='quote\\_blockquote'><dl><dt>Quote:</dt><dd> </dd></dl><div>
Here are the formulas for other games:


WM2000

P1 Animation at: 5b124

Toki3 = (animation - 1) * 4 + 80358A20
ROM address = Toki3 + 144AA0

---

Revenge

P1 Animation at: 706AC

Toki3 = (animation - 1) * 4 + 803B7C00
ROM address = Toki3 + DAC50

---

VPW64

P1 Animation at: 593CC

Toki3 = (animation - 1) * 4 + 803BEB30
ROM address = Toki3 + 4AD00

---

Just follow the same method explained before and it should work fine.
[/quote]


 
Top