Hacking Creating TEX0 file

  • Thread starter Thread starter Gamer4647
  • Start date Start date
  • Views Views 2,398
  • Replies Replies 5

Gamer4647

Well-Known Member
Member
Joined
Jul 16, 2016
Messages
242
Reaction score
81
Trophies
0
Age
26
XP
477
Country
I'm trying to replace the strap safety message that appears when Mario Kart Wii loads
I've already got the original standard and widescreen images and edited them, but I'm new to using Wiimms SZS Tools

strapAstandardcustom.png
strapAwidecustom.png
 
Last edited by Gamer4647,
1. extract the strap: wszst xd strap.szs
2. cd to strap.szs.d/Textures(NW4R) and edit the png files
3. go back to the dir where strap.szs resides
4. wszst create strap.szs.d -od new-strap.szs
 
1. extract the strap: wszst xd strap.szs
2. cd to strap.szs.d/Textures(NW4R) and edit the png files
3. go back to the dir where strap.szs resides
4. wszst create strap.szs.d -od new-strap.szs
I replaced the png files in the folder and remade the szs, but whenever I open the new file just made, it has the original Nintendo images in the file
 
The new TeX file is only created, if missed or older than the related png file.

=> Touch it the new png, so that it is younger than the file without ".png".
Or remove the files without ".png", so that they must be re-created from png.

Then repeat step 4

You can verify it by looking at the file dates.

EDIT:
There is a third way: Option --encode-all
=> wszst create strap.szs.d -od new-strap.szs --encode-all
 
Last edited by Wiimm,
The new TeX file is only created, if missed or older than the related png file.

=> Touch it the new png, so that it is younger than the file without ".png".
Or remove the files without ".png", so that they must be re-created from png.

Then repeat step 4

You can verify it b looking at the file dates.

EDIT:
There is a third way: Option --encode-all
=> wszst create strap.szs.d -od new-strap.szs --encode-all
Removing the other files fixed the problem
Thanks for the help

I've opened up a thread here for help with the tool in general
I'm using it for the first time :P
 
I compare the timestamps for optimization, like make and other Unix tools do it:

Example: You extract a track.szs containing BRRES files and they are also extracted. And the TEX files are converted to PNG. If you change only 1 PNG file now and re-create the SZS, then
1.) Only this PNG file is converted into TEX.
2.) Only the related BRRES file is re-created
3.) The SZS file is re-created.
 

Site & Scene News

Popular threads in this forum