Okay, I'm trying to figure something out but I'm having a little trouble. I figured I'd post it here just so I could get suggestions if anyone had any ideas.
My current project is trying to determine how the game identifies the number of colors for each character.
Let me explain. A Wii game's entire file structure is contained in a file called fst.bin. This file lists things such as each file's/folder's name and location on the disk (offset). For those of you who don't know, each character's folder on the disk has the following files, in this order (Pika is the example):
FitPikachu.pac
FitPikachu00.pac
FitPikachu00.pcs
FitPikachu01.pac
FitPikachu01.pcs
FitPikachu02.pac
FitPikachu02.pcs
FitPikachu03.pac
FitPikachu03.pcs
The first file, without numbers at the end contains things like the effects of attacks (% and effect (EX: Pikachu's dsmash sucks you in)). Files ending in numbers then .pac are never used. Files ending in numbers then .pcs are the files the game uses for the character data. The .pac files contain the same information as the .pcs files, but are not compressed.
For my first test I editted the fst.bin so that FitPikachu03.pac was named FitPikachu03.pcs. I then changed the name of the original FitPikachu03.pcs to FitPikachu04.pcs. I inserted my original texture hack into the new 03, so the files were as follows:
00: original
01: truckerchu
02: ninjachu
03: texture hack
04: gogglechu
I wanted to see what would happen if I tried to load the 4th costume (03). Would it load the correct texture (blue goggles) which was at the right offset or would it load the hack which had the right name. It loaded the hacked texture.
This led me to believe that the game uses the file names for identifying a characters different costumes. I did a search of every file in the iso to see if even the smallest part of the filename was found (I search for '01_en' which relates to one of Captain Falcon's files). In the end I came up with nothing. The only file containing what I searched for was the costume itself.
This got me thinking it might be something other than file names. I once again edited the fst.bin. This time I changed FitPikachu03.pcs to FitPikachu04.pcs. This way there was no FitPikachu03.pcs on the disk. I tried it again, trying to load the 4th texture. This time when I tried to load the game would just stop after I selected a map. It would not freeze, since I could still turn off the console normally and use the home button to reset the game, it just wouldn't load anything beyond the stage select screen (the file it was trying to load didn't exist).
This once again led me back to file names, and I can't think of what else it could be. Still, I've searched the entire .iso multiple times and I still can't find any file that makes any reference to the actual character files. I don't really think posting this is going to do much good, but I also figure it couldn't hurt.
Remember, I've never taken any computer courses and everything I know about this is just what I could piece together from a few random articles on Google. Really, my I have little to no experience in any of these areas, so anyone who has taken a class would know more about this stuff than me.
On a side note, I've been able to obtain a program which I believe may be able to decompile Brawl's main executable (and other files). Problem is, there is a license check for the plugin I need to do it, so it's not letting me load anything.