Tutorial  Updated

How to Create/Edit .tga Files for Haxchi

(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,

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,046
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,231
Country
United States

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
143
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
37
XP
109
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: 605

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,046
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,231
Country
United States
  • Like
Reactions: Rngr

Dakota Nix

Well-Known Member
OP
Newcomer
Joined
Jan 26, 2016
Messages
76
Trophies
0
XP
143
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
21
XP
117
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
143
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
28
XP
79
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
143
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
28
XP
79
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1