[Tutorial] Smash Forge: A smash 4 modding tool.

Discussion in 'Wii U - Hacking & Backup Loaders' started by KillzXGaming, Dec 12, 2016.

  1. KillzXGaming
    OP

    KillzXGaming GBAtemp Advanced Maniac

    Member
    1,587
    690
    Jan 2, 2016
    United States
    Smash Forge is an extremely powerful tool which is still WIP, however can do many things in one. This currently can:
    • Can open, preview and edit Smash 4 boneset files (.vbn)
    • Can play/import/export Smash 4 animation files (.omo), maya anim files (.anim), and NW4R Animation files (CHR0)
    • Can open .pac archives containing multiple animations
    • Can import bones from .mdl0 models
    • Can preview Namco models (.nud), Namco textures (.nut) and Smash 4 Level Data (.lvd)
    • Can view and preview stage camera animation (path.bin and CMR0 types)
    • Can edit ACMD files, just use file -> open then select a .mtable
    • Can edit Parameter files (Certain .bins)
    • Can import DAE models (Noesis preferred)
    • Can Save Namco models (.nud), Namco textures (.nut)
    • Can open and preview Melee .Dat files.
    Developers:
    Ploaj
    Jam1Garner
    Sammi-Husky
    Y2K-x
    smb123w64gb
    aelanx


    Download:
    https://github.com/jam1garner/Smash-Forge/releases


    Things you may want to have:
    3DS Max
    Photoshop



    Preview:
    [​IMG]

    Now how to use this tool!

    Model Opening (Nud)

    Warning: Spoilers inside!

    Texture Editing (NUT)

    Warning: Spoilers inside!

    Bone Editing (VBN)

    Warning: Spoilers inside!

    Collison Editing (LVD)

    Warning: Spoilers inside!

    DAE importing

    Warning: Spoilers inside!

    Param Editing (bin)

    Warning: Spoilers inside!

    Material Editing

    Warning: Spoilers inside!

    Path viewing

    Warning: Spoilers inside!

    ACMD editing and Hitbox Viewing

    Warning: Spoilers inside!

    Material and Texture animating (MTA)
    Warning: Spoilers inside!


    Animation editing (Omo, Pac, Anim, SMD)

    Warning: Spoilers inside!


    Bugs:
    Potential crashing. Please make frequent backups!

    Q&A
    Why don't some sleeves move in some animations like for Ness?
    Those may use HLP bones which do not animate in forge with the main.pac file.

    Why does my model import look too bright??
    Edit vert color in 3ds max. To do this
    Warning: Spoilers inside!
     
    Last edited by KillzXGaming, Dec 30, 2016
    Gamer4647, survive9, lordelan and 8 others like this.
  2. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    Still needs a bit of work but good job. I'll start linking people to this instead of my other crappy tutorial.
     
    Erikku likes this.
  3. Erikku

    Erikku GBATemp's Official Cancer Treatment

    Member
    251
    220
    Jan 21, 2016
    United States
    The channel description
    finally we've been waiting for this, so does this support 3ds as well?
     
  4. KillzXGaming
    OP

    KillzXGaming GBAtemp Advanced Maniac

    Member
    1,587
    690
    Jan 2, 2016
    United States
    The formats for 3DS are very different so nope. Maybe LVDs? But other than that you'll need Ohana3DS rebirth, which i don't think can import models or anything yet.
     
    Erikku likes this.
  5. Erikku

    Erikku GBATemp's Official Cancer Treatment

    Member
    251
    220
    Jan 21, 2016
    United States
    The channel description
    I'll try and test the LVDsm other than that great job!
     
  6. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    LVD works, params work also and if I can get it to work then ACMD should work as well.
     
    gryz likes this.
  7. gryz

    gryz GBAtemp Fan

    Member
    407
    108
    May 26, 2016
    United States
    Can the Smash 3DS's motion.bch animation files be added too? I'd love to get custom animations working. They can be viewed in Ohana Rebirth but that's it. Can you make this happen @jam1garner?
     
    Erikku likes this.
  8. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    Ploaj has been our main animation guy so either wait till he implements them or until someone makes a build of ohana that can import animations. I'll let him know you asked.
     
    Erikku likes this.
  9. gryz

    gryz GBAtemp Fan

    Member
    407
    108
    May 26, 2016
    United States
    Thanks for the quick reply! I've been trying to fork O3DS with animation support myself using the Wii U documentation I have but it's pretty confusing. I would definitely appreciate the help. Thanks!
     
  10. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
    There is an option to open a stage. Which file/folder actually needs to be opened for this to work? I just keep getting unhandled exceptions.
     
  11. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    after clicking File -> Open Stage then select the root stage folder. Example: if I want to open battlefield I extract the entire data/stage/melee/BattleField_f, then select the BattleField_f folder in the folder open prompt for open stage.
     
  12. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
    Strange, that's what I was trying. I don't think the custom stage I had extracted contained the animations folder, might that be the issue?
     
  13. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    It should still work even if there is no animation folder. Can you tell me what the exact error is?
    Edit: and which stage it is.
     
  14. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
    It's a modded stage. I've managed to open one now.
    Does the folder structure leading to the stage have to be exact, as you posted: "data/stage/melee/STAGENAME" ?

    Here's the error:
    http://i.imgur.com/kYtYiZr.png
    Error text
     
    Last edited by speckxz, Dec 29, 2016
  15. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    No it doesn't have to. I'm asking which modded stage it is for a reason though, so that'd be helpful to know.
     
  16. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
  17. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    DSX8's is zlibbed, the other one idk why there is a problem. Can I get the error for the other one?
    (BTW you can unzlib DSX8's models and some other stuff and it should work fine)

    Edit: Both are zlibbed nm. Just talked to muno about his.
     
    Last edited by jam1garner, Dec 29, 2016
  18. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
    OK. it was more the other one that I wanted to look at really. The error I posted was from the Bowser's Castle level. Here's the error for DSX8's:
    http://i.imgur.com/hKOAwuF.png
    Error text:

    Just saw your edit. Guess I'll look into unzlibbing them then. Thanks.
     
    Last edited by speckxz, Dec 29, 2016
  19. jam1garner

    jam1garner Advanced Member

    Newcomer
    99
    164
    Apr 7, 2016
    United States
    Here's some scripts to unzlib them... just a simple modification zarklord made of some scripts I made for zlib compression. Drag and drop the entire stage's folder over the unzlib batch file to extract. (Requires python)
     
  20. speckxz

    speckxz Advanced Member

    Newcomer
    91
    30
    Dec 21, 2016
    Thanks for those.