Hacking Creating TEX0 file

Gamer4647

Well-Known Member
OP
Member
Joined
Jul 16, 2016
Messages
242
Trophies
0
Age
23
XP
440
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,

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
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
 

Gamer4647

Well-Known Member
OP
Member
Joined
Jul 16, 2016
Messages
242
Trophies
0
Age
23
XP
440
Country
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
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
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,

Gamer4647

Well-Known Member
OP
Member
Joined
Jul 16, 2016
Messages
242
Trophies
0
Age
23
XP
440
Country
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
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-