Jump to content

Easiest way to edit type effectiveness for BW2


Recommended Posts

I've been hoping that someone would make an editor for it. I know Andibad was working on one but he hasn't touched his stuff much in a very long time.

What would be the easiest way to go about doing this? Like if I wanted to make water weak to poison for example.

Edit: oops. I forgot to mention for Black and White2

Edited by ArcticPrism
Link to comment
Share on other sites

  • 1 month later...

I'm having a bit of trouble getting this to work. I unpacked my rom using DSBuff, decompressed the overlay using blz, and then made all my changes, but I'm not really sure what I'm supposed to do after that. I tried compressing it and repacking, and the game starts fine, but it crashes whenever a battle starts. I've tried both White and White 2, and the same thing happens on both.

Link to comment
Share on other sites

  • 6 months later...
I'm having a bit of trouble getting this to work. I unpacked my rom using DSBuff, decompressed the overlay using blz, and then made all my changes, but I'm not really sure what I'm supposed to do after that. I tried compressing it and repacking, and the game starts fine, but it crashes whenever a battle starts. I've tried both White and White 2, and the same thing happens on both.

Hello, have you solved this problem yet? I have same problem here. Whenever i make changes in the overlay using hex editor, encode it and repacked it again then play the game it will always crashed when the battle is about to start (i've just made few changes in the overlay: removing the resistance of steel from ghost & dark). But if i just deccode the overlay and encode it without making any changes then repacked it again, the battle would just start finely. I've used these tools to perform editing: DSBuff, blz and HxD. Can someone help me fix these problem please :)

Link to comment
Share on other sites

either a. re-compress the overlay with blz.exe or b. don't bother re-compressing the overlay and edit the overlay table (y9.bin) to indicate the overlay you're editing isn't compressed.

Umm.. which offset that i should edit in y9.bin? :confused:

Thank you

Edit: it's worked now. thank you for helping me :)

Edited by Malthael
Link to comment
Share on other sites

  • 10 months later...

http://projectpokemon.org/forums/showthread.php?29651-BW-B2W2-General-FAQ&p=165198&viewfull=1#post165198

I have managed to successfully edit the type chart. I made Normal super effective against Normal so I could easily test it at the beginning of a game in case something goes wrong. However, is there an easier way to view the chart in a hex editor? The hex editors I've tried only show 16 rows, which obviously throws off the alignment significantly and makes finding the values I want a lot harder. If I change to 17 rows the same thing happens. Are there any hex editors that will let you view selected data in separate view alone?

Defending -> 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10
0x000: 0x00: 0x04 0x04 0x04 0x04 0x04 0x02 0x04 0x00 0x02 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 
0x011: 0x01: 0x08 0x04 0x02 0x02 0x04 0x08 0x02 0x00 0x08 0x04 0x04 0x04 0x04 0x02 0x08 0x04 0x08 
0x022: 0x02: 0x04 0x08 0x04 0x04 0x04 0x02 0x08 0x04 0x02 0x04 0x04 0x08 0x02 0x04 0x04 0x04 0x04 
0x033: 0x03: 0x04 0x04 0x04 0x02 0x02 0x02 0x04 0x02 0x00 0x04 0x04 0x08 0x04 0x04 0x04 0x04 0x04 
0x044: 0x04: 0x04 0x04 0x00 0x08 0x04 0x08 0x02 0x04 0x08 0x08 0x04 0x02 0x08 0x04 0x04 0x04 0x04 
0x055: 0x05: 0x04 0x02 0x08 0x04 0x02 0x04 0x08 0x04 0x02 0x08 0x04 0x04 0x04 0x04 0x08 0x04 0x04 
0x066: 0x06: 0x04 0x02 0x02 0x02 0x04 0x04 0x04 0x02 0x02 0x02 0x04 0x08 0x04 0x08 0x04 0x04 0x08 
0x077: 0x07: 0x00 0x04 0x04 0x04 0x04 0x04 0x04 0x08 0x02 0x04 0x04 0x04 0x04 0x08 0x04 0x04 0x02 
0x088: 0x08: 0x04 0x04 0x04 0x04 0x04 0x08 0x04 0x04 0x02 0x02 0x02 0x04 0x02 0x04 0x08 0x04 0x04 
0x099: 0x09: 0x04 0x04 0x04 0x04 0x04 0x02 0x08 0x04 0x08 0x02 0x02 0x08 0x04 0x04 0x08 0x02 0x04 
0x0AA: 0x0A: 0x04 0x04 0x04 0x04 0x08 0x08 0x04 0x04 0x04 0x08 0x02 0x02 0x04 0x04 0x04 0x02 0x04 
0x0BB: 0x0B: 0x04 0x04 0x02 0x02 0x08 0x08 0x02 0x04 0x02 0x02 0x08 0x02 0x04 0x04 0x04 0x02 0x04 
0x0CC: 0x0C: 0x04 0x04 0x08 0x04 0x00 0x04 0x04 0x04 0x04 0x04 0x08 0x02 0x02 0x04 0x04 0x02 0x04 
0x0DD: 0x0D: 0x04 0x08 0x04 0x08 0x04 0x04 0x04 0x04 0x02 0x04 0x04 0x04 0x04 0x02 0x04 0x04 0x00 
0x0EE: 0x0E: 0x04 0x04 0x08 0x04 0x08 0x04 0x04 0x04 0x02 0x02 0x02 0x08 0x04 0x04 0x02 0x08 0x04 
0x0FF: 0x0F: 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x02 0x04 0x04 0x04 0x04 0x04 0x04 0x08 0x04 
0x110: 0x10: 0x04 0x02 0x04 0x04 0x04 0x04 0x04 0x08 0x02 0x04 0x04 0x04 0x04 0x08 0x04 0x04 0x02
^      ^Attacking Type
^Offsets

Edit: I found a workaround. I just copied the data into a txt editor and align the data as needed then just copy the data back into the hex editor with the correct format.

Edited by ArcticPrism
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...