RELEASE BNTX Editor - A tool for editing textures

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by AboodXD, Jul 7, 2018.

  1. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.

    Attached Files:

    Last edited by AboodXD, Jul 10, 2018
  2. Msparky83

    Msparky83 Member

    Newcomer
    2
    Jan 10, 2014
    United States
    Thanks for this mate. This will definitely help out the LayeredFS BOTW modding side of things. I appreciate your time and effort in making this program. Cheers!
     
    Don Jon likes this.
  3. RetroGamer732

    RetroGamer732 GBAtemp Regular

    Member
    2
    Oct 30, 2015
    United States
    Was trying to edit Links texture before I start working on bigger stuff, problem is he's now all red except for his face which is gray. What did I do wrong?
     
  4. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Just released version 0.2.

    Changelog:
    * Fixed a bug where the root entry of the dictionary wouldn't be written correctly, leading to the BNTX not loading ingame.

    Download.

    @RetroGamer732 This might fix the issue you are facing.
     
    Last edited by AboodXD, Jul 8, 2018
    Don Jon and ccprodigy like this.
  5. ccprodigy

    ccprodigy Advanced Member

    Newcomer
    3
    Jan 30, 2018
    United States
    I see what you did there. Also going to check this out when I get home. Good work.
     
  6. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Just released version 0.3.

    Changelog:
    * Prevent the offset count from being too high for one relocation table entry. (which could result in a "struct.error")

    Download.
     
  7. Don Jon

    Don Jon GBAtemp Maniac

    Member
    7
    Nov 20, 2015
    United States
    thank you
    you are god sent
    now to do shadow the pinhog over tanooki
    ill credit you mufasa
     
  8. RetroGamer732

    RetroGamer732 GBAtemp Regular

    Member
    2
    Oct 30, 2015
    United States
    Fixed it, Thanks a lot
     
  9. RetroGamer732

    RetroGamer732 GBAtemp Regular

    Member
    2
    Oct 30, 2015
    United States
    What program would you recommend using to get a texture into BC5 compression? I ask as I've been using The Compressonator, but when I go to import the texture, BNTX Editor tells me "Unsupported DDS File"
     
  10. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Something like GIMP should work. Luckily, you can avoid using BC5 and use BC3 (DXT5) with Channel 3 set to "Zero" and Channel 4 set to "One".

    Anyway, to fix Compressonator BC1/2/3/4/5 DDS files, change byte 0x50 from 5 to 4.
    I have no idea why it sets it to 5 instead of 4...
     
    Last edited by AboodXD, Jul 10, 2018
  11. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Since this tool causes the BNTX file size to change when saving, I made a tool for injecting textures called "BNTX Injector", which should not change the file size of the BNTX.
    Link has been added to the first post.
     
  12. RetroGamer732

    RetroGamer732 GBAtemp Regular

    Member
    2
    Oct 30, 2015
    United States
    Okay, I know I could use DXT5 for BC3 instead, but my issue is that normal maps aren’t showing in game, and I thought that may have been the issue.
     
  13. RetroGamer732

    RetroGamer732 GBAtemp Regular

    Member
    2
    Oct 30, 2015
    United States
    So looking a little more into it, the Normal map shows up in Killz's BFRES Forge, but not in BOTW. Now I've confused myself.
     
  14. Bánh Dừa Miền Tây

    Bánh Dừa Miền Tây Member

    Newcomer
    1
    Sep 27, 2016
    United States
    Could you look for nxtex in La Noire (Switch Version)? Thanks!
     

    Attached Files:

  15. AlanLC

    AlanLC GBAtemp Regular

    Member
    5
    Aug 18, 2014
    Brazil
    How to extract and inject Wonder Boy: The Dragon's Trap files?
     

    Attached Files:

    Last edited by AlanLC, Oct 22, 2018
  16. AboodXD
    OP

    AboodXD I hack NSMB games, and other shiz.

    Member
    10
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    Seems to be compressed, you have to decompress it in order to be able to open the BNTX file in the editor.
     
    AlanLC likes this.
  17. AlanLC

    AlanLC GBAtemp Regular

    Member
    5
    Aug 18, 2014
    Brazil
    Tks! Any idea what compression is used? I tried zlib but it did not work
     
  18. Shadow_The_Hedgehog82

    Shadow_The_Hedgehog82 Advanced Member

    Newcomer
    2
    Jul 22, 2018
    Australia
    Anyone know if you can make compatible dds textures using texture works for photoshop? I keep getting crashing when I launch game I have tried a few settings all with the same result

    upload_2018-11-18_14-44-18.
     
  19. pietempgba

    pietempgba GBAtemp Advanced Fan

    Member
    4
    Jun 9, 2016
    United States
    Is it possible to inject modified astc files?
     
Loading...