Just try your best to follow these steps, as it took me a while also.ģ.2. Repeat this for every single texture you want to replace gtx file from earlier, and it should always have the "1" at the end of its name. The file should be smaller than the uncompressed. This means you've done it correctly and that your file is now in the. Run "splicer.bat" and if it works, a new file will be made in the main TexHaxU directory "anus_alb1.gtx". " hax.py anus_alb.dds Mario.bfres X 31 pause"Įxample: " hax.py kinopio_alb.dds Kinopio.bfres 9 34 pause"
Now, here's an example how the script should look now: Edit the script again with this number and run the script again. Then, when you run the script's edited version, you'll see the "GTX Mips = X", which is the definitive minmip number you want. You need to edit the script and replace the "0" with whatever number you see. Once the script runs, it will show you "BFRES Mips = X". Now, of course, the "0" is just temporary. "filename" is again replaced by the file's actual name, and the "0" is the minmip number. It should be written without brackets or quotation marks. "position" is obviously the file's position you got earlier. Again, do not include the quotation marks. Then, make a new file called "splicer.bat" and in it, write " hax.py filename.dds Mario.bfres 0 position pause".Įxample: " hax.py kinopio_alb.dds Kinopio.bfres 0 34 pause". Once you get the file list, search for your file's name in it and mark down the file's position. Do this in the TexHaxU folder and do not include the "quotation marks".
You must download Python 2.7 for this to work, as the hax.py file has instructions only Python can interpret/decode.Įxample: " hax.py Kinopio.bfres pause". Running it will show you all the texture positions in the file, which are crucial for the textures to get inserted. In this file, write " hax.py Mario.bfres pause". Make a new text file and name it "filelist.bat". All of the GBATemp text will be in Green. Step 2a: Filelist.bat and Splicer.batThis will be really hard for me to explain, so I'm just going to copy down what lonemoonHD put on the GBATemp thread and add examples. I don't know why it works for some people and not for others without converting to PNG, but it might be worth linking to DDS converter in the guide and telling people to convert the DDS files to PNG files if they run into issues. I had followed every step up to the DDS extraction perfectly, and they still didn't show up properly. I think it might be worth making a note of this in your guide, since other people will probably run into the same issue.
Then after a bit of trial and error of getting to understand the Injection steps, I've been able to get my texture to work in the game without issue (pictured below - the love heart on her back is now a Grand Star). I then edited the PNGs in Photoshop, and when I was done, I saved them as DDS in the correct formats. Step 1e: DDS Editing in PhotoshopNow, I do not have Photoshop, but ChikoLad in the comments said: I nstead of opening them directly, I used DDSConveter to convert the extracted DDS files from OutDDS_Lossless folder, into PNG files. Grab the DDS file and the GTX file with the same name and put them on the main TexHaxU folder.Ģ.5. When you are done editing them, save them as DXT1 with mipmaps. In the OutDDS_Lossless folder, open any DDS file you want in Paint.NET and edit them however you like.
You can only open the DDS files in Paint.NET and Photoshop, however I do not have Photoshop so I can't teach you how to use it. DO NOT GO INTO THE REGULAR OUTDDS FOLDER, the files will not open. Step 1d: DDS EditingGo into the OutDDS_Lossless folder.
Paste the gtx files at the root of the Convert folder. Go into that subfolder and copy all of the gtx files. Their should be a subfolder with the name of your bfres file. Wait for the application to finish and go into the Convert folder. Step 1c: GTX ExtractionOpen the extract.bat file. Place your new bfres file in the TexHaxU folder.Ģ.3. "Kinopio.szs 0.rarc" renamed to "Kinopio.bfres"
Rename the file extension of the rarc file to bfres. Take your szs file and drag it over the yaz0dec.exe. Step 1b: SZS DecryptionIf you have a bfres file, you can skip this step.
Some drivers have their Japanese names, like Toad who has his Japanese name, Kinopio.Ģ.2. If you have a bfres file, put it in the TexHaxU folder. If you have a szs file, put it in the Yaz0dec folder. It does not matter which one just grab one. Step 1a: Getting Ready to ExtractGrab a szs or bfres file from your game dump. What you will need1: A game dump, you can get this using the titledumper, or DDD.Ģ. I have another tutorial for all of you today.