*Transfferred from my original post at the original forum*
Okay, some pacs still need hexing, so, ill write a guide.
Does Not Covers indexxed tgas and mipmapping. Sorry.
I am going to use Mario as My example.
YOU WILL NEED:
SSBBarc (newest version) and everything that comes with it)
Ash and Tools
PAC to edit.
Make an ash folder. In c, make a folder called "mario". Place everything from SSBBarc there. Also, place texconv there.
Extract Mario as done normally in ASH.
Edit tgas. (Sorry im going to be a bit basic with the ash parts, dont consider this a good guide for starters).
Here comes the hard part.
For all editted tgas, copy the folder they are in to the mario folder you made.
In it, paste this:
file 0 = [full location of .tga]
image 0 = 0, 0, type
texture 0 = 0, x
Now, where it says full location of tga, change that to where its located. i.e. C:\Mario\01FitMario_BodyA\tex#00_14.tga
For Type, look at the last two numbers in the tga. Change type based on this:
00 = I4
01 = I8
02 = IA4
03 = IA8
04 = RGB565
05 = RGB5A3
06 = RGBA8
08 = CI4
09 = CI8
10 = CI14X2
14 = CMPR
Based on the previous example, a correct 01FitMario_BodyA would look like this:
file 0 = C:\Mario\01FitMario_BodyA\tex#00_14.tga
image 0 = 0, 0, CMPR
texture 0 = 0, x
Now, for saving it. For the files name call it what it is named minus the numbers before the words. So, for this one, call it FitMario_BodyA. Now, go down to save as all files, and change it to FitMario_BodyA.tcs. Save it in the mario folder you made.
Repeat this for all editted tgas. (You can just skip the ones you didn't edit.
Now, go to run. Run cmd. Type this in:
It'll ask you to type in the name of the .tcs. It'll ask you if this is correct, type in y. It'll than ask you what to save it as. Type in what you named the tcs, but instead make it a .tpl. It'll ask you if this is correct. Put y again.
Repeat this for all tcses.
Now, in Mario, run SSBBextract on the pac you editted. It will make a folder with a lot of .brres. keep extracting brreses till you get a folder called Textures(NW4R). Look in there. It should have tpls named the same as what you editted. For bigger pacs, it usually wont have all the tpls, but just some. But, not for this one. BTW, the brres for mario that has the tpls in it is 001.brres.
The tpls should be named exactly the same as what the tpls you made are. If not, you either did it wrong, or the tpls are not in that folder. If they are named wrong, change them now.
Go to run. Run cmd. Type in:
SSBBarc (name of brres).brres -i (name of tpl).tpl
SSBBarc 002.brres -i FitMario_BodyA.tpl
Repeat for all tpls.
Now, to insert the brres into the pac, type in:
SSBBarc FitMario00.pac -i 002.brres
There, pac editted! Yay!
Now, since all character pacs can be editted with ASH, I'm not gonna cover how to change a pac to a pcs. However, i think lz77ex will work, but idk. But, it doesnt matter, since almost everything that ive seen that needs to be hexxed is a pac.
Special thanks: The forum, meowmix boards, syntax error guide.
I used a lot of things from those, some copy pasted. (Like the brackets that need filling out.)