2018-08-03, 11:46 AM
(This post was last modified: 2018-08-03, 11:48 AM by Holy_Diver.)
WARNING: x2msm makes HUGE msm files when you drop more than one X file on top of it!
It probably won't be a problem for you, but it will make your folder really big. If you are trying to do quick bulk conversion, better to make a BAT that processes its parameters one at a time.
Below is a BAT that does a lot more than just dropping X files onto x2msm, but you can use it for ideas. (It converts from another format to X and then to MSM and cleans up after itself, and moves the MSMs into the msm folder.)
It probably won't be a problem for you, but it will make your folder really big. If you are trying to do quick bulk conversion, better to make a BAT that processes its parameters one at a time.
Below is a BAT that does a lot more than just dropping X files onto x2msm, but you can use it for ideas. (It converts from another format to X and then to MSM and cleans up after itself, and moves the MSMs into the msm folder.)
Quote:@ECHO OFF
mdl2x %*
rm %*
:TOP
IF (%1) == () GOTO END
#x2mhm %1.x
#x2msm has a bug that keeps it from being used this way.
rem it works, but makes huge files
x2msm %1.x
set x=%x% %1.x
SHIFT
GOTO TOP
:END
#x2mhm %x%
#x2msm has a bug that keeps it from being used this way.
rem it works, but makes huge files
#rem x2msm %x%
rm *.x
#mv -f *.mhm ../mhm
mv -f *.msm ../msm
ECHO End