Hai gaiz, y r u stil use codes 4 sound bank modz?
*shot*
Ahem, it turns out that you can modify sound banks (
along with a bunch of other things) inside the sora_melee module (
found in common2.pac). Most of this stuff was already documented by Dantarion on the OpenSA website, but it was all in ingame address form. The main points of interest are stored in Section[4], but there's a few interesting things in Section[5] too.
Section[4]
0x10C0 .pac List
0x119C Kirby Hat .pac List
0x1278 Kirby Hat File Types
0x12B0 Entry File Types
0x12E8 Result File Types
0x1320 .rel list
0x13FC Color Flags
0x14D8 Character Sets
0x18F0 Internal Fighter Name List
0x1B84 Entry Article Data
0x1C60 Sound Banks
0x1E18 MotionEtc File Data
Section[5]
0x2C3A0 IC Constant Sets
0x48B94 Ai Controllers
Each field holds about 55 entries corresponding to each character's internal id. The .rel list and .pac lists are pointers to the strings representing files for a particular character. More info on these can be found on Dant's website
here. Of particular interest is the Character Sets(
at 0x14D8), which sets which characters are preloaded in the case of Zelda/Sheik or Pokemon Trainer - if there's been any problems with porting those characters, that'd be one of the places to look.
In section[5] I've listed the Ai Controller functions which (
if I recall correctly) were one of the things I had issues with back when I was working on the Clone Engine - those need to be adjusted when doing module ports to and from certain characters.
If you want to make modifications to the sora_melee module, you'll need to use the Module Editor 3 - but the last version had a bug in the relocation calculations that corrupted the file, so I've updated it to 3.1
here.
Oh, as a bonus, I think there's a spot in Main.dol at 0x4512E0 (
ingame address 0x804551E8) which determines which colors are available for each character in the CSS - but I'm just working off of a vague memory of something long ago and a memory dump of Brawl, so I could be completely wrong. Anyways, if anyone's interested in working on the Masquerade project, you'd need to look for something like that.
Anyways, just thought I'd drop by for the dying days of the Wii era. There's not too many of us left these days - I hear that even BlackJax is gone or has at least gone on reduced activity like me.