Texture Hack Tutorial
Made by Yosh
To make a texture hack, you need :
-BrawlCrate
-Python 3.9 (at least python 3) and for sure :
-Wiimms SZS Tools
Run "Png texture replace (CLI)" or either png.py, p.py, or t.py in MSM tools
How png.py works :
the script starts by scanning the 4 first bytes of all files in your current working directory to find either a brres or an arc. once it has found it, the script asks you if that's the file you want to edit
then it asks you a png name (you can drag and drop your png in the window then press enter) then the script asks you the texture position
It directly looks into the brres file to encode them in the right colour format and number of mipmaps ! Once you gave all pngs names, the script will automatically replace them in the brres after converting them with Wiimms SZS Tools
Texture Position
count the texture position by opening the brres or arc in Brawlcrate. (open every Texture folder of every brres, this means external folder counts too and all brres count in an arc file)
you can start counting by the bottom by adding a - (minus) before your number
if you plan to make a character
be sure to do it and look at texture positions 4 times ( C, H, and B mdl versions + the brres inside menu.mdl)
Pro tips
To see where a texture is used, open Materials folder and click on a texture reference.
Click on the grey "MDL0" to see the model preview
Download the files below if you want from left to right, ripped textures from:
Characters Goals Stages
Features of yosh's script :
• no need to open hex editor
• automatically search for a brres file (no matter the name and the extension)
• tex0 name can be whatever you want as it's not replaced in the brres
• using png.py, you can drag and drop the png name into the script window
• texture position supports counting by the bottom, just put a - (minus) before the number (don't forget external folder textures count too)
• if a texture size is not the same than the one it replaces, this script displays why and prevents corruption
You can make a texture hack on EVERYTHING :
a character, a stage, a goal, a npc, or even a ball ! ( main menu background is a stage too ! )