Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,490,380
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-27-24 12:35 AM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 1 bot

Main - ROM Hacking - Advance Wars 2 - Pointer Hack Ultra New thread | New reply


Xenesis
Posted on 05-05-09 09:03 AM (rev. 2 of 05-05-09 07:02 PM) Link | Quote | ID: 106520


Level: 46

Posts: 214/416
EXP: 672146
Next: 39628

Since: 02-20-07

Last post: 4385 days
Last view: 3093 days
For the benefit of anyone who wants it, this little assembly hack is an aid for anyone wanting to hack AW2. It uses AW2 (U) and assumes a clean ROM (use this patch to remove an intro)

It's a modification to the way stats are called in the game that now allows you to edit each one independently on a per-unit basis instead of modifying the game's pre-set unit classes. It basically removes a lot of limitations at the cost of taking up a lot more space (But when you barely use 6mb out of 8, meh.)




IPS Patch

Now there's no rules about stat combinations when hacking in AW2. Each unit can now have it's own unique set of firepower, defence, movement and range stats under D2D, COP and SCOP conditions for every CO.

CO Data starts at 0x619750 in the ROM. There is an entry for every single unit in the game, including the dummy units + 1 buffer to keep the arrays aligned nice. ASCII Labels for your convenience. The game now ignores any of the pointers to CO Stats in the CO Data and just uses this format.

I copied the CO stats painstakingly by hand. Tell me if I typo'd anything or you find any bugs.


Edit:
As an update, I have compiled a Nightmare 2.0 Module for the Edited CO Tables. You can find the module file here.

Main - ROM Hacking - Advance Wars 2 - Pointer Hack Ultra New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (339KB of memory used)
MySQL - queries: 32, rows: 53/53, time: 0.015 seconds.