Adding map pieces to SoM

#13
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.)

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
Reply



Messages In This Thread
Adding map pieces to SoM - by Verdite - 2011-05-27, 08:23 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-28, 11:37 PM
Re: Adding map pieces to SoM - by Verdite - 2011-05-29, 05:19 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-29, 10:32 PM
Re: Adding map pieces to SoM - by Verdite - 2011-05-29, 10:56 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-30, 03:48 AM
Re: Adding map pieces to SoM - by Creatura - 2011-05-30, 07:44 AM
Re: Adding map pieces to SoM - by Verdite - 2013-02-02, 09:55 PM
Re: Adding map pieces to SoM - by Verdite - 2014-03-31, 02:34 PM
Re: Adding map pieces to SoM - by JC Bailey - 2014-03-31, 04:34 PM
Re: Adding map pieces to SoM - by Verdite - 2014-04-01, 12:17 PM
Re: Adding map pieces to SoM - by HwitVlf - 2014-04-03, 09:41 PM
Re: Adding map pieces to SoM - by Holy_Diver - 2018-08-03, 11:46 AM



Users browsing this thread:
3 Guest(s)