Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Batch Script For Automating Moveswapping - A Config Script for Super Smash Bros. (Wii U).

79 7 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@echo off
goto 'main'

: 'main'
cls
echo [Decompile] [FITD]
echo [Recompile] [FITC]
choice /c RD /T 9999 /D R /M "Recompile or Decompile?"
if %errorlevel%==2 goto 'decompile'
if %errorlevel%==1 goto 'recompile'

: 'recompile'
echo Keep in mind, ALL files in the original fighter folder will be overwritten by the ones in the Aerials, Smashes, Throws and Tilts. If you modified those instead, please copy those to the appropriate folders, then continue.
echo.
echo.
set /p inputpath=Where is the path where you decompiled your fighter? Don't include the animcmd folder! (For example, if the files are in VillagerModded/animcmd, just put VillagerModded.)
set /p outputpath=Where would you like the new fighter to be rebuilt?
if exist "%inputpath%\Aerials\" xcopy /e /y /q %inputpath%\Aerials %inputpath%\animcmd >nul
if exist "%inputpath%\Throws\" xcopy /e /y /q %inputpath%\Throws %inputpath%\animcmd >nul
if exist "%inputpath%\Smashes\" xcopy /e /y /q %inputpath%\Smashes %inputpath%\animcmd >nul
if exist "%inputpath%\Tilts\" xcopy /e /y /q %inputpath%\Tilts %inputpath%\animcmd >nul
if exist "%inputpath%\Jabs\" xcopy /e /y /q %inputpath%\Jabs %inputpath%\animcmd >nul
if exist "%inputpath%\Grabs\" xcopy /e /y /q %inputpath%\Grabs %inputpath%\animcmd >nul
if exist "%inputpath%\Taunts(Appeals)\" xcopy /e /y /q %inputpath%\Taunts(Appeals) %inputpath%\animcmd >nul
pause
start FITC.exe -be -o %outputpath% %inputpath%\fighter.mlist
echo Done!
pause
goto 'main'

