Post by neontogepi on Jun 19, 2009 19:56:18 GMT -5
Okay, some pacs still need hexing, so, ill write a guide.
NOTES:
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.
Set up:
Make an ash folder. In c, make a folder called "mario". Place everything from SSBBarc there. Also, place texconv there.
Step 1:
Extract Mario as done normally in ASH.
Step 2:
Edit tgas. (Sorry im going to be a bit basic with the ash parts, dont consider this a good guide for starters).
Step 3:
Here comes the hard part.
For all editted tgas, copy the folder they are in to the mario folder you made.
Step 4:
Open Notepad.
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.
Step 5:
Now, go to run. Run cmd. Type this in:
cd..
cd..
cd Mario
TexConv
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.
Example:
FitMario_BodyA.tcs
y
FitMario_BodyA.tpl
y
Repeat this for all tcses.
Step 6:
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.
Step 7:
Go to run. Run cmd. Type in:
cd..
cd..
cd Mario
SSBBarc (name of brres).brres -i (name of tpl).tpl
Example:
cd..
cd..
cd Mario
SSBBarc 002.brres -i FitMario_BodyA.tpl
Repeat for all tpls.
Step 8:
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.
Any questions?
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.)
NOTES:
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.
Set up:
Make an ash folder. In c, make a folder called "mario". Place everything from SSBBarc there. Also, place texconv there.
Step 1:
Extract Mario as done normally in ASH.
Step 2:
Edit tgas. (Sorry im going to be a bit basic with the ash parts, dont consider this a good guide for starters).
Step 3:
Here comes the hard part.
For all editted tgas, copy the folder they are in to the mario folder you made.
Step 4:
Open Notepad.
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.
Step 5:
Now, go to run. Run cmd. Type this in:
cd..
cd..
cd Mario
TexConv
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.
Example:
FitMario_BodyA.tcs
y
FitMario_BodyA.tpl
y
Repeat this for all tcses.
Step 6:
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.
Step 7:
Go to run. Run cmd. Type in:
cd..
cd..
cd Mario
SSBBarc (name of brres).brres -i (name of tpl).tpl
Example:
cd..
cd..
cd Mario
SSBBarc 002.brres -i FitMario_BodyA.tpl
Repeat for all tpls.
Step 8:
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.
Any questions?
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.)