Thread: [Tutorial] Changing Dimensions In Diamond and Pearl Maps by PokeSpam Inc. View Single Post
#1
May 29th, 2008 (10:24 AM). Edited April 15th, 2010 by Spherical Ice.
 gabe_k Join Date: Sep 2007 Location: California Age: 22 Gender: Male Posts: 588
Ok, before I start I just want to clear some stuff up. What I'm about to tell you isn't enough to make the 1000 G/S/C remakes that GBA hacking has become, but It's still something. Also, PokeSpam isn't working on a D/P map editor anymore, someone else is doing this. So let's get started. First you'll need the offsets of course.

Twinleaf Town = 29717A0
Verity Lakefront = 2981C80
Route 201 = 2985F80
Pokemon Center = 2F48368

Please note that there's more at those offsets then I'm going to explain, go ahead and experiment with other stuff ;). Now This tut is going to deal with a patch of grass on Route 201, but you can do it on other things on other maps. The hex for your average piece of ground looks like this: 22 25 22 26 00 01 00 02 00 38 00 04 00 01 00 00 00 38 00 18. If your trying to do the same piece of grass as me, that is exactly what it will look like. Now let's try changing that too 22 25 22 26 00 01 00 14 00 38 00 04 00 01 00 00 00 38 00 18. What looked like this:

Should now look like this:

So congratulations! you've just changed the dimensions on one small part of a map in Diamond... Now let's change some more dimensions, try changing it to 22 25 22 26 00 01 00 14 00 76 00 04 00 01 00 00 00 38 00 18 It should now look like this:

Great, now you've changed 2 dimensions of a piece of a map. Now, change it too 22 25 22 26 00 01 00 14 00 76 00 18 00 01 00 00 00 38 00 18. It should look like this now:

Ok, so you get the basic idea of that, 22 25 22 26 00 01 00 14(Side 1 dimensions) 00 76(Side 2 dimensions) 00 18(Side 3 dimensions) 00 01 00 00 00 38 00 18. Well there's one more thing, change it to 22 25 22 26 00 01 00 14 00 76 00 18 00 04 00 00 00 38 00 18.

That's the number of times that the texture repeats itself horizontally. And that's it. For people who didn't want to read the whole thing it pretty much comes down to this, 22 25 22 26 00 01 00 14(Side 1 dimensions) 00 76(Side 2 dimensions) 00 18(Side 3 dimensions) 00 04(Texture repeating horizontally) 00 00 00 38 00 18.

That's basically it, not enough to make a full hack, but it's something. Please DON'T post this anywhere without my permission, and happy hacking!