(Alpha) BFRES Vertex Tool - AKA most Nintendo Models

Discussion in 'Wii U - Hacking & Backup Loaders' started by mariosonicds, Sep 30, 2016.

  1. mariosonicds
    OP

    mariosonicds GBAtemp Regular

    Member
    140
    144
    Oct 9, 2009
    United States
    The BFRES Tools-
    Big thanks to @RandomTBush for keeping the bfres script updated for 3dsmax
    There are two flavors of importing

    Blender - io_BFRES_vertex.zip
    3dsMAX - BFRESToolz.zip

    Both contain importers and exporters with slight difrences

    Blender usage
    Import via File -> Import -> BFRES
    Inject via the Scene Tab and the BFRES Tool Panel By selecting ether a copy or orignal *.bfres
    Press the Inject tab once you made your selection

    3DSMax usage
    BFRES Script_FORIMPORT.ms -> Import Model -> Edit Model -> VertExport.ms -> BFRES_Vertex.py

    Usage is in the ReadMe File, but if you need help still its


    And to remind you im @smb123w64gb most places

    OH and the blender tool imports the textures if there in png format.
     

    Attached Files:

    Last edited by mariosonicds, Oct 9, 2016


  2. mariosonicds
    OP

    mariosonicds GBAtemp Regular

    Member
    140
    144
    Oct 9, 2009
    United States
    Just Posted Public Version of the import/vertex tool for bfres.
     
  3. Rudelof

    Rudelof Advanced Member

    Newcomer
    51
    14
    May 22, 2016
    United States
    So we can now finally have vertex mods in Mario Kart 8? :D
     
  4. Harmonia

    Harmonia GBAtemp Regular

    Member
    176
    90
    Dec 8, 2015
    Canada
    BC, Canada
    [​IMG] [​IMG]

    yes
     
  5. Rudelof

    Rudelof Advanced Member

    Newcomer
    51
    14
    May 22, 2016
    United States
    LOL nice!
     
  6. HackerBoy0412

    HackerBoy0412 Member

    Newcomer
    25
    4
    Dec 31, 2015
    Gambia, The
    Give it a Tutorial for using?
     
  7. HackerBoy0412

    HackerBoy0412 Member

    Newcomer
    25
    4
    Dec 31, 2015
    Gambia, The
    Give it a Tutorial for using?
     
  8. LukySplatoon

    LukySplatoon GBAtemp Regular

    Member
    252
    6
    Jun 5, 2016
    Belgium
  9. Harmonia

    Harmonia GBAtemp Regular

    Member
    176
    90
    Dec 8, 2015
    Canada
    BC, Canada
    How to set up / use this thing in Blender

    First of all, download this: https://mega.nz/#!TBUWBajQ!uUNxFc9b_zWVCejsByrMVsgryQ-ztW1C74yXp80tjqM
    It's a more recent / stable version of the plugin that smb123w64gb gave to me on Discord to fix some issues, OP wasn't updated with it yet.


    Step 1: Installing the Plugin

    Extract the folder in the zip to C:\Program Files\Blender Foundation\Blender\2.7x\scripts\addons (2.7x being the Blender version you have, probably 2.77 or 2.78)
    Your folder should be like this:

    Warning: Spoilers inside!



    Step 2: Enabling the Plugin

    Enable the plugin in Blender by going to File -> User Preferences (Ctrl+Alt+U) and into the Add-ons tab. Scroll down until you find the plugin:
    this one
    and then click Save User Settings, then close and reopen Blender.


    Step 3: Clearing the Scene

    Before doing anything, you must clear the current scene in Blender. To do this, on the very right side of the program you will see this:
    [​IMG]


    You MUST be in this Scene tab (the one the arrow is pointing to). From here, scroll down to the bottom where you'll find this BFRES Tool panel:
    [​IMG]
    Click 'Clear Scene' and you will now be able to import your BFRES file.



    Step 4: Importing the BFRES

    Import the BFRES you want to edit by going to File -> Import -> Nintendo BFRES (.bfres) and locate the file. Once you've done that, go back to where you clicked Clear Scene. Right above it you will see Model Directory and a folder icon. Click the folder icon and locate the BFRES you are editing so the script has somewhere to inject the edits into.

    Now, right click your model and enter Edit Mode to do any vertex editing you'd like to it.
    Warning: Spoilers inside!

    Vertex editing is not something I'll be covering in this tutorial, I'm sure you can find tips elsewhere. Just know how to use basic Blender functions and you should be good.

    WARNING: Keep in mind that you CANNOT add or delete vertices. It will not work. You can only edit the existing vertices of your model.


    Step 5: Saving Your Vertex Edits

    Once you're done editing the model as you'd like, go back into Object Mode and then to the BFRES Tool panel. Simply click Inject (and wait a bit if it's a large model e.g. a course from MK8) and you're done! Convert your BFRES back to SZS if needed and test it in game with Cafiine.
     
    Last edited by Harmonia, Oct 16, 2016
  10. YoshiCrystal

    YoshiCrystal Trying to get good things

    Member
    175
    11
    Aug 21, 2016
    Nohr
    i push inject and nothing happends
     
  11. shadoom

    shadoom GBAtemp Regular

    Member
    156
    47
    Sep 14, 2009
    Taiwan
    thats what my ex said :(
     
    Don Jon likes this.
  12. Harmonia

    Harmonia GBAtemp Regular

    Member
    176
    90
    Dec 8, 2015
    Canada
    BC, Canada
    Nothing's supposed to happen. No window pops up or anything to indicate you that it worked. Did you test in-game yet?
     
  13. YoshiCrystal

    YoshiCrystal Trying to get good things

    Member
    175
    11
    Aug 21, 2016
    Nohr
    i cant save my project in szs format
     
  14. YoshiCrystal

    YoshiCrystal Trying to get good things

    Member
    175
    11
    Aug 21, 2016
    Nohr
    what i need to put in inject?
     
  15. Harmonia

    Harmonia GBAtemp Regular

    Member
    176
    90
    Dec 8, 2015
    Canada
    BC, Canada
    You're not supposed to. Follow Steps 3, 4 and 5 of my guide word for word and it should work fine. You use yaz0enc to encode your BFRES back to SZS (if it was a SZS to begin with) once you're done editing it.
     
  16. YoshiCrystal

    YoshiCrystal Trying to get good things

    Member
    175
    11
    Aug 21, 2016
    Nohr
    and the project where appears when i save it,only i press inject
     
  17. JingleBells

    JingleBells Advanced Member

    Newcomer
    50
    19
    Dec 25, 2015
    United States
    My House
    Having trouble with export in 3ds max.....I can import using the BFRES Script_FORIMPORT.ms, and when I export using VertExport.ms it saves as csv.

    How do I use the csv with BFRES_Vertex.py?
    ^*
    :)Thank you for any assistance....
     
    Last edited by JingleBells, Dec 29, 2016
  18. Pachee

    Pachee GBAtemp Fan

    Member
    301
    173
    Nov 3, 2015
    United States
    Is there an extra addon needed for this? On a clean blender 2.78b install tehre is no bfres option even after installing this addon.
    Also the file was deleted from MEGA.
     
  19. victormr21

    victormr21 GBAtemp Advanced Fan

    Member
    552
    69
    Dec 29, 2015
    Hi!
    This week I was trying to delete a part of Bowser's models, I did it (part by part but...)
    But the problem is that BFRES Tool Tab, only a NUD Tool tab, I installed this a few days ago but I deleted it and I installed again this tool and appeares the same tab so when I click to inject it says me that there isn't any model.nud (SSB4 model) so I don't know how to do it, I have save it in 3DS format for open it again tomorrow and if I get the solution export it but if not I will install 3DS max
    Bye!
     
  20. RadDude McCoolguy

    RadDude McCoolguy GBAtemp Regular

    Member
    122
    48
    Jan 4, 2015
    United States
    I installed the addon and enabled it, but there's no option under import
     
  21. Daisylona

    Daisylona Newbie

    Newcomer
    4
    2
    Jun 30, 2017
    France
    I edited Daisy model (and sorry for my english i'm french) and when I push inject I got this : (at the bottom, right of the pic )
    I executed blender as admin. Blender is the only way for me to do that (3DS max closes after few seconds and I don't find how to fix it...)
    Can someone help me ? Thanks !

    EDIT : The mega link is down



    Errno13-Screenshoot-blender.png
     
    Last edited by Daisylona, Jun 30, 2017
    memoryman3 likes this.