BenzinU Release

Discussion in 'Wii U - Hacking & Backup Loaders' started by diddy81, Apr 16, 2016.

  1. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    hay guys
    today i bring you benzinU i wrote this from the ground up
    I'm sure most of you know benzin from the wii days for editing brlyt and brlan files
    This does the same for the Wii U bflyt and bflan files
    its not 100% there is a few things i need to add or edit but it does work id say it 95% done

    Code:
    if converting bflyt/bflan to xmflyt/xmflan:
    Usage: BenzinU input [option] [output]
        options:
            -m         use Material numbers instead of names
        output:
            output file name is optional
    
    if converting xmflyt/xmflan to bflyt/bflan:
    Usage: BenzinU input [output]
        output:
            output file name is optional
    benzinU detects the file format of the input and converts it
    some bflyt files have multiple materials that have the same name in cases like this you need to use the -m option

    the program does have a update check so be sure to have it unblocked in your firewalls

    if you find a file that doesn't work correctly please get in touch and send me the file so i can fix it

    Download: benzinU
    Source code: here

    Changelog
    1.0.0 : release
    1.0.1 : fixed a typo that broke indirect textures
    1.0.2 : fixed ShadowBlending flag
    1.0.3 : added automatic creation of mat1 flags & changed update checker
    1.0.4 : fixed writing txt1 if text is 0 length
    1.0.5 : fixed massive error on my part
    1.0.6 : hacky edit to fix flags
    1.0.7 : fixed errors when there is no fnl1 but file has txt1
    1.0.8 : fixed error in cnt1 section
    1.0.9 : fixed errors from mario maker
     
    Last edited by diddy81, Aug 7, 2017


  2. yahoo

    yahoo G͝B͢A͜t͞em҉p̡ R̨e͢g̷ul̨aŗ

    Member
    341
    237
    Aug 4, 2014
    United States
    Where are bflyt and bflan files used on the WiiU? I'd imagine the game/channel intro screens. Anywhere else? Also how are you testing these?
     
  3. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    bflyt files are layout files they are used to make menus and ui's in games
    bflan files animate the contents of the bflyt files

    you usually find them in a arc or sarc file

    for testing you can use cafiine or replace a file in a game for loadiine
     
    Last edited by diddy81, Apr 17, 2016
    I pwned U! and cornerpath like this.
  4. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    Could you help me with running those?
     
  5. I pwned U!

    I pwned U! GBAtemp Advanced Fan

    Member
    833
    1,118
    Jun 14, 2013
    United States
    Thank you @diddy81. The wait for this program is finally over! I will try it out when I have the chance.

    Also, I was wondering; are there also any plans for developing a Benzin3D for bclyt and bclan files?
     
    The Cringe and Subtle Demise like this.
  6. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    you have to extract the archives
    edit the bflyt/bflan files
    then pack the archive back up
    then use cafiine or loadiine to load your files

    I've never looked at 3ds stuff but you never know
     
    I pwned U! likes this.
  7. aracom

    aracom GBAtemp Fan

    Member
    476
    242
    Oct 1, 2015
    Gambia, The
    Just tried it with a splatoon bflyt, doesn't seem to work :(
    Code:
    BenzinU 1.0.1 by Diddy81
    Traceback (most recent call last):
      File "main.py", line 106, in <module>
      File "main.py", line 21, in main
      File "include\bflytRead.pyo", line 14, in start
      File "include\bflytRead.pyo", line 27, in checkheader
      File "include\bflytRead.pyo", line 92, in bflytHeader
      File "include\bflytRead.pyo", line 29, in checkheader
      File "include\bflytRead.pyo", line 110, in lyt1section
      File "include\bflytRead.pyo", line 31, in checkheader
      File "include\bflytRead.pyo", line 158, in txl1section
      File "include\bflytRead.pyo", line 33, in checkheader
      File "include\bflytRead.pyo", line 134, in fnl1section
      File "include\bflytRead.pyo", line 35, in checkheader
      File "include\bflytRead.pyo", line 288, in mat1section
    IndexError: list index out of range
    I attached it, if you want to take a look at it.
     

    Attached Files:

  8. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I meant the cafiine/loadiine part. I am missing kernel access.
     
  9. aracom

    aracom GBAtemp Fan

    Member
    476
    242
    Oct 1, 2015
    Gambia, The
    If I have the game you want to test things with, you can send me the files you want to have replaced.
     
  10. ZoNtendo

    ZoNtendo GBAtemp Fan

    Member
    422
    225
    May 25, 2015
    I can confirm: It work with splatoon and Mario Kart 8 !
    Nice job :)
     
  11. guiguiaspi

    guiguiaspi Newbie

    Newcomer
    7
    1
    May 3, 2015
    France
    please, can you add screen ? with modification ? thank you
     
  12. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    I have a few people that could do that already though. With capture cards.
     
  13. aracom

    aracom GBAtemp Fan

    Member
    476
    242
    Oct 1, 2015
    Gambia, The
    I have a capture card too, but if you already have some people, why are you even asking? :P
     
  14. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    Because me testing would be faster than sending files back and forth.
     
  15. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    glad its working for alot of you

    im looking in to this file now to see if i can find the problem

    you need kernel access or theres no point in even trying to edit files
     
    TotalInsanity4 and Subtle Demise like this.
  16. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    This is what i am saying, I am lacking the access and I was wondering if you could help me get it.
     
  17. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    you need to setup the exploit you need to be looking and asking here
     
  18. gudenau

    gudenau Largely ignored

    Member
    3,277
    1,250
    Jul 7, 2010
    United States
    /dev/random
    Never mind, you do not seem to be understanding what I am saying. I am sure it is my fault, don't worry about it.
     
  19. aracom

    aracom GBAtemp Fan

    Member
    476
    242
    Oct 1, 2015
    Gambia, The
    And I'm pretty sure OP doesn't have a kernel exploit for 5.5.
    Why aren't you testing your stuff on Cemu? Many people are doing that for little things, because it's far easier and you don't have to reboot your Wii U and use the OSDriver exploit again after a crash.
     
    I pwned U! likes this.
  20. diddy81
    OP

    diddy81 Wii Theme Team

    Member
    779
    172
    Mar 14, 2009
    this problem is now fixed thanks for sending the file
     
    aracom and I pwned U! like this.