Sm4shCommand -- Smash 4 Moveset Editor

Discussion in 'Wii U - Hacking & Backup Loaders' started by Sammi Husky, Oct 30, 2015.

  1. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    Hello people of the temp, the first functional smash 4 moveset editor. With it you can view and edit fighter, weapon, and item scripts.


    Usable Features
    • Basic code completion
    • Features a Multi-tabbed text editor.
    • Basic Syntax highlighting.
    • Supports parsing animation files to retrieve script names.
    • Expandable event dictionary (Events.cfg in startup directory)
    • Customizable event syntax keywords and descriptions. (Events.cfg)
    • Supports opening full characters or single files individually.
    • Marking of changed actions in the tree view.
    • Exporting event lists as plaintext.
    • Tooltips when hovering over commands.
    • Exporting full character dumps as .txt.
    • IDE features like Projects and "Workspaces".
    Planned Updates

    • Realtime error checking of the code box.
    • Adding new event lists to files.
    • Creating entirely new ACMD files.
    • Creating entirely new MTable files.
    Source Code: https://github.com/Sammi-Husky/Sm4sh-Tools

    Downloads:
    • Stable Build - Latest official release. More stable, but missing latest developements.
    • Nightly Build - Built from latest commit to master branch. Includes latest features, but less stable.
    Screenshot
    FAQ
     
    Last edited by Sammi Husky, Jul 9, 2016


  2. pedro702

    pedro702 GBAtemp Guru

    Member
    6,617
    2,121
    Mar 3, 2014
    Portugal
    nice its the beggining of a psa xD, i loved ssbb modding lets hope ssb4 is the same.
     
  3. Zedd91

    Zedd91 Member

    Newcomer
    39
    19
    Mar 7, 2015
    Project M for Smash 4?
     
    Last edited by Zedd91, Oct 30, 2015
    NhgrtPlayer likes this.
  4. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    I updated the main post. Refactored it a bit, added a FAQ, Download Section, and information on how to unpack the DT file. The download is in OP. Just run it from the command line.
    Code:
    DTLS <dt file(s)> <ls file> 
     
    Last edited by Sammi Husky, Nov 18, 2015
    I pwned U! and Zedd91 like this.
  5. Zedd91

    Zedd91 Member

    Newcomer
    39
    19
    Mar 7, 2015
    I can not believe that this does not receive more attention, because they could hack sm4sh mechanics. sm4sh and it is one of the best games of the wii u to attract more attention.
     
  6. Dantarion

    Dantarion Advanced Member

    Newcomer
    94
    47
    Jul 29, 2007
    United States
    Good job! Have people been testing files ingame for you Sammi?
     
  7. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    Thanks! and nope, not as far as i know at least :c Though using the 3ds i've been looking into repacking the DT archive. Only hit a small snag (compression length was wrong) but after writing the dtls extractor i have a pretty good grasp on the structure. The only thing left i need to do is write a good way to map the string section in the resource files correctly.

    Any developments on your end? Last i checked you were working on mscsb scripts.
     
  8. Mega-Mew

    Mega-Mew GBAtemp Fan

    Member
    409
    650
    May 10, 2015
    France
    DTLS crash here when I extract the dt00


    [​IMG]


    And crash also when I want to extract the dt01
     
    Last edited by Mega-Mew, Nov 11, 2015
  9. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    The app extracts both dt00 and dt01 at the same time, it doesnt support extracting from just one at a time. Type in
    Code:
     dtls dt00 dt01 ls 
     
    Last edited by Sammi Husky, Nov 18, 2015
  10. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    New version of DTLSExtractor. It's now able to unpack sm4sh wiiu patches. I've added a FAQ to the OP with instructions as well. Just use dtls extractor with the resource file for the region you want to unpack as the only parameter. e.g
    Code:
    dtls.exe resource
    
    or
    Code:
    dtls.exe resource(us_fr)
    
    The extracted files will be in the matching "data" folder. You can also just drag the resource file you want to use onto the .exe, it should extract it just fine that way.
     
    I pwned U! and Mega-Mew like this.
  11. soneek

    soneek GBAtemp Regular

    Member
    179
    200
    Jun 27, 2012
    United States
    I'll try to get my patchlist and resource editor finished soon. I'd like to see research make more progress, even though I can't personally test stuff indefinitely.
     
    I pwned U! likes this.
  12. Dantarion

    Dantarion Advanced Member

    Newcomer
    94
    47
    Jul 29, 2007
    United States
    Haven't been working on it much. WiiU scene needs fully working breakpoints before I really can give into it. I will build an SD loader and then I am pretty much done...Zzz
     
  13. Mega-Mew

    Mega-Mew GBAtemp Fan

    Member
    409
    650
    May 10, 2015
    France
    It crash again :(
    (With DTLS 1.2)


    [​IMG]
     
  14. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    Whoops, sorry about that. I fixed this issue actually, i just uploaded the wrong binary. Go ahead and re-download, it should be fixed now.


    An SD loader would be much easier to deal with. I've looked around in the code a bit to see where the game hooks into the archive, but i couldn't make much of it.

    This is probably the easiest way to go besides an SD loader, though, how do you get the game to read your update data? Or are you simply editing and replacing the existing installed update data on the system? Im not really up to date on what is possible in the wiiu scene nowadays.
     
    Mega-Mew and Zedd91 like this.
  15. mariosonicds

    mariosonicds GBAtemp Regular

    Member
    140
    144
    Oct 9, 2009
    United States
  16. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    Progress ;) Sorry for the shit quality, obviously my potato needs replacing. So last gen.

     
    I pwned U! likes this.
  17. cavolo

    cavolo GBAtemp Regular

    Member
    162
    29
    Jun 3, 2015
    France
    Seems to be a good program, I'll see for futur updates !
     
  18. Sammi Husky
    OP

    Sammi Husky GBAtemp Fan

    Member
    311
    283
    Jul 6, 2014
    United States
    Updated the OP! You can get the new version of the DTLSExtractor there. To patch game files, put the files you want to patch into a seperate folder, but mimicking the original filestructure.

    Example, if you want to patch in a moveset edit for captain falcon, you would put the changed ACMD files in <yourpatchfolder>/animcmd/fighter/captain/.

    Then all you do is run
    Code:
    DTLS.exe -r dt ls <yourpatchfolder>
    
    i don't have a wiiu to test with, but this should work with cafiine, albeit probably slow because it would have to replace the entire DT archive :unsure:
     
    I pwned U! likes this.
  19. Mikenuun

    Mikenuun Member

    Newcomer
    33
    11
    Aug 27, 2015
    Netherlands
    SmashSet for name maybe ? :P

    Anyhew great work, i'll try again later this week because yesterday was National Race Attack Failed day
     
    I pwned U! likes this.
  20. mariosonicds

    mariosonicds GBAtemp Regular

    Member
    140
    144
    Oct 9, 2009
    United States
    Alrighty, its trying to patch the resources file???
    Pic
    I will try other files but the fact of it is, the wii u will only load the patchlist/resource files from the update for attack data. So there isn't much room to do much on wii u unless you can make a patches for wii u update files, or @soneek will release his script to do the same.