+
|
... |
List of custom fonts: Custom Fonts - Custom Mario Kart
---
Requirements:
Hex editor (and hex editing skills)
These PNG files: kart_kanji_font_PNG.zip
TexConv.exe (from the Revolution SDK, illegal to download without paying Nintendo)
An image editor that supports layers and transparency (Photoshop, Paint Shop Pro, etc)
Font.szs (and kart_kanji_font.brfnt from inside this.. Get it from your ISO! It's in the DATA/Scene/UI folder)
CTools (or SZS Modifier if you're not replacing the countdown font with the one you make)
Optional:
Tempus' BRFNT "editor" (it doesn't edit, it only views)
1) Open the PNG files and edit them to your will. Remember that each character is on a grid, so it isn't recommended that you draw outside the original character!
2) Make sure they have alpha channels and save them as TGA files (This is important, TexConv doesn't read PNGs to my knowledge)
3) Use this script:
Code:
file 0 = xxx.tga
image 0 = 0, 0, IA4
texture 0 = 0, x
file 1 = yyy.tga
image 1 = 1, 1, IA4
texture 1 = 1, x
xxx = name of first tga file (the one that starts with a space then !)
yyy = name of 2nd tga file (the one that starts with パ [katakana 'Pa'])
Save it as a txt file.
4) Put your TGA files and the script in the same folder as TexConv (../X86/bin, if you haven't moved it)
5) Run TexConv.exe and do what it says. When it asks for a full location, you don't need to type it all out. (eg.: c:\Users\MikeYoshi\Desktop\RVL_SDK\x86\bin\script. txt) Just type the name of the script if it's in the same folder. (eg.: script.txt) Then press enter and press y. Then type the name of the file you want it to export. I generally type font.tpl.
OPTIONAL) Open the newly created TPL in CTools' image editor. You'll only see image 1, this is ok. This is just to check to make sure your transparency worked. If you see a checkered background behind your font, it's correct. If not, you have a solid color there and it will appear to have a background where letters are in-game. You don't need to check if you're certain it's correct.
6) Open the TPL and kart_kanji_font.brfnt in a hex editor.
7) Copy EVERYTHING in the TPL starting from 0x00000070.
8) Paste it into the brfnt starting from 0x00000050. Save the brfnt.
OPTIONAL) Open Tempus' BRFNT viewer. Select 'file' then 'open'. Select your BRFNT. Scroll down and make sure everything looks right. If it does, it's done and ready to be inserted into font.szs. Make sure to put your mouse over a few characters and make sure their IDs are proper (put your mouse over the A and make sure an A appears on the tooltip). If you see a square, it means your image somehow ended up bigger than the original and it overwrote stuff.
9) Open Font.szs in SZS Modifier and replace kart_kanji_font with your edited one. Save.
OPTIONAL) Use CTools instead and also replace tt_kart_font_rodan_ntlg_pro_b with your font. This will change the font that appears on the countdown.
Done! You should now see custom fonts by placing that font.szs in My Stuff in Bean's Riivolution pack or by replacing it on your ISO.
|