Updated OP with new download link, updated screenshot and directions for parsing animations
do you have a working version with text highlight that can save previously empty movesUpdated OP with new download link, updated screenshot and directions for parsing animations
I cant seem to figure out how to get my packed files unpackedHello people of the temp, the first functional smash 4 moveset editor. With it you can view and edit fighter, weapon, and item scripts.
This is only a beta release for now, but all base features are all functional. Currently, the application supports full text editor based code writing with syntax highlighting and code completion. There are many other features that are usable in the list below as well. Do note that the application is still under active development and some features may be unstable / incomplete. Open to suggestions for a better name!
Usable Features
Planned Updates
- Basic code completion
- Features a Multi-tabbed text editor.
- Syntax highlighting of integer types.
- Supports parsing animation .pac files to retrieve Command List 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.
- Displays unknown commands as well as defined commands, with full rebuild capability.
- 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".
- Built in hex editor for exploring unknown data.
Known Bugs
- Realtime error checking of the code box.
- Adding new event lists to files.
- Creating entirely new ACMD files.
- Creating entirely new MTable files.
- Undo and redo support.
Source Code: https://github.com/Sammi-Husky/Sm4sh-Tools
- Leaving the code box blank and saving will remove that event list from the file entirely.
- Trying to open the code for an removed event list (see bug 1) will crash the application.
- Saving an event list without an Script_End() command will cause the eventlist to merge with the next, corrupting the file.
- Does not warn on exiting before saving.
- Saving with incorrect parameters in a command will crash the tool.
Downloads:
- SM4SHCommand- Moveset editor.
- DTLSExtractor - Used to extract and patch the dt archive which holds the game files.
FAQ:
- How do i use this? What files do i open?
- You can either open individual fighter files (File->Open->file..) or you can open the full fighter folder at once. Just browse to the folder containing the character's AnimCmd files. (File->Open->Fighter..). The fighter files consist of the effect, expression, gfx, and sfx .bin files as well as the motion.mtable.
- All i see is a bunch of numbers! How do i know what scripts belong to what animations?
- View->Parse Animations. Browse to the characters animation directory. For the 3ds, this is the motion/fighter/[fighter name]/. On wiiu, it is fighter/[fighter name]/motion.
- Where do i get these files? I extracted the game, but all i have are two large files called dt and ls.
- Those are the archives that the game stores all of it's files in. Unfortunately, we have to extract this in order to edit any files. Download and use the DTLSExtractor from this thread.
- What about updates? how do i unpack those? Help!
- To unpack update files, simply use the DTLSExtractor from command line with the resource file as the only parameter. This will place update files in the "data" folder matching the resource file's name.
- Okay, i did everything and edited some stuff, but now i can't repack the DT file! is there anything to do this?
- Currently, you can only patch the DT archive with changes. Full rebuild capabilities will come in the future, but for now patched files must not be larger than the original. To patch the archive, use DTLSExtractor:
Code:DTLS.exe -r <dt file(s)> <ls file> <patch folder>