: 'decompile'
set /p outputpath=Where would you like this to be output?
set /p bodyfolder=Where is your fighter's folder located?
start FITD.exe -o %outputpath% -m %bodyfolder%\motion\body %bodyfolder%\script\animcmd\body\motion.mtable
echo Please press the keys to continue ONLY once FITD exits, otherwise this will fail!
pause
pause
pause
if exist %outputpath%\animcmd\ThrowF.acm xcopy /s /h /i "%outputpath%\animcmd\ThrowF.acm" "%outputpath%\Throws\" > nul
if exist %outputpath%\animcmd\ThrowB.acm xcopy /s /h /i "%outputpath%\animcmd\ThrowB.acm" "%outputpath%\Throws\" > nul
if exist %outputpath%\animcmd\ThrowHi.acm xcopy /s /h /i "%outputpath%\animcmd\ThrowHi.acm" "%outputpath%\Throws\" > nul
if exist %outputpath%\animcmd\ThrowLw.acm xcopy /s /h /i "%outputpath%\animcmd\ThrowLw.acm" "%outputpath%\Throws\" > nul
if exist %outputpath%\animcmd\Catch.acm xcopy /s /h /i "%outputpath%\animcmd\Catch.acm" "%outputpath%\Grabs\" > nul
if exist %outputpath%\animcmd\CatchDash.acm xcopy /s /h /i "%outputpath%\animcmd\CatchDash.acm" "%outputpath%\Grabs\" > nul
if exist %outputpath%\animcmd\CatchTurn.acm xcopy /s /h /i "%outputpath%\animcmd\CatchTurn.acm" "%outputpath%\Grabs\" > nul
if exist %outputpath%\animcmd\CatchAttack.acm xcopy /s /h /i "%outputpath%\animcmd\CatchAttack.acm" "%outputpath%\Grabs\" > nul
if exist %outputpath%\animcmd\AttackHi3.acm xcopy /s /h /i "%outputpath%\animcmd\AttackHi3.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackLw3.acm xcopy /s /h /i "%outputpath%\animcmd\AttackLw3.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3Hi.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3Hi.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3S.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3S.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3Lw.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3Lw.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3S2.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3S2.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackS3S3.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS3S3.acm" "%outputpath%\Tilts\" > nul
if exist %outputpath%\animcmd\AttackHi4.acm xcopy /s /h /i "%outputpath%\animcmd\AttackHi4.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackS4.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS4.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackS4S.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS4S.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackS4Hi.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS4Hi.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackS4Lw.acm xcopy /s /h /i "%outputpath%\animcmd\AttackS4Lw.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackLw4.acm xcopy /s /h /i "%outputpath%\animcmd\AttackLw4.acm" "%outputpath%\Smashes\" > nul
if exist %outputpath%\animcmd\AttackAirF.acm xcopy /s /h /i "%outputpath%\animcmd\AttackAirF.acm" "%outputpath%\Aerials\" > nul
if exist %outputpath%\animcmd\AttackAirB.acm xcopy /s /h /i "%outputpath%\animcmd\AttackAirB.acm" "%outputpath%\Aerials\" > nul
if exist %outputpath%\animcmd\AttackAirHi.acm xcopy /s /h /i "%outputpath%\animcmd\AttackAirHi.acm" "%outputpath%\Aerials\" > nul
if exist %outputpath%\animcmd\AttackAirLw.acm xcopy /s /h /i "%outputpath%\animcmd\AttackAirLw.acm" "%outputpath%\Aerials\" > nul
if exist %outputpath%\animcmd\AttackAirN.acm xcopy /s /h /i "%outputpath%\animcmd\AttackAirN.acm" "%outputpath%\Aerials\" > nul
if exist %outputpath%\animcmd\AppealHiR.acm xcopy /s /h /i "%outputpath%\animcmd\AppealHiR.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\AppealHiL.acm xcopy /s /h /i "%outputpath%\animcmd\AppealHiL.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\AppealLwR.acm xcopy /s /h /i "%outputpath%\animcmd\AppealLwR.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\AppealLwL.acm xcopy /s /h /i "%outputpath%\animcmd\AppealLwL.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\AppealSL.acm xcopy /s /h /i "%outputpath%\animcmd\AppealSL.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\AppealSR.acm xcopy /s /h /i "%outputpath%\animcmd\AppealSR.acm" "%outputpath%\Taunts(Appeals)\" > nul
if exist %outputpath%\animcmd\Attack11.acm xcopy /s /h /i "%outputpath%\animcmd\Attack11.acm" "%outputpath%\Jabs\" > nul
if exist %outputpath%\animcmd\Attack12.acm xcopy /s /h /i "%outputpath%\animcmd\Attack12.acm" "%outputpath%\Jabs\" > nul
if exist %outputpath%\animcmd\Attack13.acm xcopy /s /h /i "%outputpath%\animcmd\Attack13.acm" "%outputpath%\Jabs\" > nul
if exist %outputpath%\animcmd\Attack100.acm xcopy /s /h /i "%outputpath%\animcmd\Attack100.acm" "%outputpath%\Jabs\" > nul
if exist %outputpath%\animcmd\Attack100Start.acm xcopy /s /h /i "%outputpath%\animcmd\Attack100Start.acm" "%outputpath%\Jabs\" > nul
echo Done!
pause
goto 'main'

To Be Paired with FITC, FITD (FITX) and with Batch Code For Automating Animation Swapping (potentially)

So basically what this does is act as a companion to FITC and FITD (A.K.A FITX). You can download the script here.

Let me talk a bit about it though.

Decompile takes your files from a folder specified by you through the program and puts them into a folder that specifies to what type of move they are (Aerials get put in an aerial folder, Smashes in Smashes, etc.) Note that not all things may be put inside it, but anything that is left out can still be edited by going into the animcmd folder. PLEASE NOTE THAT ANY FILE IN THE CUSTOM FOLDERS WILL AUTOMATICALLY OVERWRITE THE ONES IN THE ANIMCMD FOLDER. PLEASE ONLY WORK IN THE CUSTOM FOLDERS (custom folders being the aerial, smashes, grabs, etc folders.)

Recompile takes the files in the Smashes, Grabs, Aerials, etc., folders and puts them back in the animcmd folder, then runs the recompiler.

This could also be paired with my other Batch scripts I've uploaded for Smash 4. You can take the moves and simply drop them in the certain folder, remove any line saying Low_Voice_Clip and any line below it, and then recompile. 

This could also help for people who don't know how using FITC and FITD works as it runs it automatically.

No comments yet