[TUTORIAL] - Change/Modify Textures from Banner.bin without Losing Animation

Discussion in '3DS Tutorials' started by Cha0s Em3rald, Oct 13, 2015.

Reveal download linksprotect your linksHow to like
  1. Cha0s Em3rald

    Cha0s Em3raldCha0s Em3rald is a Verified  Member Retired Admin
    VIP

    Joined:
    Oct 1, 2015
    Messages:
    3,849
    Likes Received:
    174,707
    [TUTORIAL] - Change/Modify Textures from Banner.bin without Losing Animation


    This guide was originally posted by MDashK, thanks go to him for allowing me to repost all his guides & credits go to everyone involved in adding the info & tools to compile the guide


    This is a simple tutorial used to change the textures of a Banner.bin file.
    Specifically, in this example, I will use the GameGear VC animated 3D banner, and change the title screen of the game that shows in the 3D banner.
    This tutorial, I believe, can be used to other textures and other types of banners, at least, as a base.


    First, you use 3DSExplorer to open the Banner.bnr (renamed from banner.bin) file. MUST HAVE THIS NAME. Otherwise, won't work.
    In 3DSExplorer, extract the CGFX part of the Banner.bnr file.

    With the Banner CGFX at hand, follow the tutorial:

    Download these 2 tools:
    ctr_texture1.rar
    Code:
    http://ul.to/nkh2aabz
    http://vidzi.net/5jaf0ytj41k6/ctr_texture1.rar.html
    texturipper_1.2.rar
    Code:
    http://ul.to/1yr2dpsy
    http://vidzi.net/swd7gr7canlx/texturipper_1.2.rar.html

    - Extract original Texture from CGFX file using texturipper 1.2
    - It will spit out the textures in PNG format and a TXT file with parameters of textures
    - Analise TXT file:

    Example:

    type:20000011 tformat:03 tofs:0000FD00 size:00008000 ofs:00001F14 format:00006754 formattype:00008363 mipmap:00000001 texobj:00000000 locflag:00000000
    name:COMMON2 revision:05000000 udictcount:00000000 udictOffset:00000000 w:128 h:128

    - View INFO.TXT
    - You need to know: Texture Format and Texture Start Data

    Example:

    tformat:03 : means texture format is RGB565
    tofs:0000FD00 : means texture data start at 0xFD00

    CAUTION: Specifically to the GameGear banner, converting the PNG back to RGB565 will give green-ish images. So you'll have to conver them to RGBA4444 format.

    See the table in INFO.TXT to know the texture format accordingly.

    - With those parameters sorted out, use ctr_texture tool to convert PNG to CGFX. Use RGBA4444 format (in this case)
    - Now, with CGFX created, open the original Banner CGFX in WinHEX or other HEX editor.
    - Go to the offset collected previously. That is where the CGFX you want to change begins.
    - Open the CGFX created file texture in WinHEX, and copy all it's content.
    - Then, overwrite the content in the original Banner CGFX. REMEMBER TO OVERWRITE, NOT ADD!
    - Now, FIX THE COLOR PALLETE:

    Seek to offset: ofs(0x1F14)+0x30 = (0x1F44), and change this flag (03) to 0x4(RGBA4444) = (04).
    - Save with different name.
    - The banner CGFX should now be edited and customized.
    - Now, you can use this CGFX with BannerTool to create the custom Banner.bnr file.

    Special Thanks to LITTOMA over at GBATemp for helping me out with all the process.
    Special Thanks to Normmatt over at GBATemp for the Texturipper tool.



     
    TiredKorok likes this.
  • About Us

    Chaos Gamez is a friendly online community with our members sharing all the content you will ever need for your 3DS console including games in .3ds & .cia format, updates, DLC, Homebrew, CFW's, Flashcard firmwares, cheats & a variety of content for other platforms. We have all the downloads and games you'll ever need for your WiiU too! Including WiiU USB Ready Games, WUD Files, Game Tickets, and Homebrew! Same applies for NDS Roms, Wii WBFS, GameCube ISOs, and Retro game console ROMs!
  • Donate to the Server

    The management works very hard to make sure the community is running the best software, best security, and all the other bells and whistles. Care to contribute and support the community? We'd really appreciate it!

    Become a Donor!
  • Disclaimer

    No files are stored on our servers, all links are on external sites. If you have an issue with one of the posts/threads on our site or to make a DMCA report please use the "Contact Us" link at the bottom of the site