Tutorial How to Create/Edit .tga Files for Haxchi

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
123
Country
United States
(You guys, feel free to post your .tga files you make for others)

I am making this guide due to the fact that it took me a few hours of googling to figure out how to make a custom Haxchi tga file work and haven't seen or found a guide.


DISCLAIMER:
IF STEPS AREN'T FOLLOWED, YOUR HAXCHI WILL APPEAR AS A BOX WITH "???" AND SAY THE FILE IS CORRUPT.
THIS CAN BE EASILY FIXED BY EITHER: REPLACING THE ORIGINAL TGA FILE OR CORRECTLY EDITING THE TGA FILE.
THEN RE-RUN THE HAXCHI INSTALLER AND IT WILL FIX IT BACK
SO IF YOU DON'T HAVE A ALTERNATIVE METHOD OF OPENING THE HOMEBREW MENU, THEN DO THIS AT YOUR OWN RISK.


I AM NOT RESPONSIBLE FOR YOUR MISTAKES

---Don't Repost Anywhere Else Without Permission Please---


How to in GIFs by DonnieV:
(Do everything in GIMP with TgaVerifier, without Paint/HexEditor)
For the Boot Tv and Boot Drc you need to merge all layers to one and disable alpha/transparency
kQSoKP3.gif

For the Icon Tex you need to merge all layers to one and enable alpha/transparency
zT1pK2u.gif

Export as TGA and disable RLE compression.
2kysJQn.gif

Place the TgaVerify script by @Zarklord into your meta folder and run it.
5ERtUS0.gif

Proof
RUYPShW.png

Or for people who like to do it manually:

Things you will need:

-First a Photo Editor; Optional:

Note: You can just use Paint.net instead of these editors
  • GIMP 2 (freeware similar to Photoshop)(Advanced)​
  • Photoshop (Not Free)(Advanced)​
Then Download:
  • Paint.net (used to save the file as a .tga)(Intermediate)​
  • HxD hex editor (any other hex editor will work)​
Parameters:
  • bootDrcTex.tga : needs to be 854x480, uses 24 bits, uncompressed (Tablet Image)​
  • bootTvTex.tga : needs to be 1280x720, uses 24 bits, uncompressed (TV Image)​
  • iconTex.tga : needs to be 128x128, uses 32 bits, uncompressed (App Image)​
Has to be at the end of the Hex for the tga
  • 00 00 00 00 00 00 00 00 54 52 55 45 56 49 53 49 4F 4E 2D 58 46 49 4C 45 2E 00 00 00 00 00​
How to Edit/Create the tga Files:
  1. Make a BackUp of the original file if editing​
  2. Open the file you are wanting to edit/create (I used GIMP 2 and iconTex.tga file)​
  3. Edit/Create your iconTex.tga to your liking, minding the parameters required above​
  4. Save your image as iconTex.tga or which ever file you chose​
(If your using paint.net then use the parameters above for each corresponding file or look below.)

Next:​
  1. Open up your newly edited/made iconTex.tga​
  2. Then just save as​
  3. Select .tga​
  4. Check the box for either: 32 or 24 bits (refer back to parameters for that file)​
  5. Check Uncompressed​
  6. Save​
Then:​
  1. Open HxD or your preferred hex editor​
  2. Open your newly formatted iconTex.tga you made with paint.net​
  3. Scroll to the bottom​
  4. Copy 00 00 00 00 00 00 00 00 54 52 55 45 56 49 53 49 4F 4E 2D 58 46 49 4C 45 2E 00 00 00 00 00 to your clipboard​
  5. Select edit tab, and select "paste insert"​
  6. Before​
  7. image2_Easy-Resize.com.jpg
  8. After​
  9. image3_Easy-Resize.com.jpg
  10. Save​
  11. Viola Your done​
  12. Throw the iconTex.tga into Haxchi Folder and run the Haxchi Installer​
My Own Custom iconTex.tga
image4_Easy-Resize.com.jpg image5_Easy-Resize.com.jpg

