How to Create/Edit .tga Files for Haxchi

Discussion in 'Wii U - Tutorials' started by Dakota Nix, Mar 19, 2017.

  1. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    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)
    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, May 7, 2017
    I pwned U! and pelago like this.


  2. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,505
    2,208
    Jul 23, 2012
    United States
    Octovalley
    Can someone make one for me that just says:

    RUN
    THIS
    FIRST!
     
  3. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    https://filetrip.net/dl?FhVyiAHlm3 iconTex.jpg Remember to back up your original and have a backup way to run homebrew menu (like loadliine) if for some reason it doesn't work, you didn't specify which one so I made a iconTex.tga icon.
     
  4. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,505
    2,208
    Jul 23, 2012
    United States
    Octovalley
    I love you. :wub:
     
  5. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    i am assuming everything worked great??? no problem
     
  6. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,505
    2,208
    Jul 23, 2012
    United States
    Octovalley
    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?
     
  7. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    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
     
  8. Rngr

    Rngr Member

    Newcomer
    28
    5
    Mar 22, 2017
    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
     

    Attached Files:

    Dakota Nix likes this.
  9. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,505
    2,208
    Jul 23, 2012
    United States
    Octovalley
    Those look slick!
     
    Rngr likes this.
  10. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    That's dope bro. Good work


    Sent from my iPhone using Tapatalk
     
    Rngr likes this.
  11. milhousevanhouten

    milhousevanhouten GBAtemp Regular

    Member
    189
    11
    Nov 1, 2016
    Netherlands
    can someone make me this please I would be really happy
     

    Attached Files:

  12. Felek666

    Felek666 Typical CBHC user

    Member
    2,653
    2,195
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Thanks, now my Homebrew Launcher Channel isn't boring as hell
    Kudos to you
     
    Rngr likes this.
  13. milhousevanhouten

    milhousevanhouten GBAtemp Regular

    Member
    189
    11
    Nov 1, 2016
    Netherlands
    I edited your stuff but where do I put it I got this nvm
     

    Attached Files:

    Rngr likes this.
  14. Felek666

    Felek666 Typical CBHC user

    Member
    2,653
    2,195
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Replace .tga files. They're usually on the very end near last .app/.h3 file.
     
  15. milhousevanhouten

    milhousevanhouten GBAtemp Regular

    Member
    189
    11
    Nov 1, 2016
    Netherlands
    can you show me a screenshot cause I think I did it right but it doesn't change anything I used gimp

    — Posts automatically merged - Please don't double post! —

    nvm probally need paint.net to change the bit range
     
  16. DonnieV

    DonnieV Member

    Newcomer
    19
    6
    May 2, 2017
    United States
  17. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    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, May 7, 2017
  18. DonnieV

    DonnieV Member

    Newcomer
    19
    6
    May 2, 2017
    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, May 7, 2017
    Dakota Nix likes this.
  19. Dakota Nix
    OP

    Dakota Nix Advanced Member

    Newcomer
    61
    6
    Jan 26, 2016
    United States
    I just added our posts toward the top of the guide. Thanks for simplifying it down
     
  20. DonnieV

    DonnieV Member

    Newcomer
    19
    6
    May 2, 2017
    United States
    For the Boot Tv and Boot Drc you need to merge all layers to one and disable alpha/transparency
    GIF Step 1

    For the Icon Tex you need to merge all layers to one and enable alpha/transparency
    GIF Step 2

    Export as TGA and disable RLE compression.
    GIF Step 3

    Place the TgaVerify script by @Zarklord into your meta folder and run it.
    GIF Step 4

    Proof
    Proof
     
    Last edited by DonnieV, May 7, 2017
    Dakota Nix likes this.