Made this for my friend so she can just click Haxchi and have it automatically load up Mocha+FSHax. (avoid her messing with the homebrew channel, basically child locked it and she doesn't know the button config to launch it) I wanted a image to represent what i had done. So i threw together this little image.​
 
Last edited by Dakota Nix,

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
123
Country
United States
I'll test it when I get off work, but downloaded it to my phone. I'll let you know if it worked. Do I just reinstall haxchi or how do I do this?

Make sure you have the haxchi folder on the root of you SD card. Then have the haxchi installer elf in the app folder. Then load up the haxchi installer and proceed to install. You can also change the name inside the text file for the app to.


Sent from my iPhone using Tapatalk
 

Rngr

Active Member
Newcomer
Joined
Mar 22, 2017
Messages
29
Trophies
0
Age
35
XP
88
Country
Canada
Here are graphics that I created for Haxchi icons and load screens. Attached at the bottom of this post are the files you can place in your Haxchi folder on the root of your SD card to get some cool looking images! They all work, I've tested and use it myself. Enjoy!

iconTex.jpg



bootDrcTex.jpg


bootTvTex.jpg
 

Attachments

  • Nintendo Haxchi Replacement Graphics.zip
    1.9 MB · Views: 512

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
10,655
Trophies
3
Location
WA State
Website
ko-fi.com
XP
12,156
Country
United States
  • Like
Reactions: Rngr

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
123
Country
United States
  • Like
Reactions: Rngr
D

Deleted User

Guest
  • Like
Reactions: Rngr

milhousevanhouten

Well-Known Member
Member
Joined
Nov 1, 2016
Messages
192
Trophies
0
Age
19
XP
97
Country
Netherlands
can you show me a screenshot cause I think I did it right but it doesn't change anything I used gimp

--------------------- MERGED ---------------------------

nvm probally need paint.net to change the bit range
 

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
123
Country
United States
Nice tutorial. Though if you are already using GIMP to edit the file, you don't need paint.NET to save it as tga.
Also you can skip the hex editing if you use the python script located in this thread: https://gbatemp.net/threads/tgaverifiy-a-tga-verifier.450997/
I see that it allows .tga file type, but does it allow the changing of the bits? i checked export as, then .tga, but didn't show anything about the bits. if you can show me then i'll gradly update the guide.

Edit: So basically your saying you can save your image in GIMP as a .Tga, then run that script to automatically convert to the bit and add the hex?
 
Last edited by Dakota Nix,

DonnieV

Active Member
Newcomer
Joined
May 2, 2017
Messages
29
Trophies
0
Age
26
XP
59
Country
United States
Yeah you just make sure you disable the alpha channel (transparency) if it's the TV/DRC background and enable it if it's the boot icon. Choose export as TGA in GIMP, and a pop-up should ask if you want RLE compression and you disable it.
Then you run that Python script in same folder as your TGA files and it will edit the bits for you, as well as tell you if you forgot to disable/enable the alpha channel or if you forgot to disable compression.
Once you go back and fix them in case you forgot, run it again and it will say "all TGA's verified".
I've used this script for editing haxchi numerous times, as well as all of my virtual console game's meta files in loadiine.
I'll record a quick thing of me doing it right now.
 
Last edited by DonnieV,
  • Like
Reactions: Dakota Nix

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
123
Country
United States
Yeah you just make sure you disable the alpha channel (transparency) if it's the TV/DRC background and enable it if it's the boot icon. Choose export as TGA in GIMP, and a pop-up should ask if you want RLE compression and you disable it.
Then you run that Python script in same folder as your TGA files and it will edit the bits for you, as well as tell you if you forgot to disable/enable the alpha channel or if you forgot to disable compression.
Once you go back and fix them in case you forgot, run it again and it will say "all TGA's verified".
I've used this script for editing haxchi numerous times, as well as all of my virtual console game's meta files in loadiine.
I'll record a quick thing of me doing it right now.
I just added our posts toward the top of the guide. Thanks for simplifying it down
 

DonnieV

Active Member
Newcomer
Joined
May 2, 2017
Messages
29
Trophies
0
Age
26
XP
59
Country
United States
For the Boot Tv and Boot Drc you need to merge all layers to one and disable alpha/transparency
kQSoKP3.gif

For the Icon Tex you need to merge all layers to one and enable alpha/transparency
zT1pK2u.gif

Export as TGA and disable RLE compression.
2kysJQn.gif

Place the TgaVerify script by @Zarklord into your meta folder and run it.
5ERtUS0.gif

Proof
RUYPShW.png
 
Last edited by DonnieV,
General chit-chat
Help Users
    AliceCE @ AliceCE: