Sword of Moonlight Forums
Adding map pieces to SoM - Printable Version

+- Sword of Moonlight Forums (https://forum.swordofmoonlight.com)
+-- Forum: Sword of Moonlight (https://forum.swordofmoonlight.com/Forum-Sword-of-Moonlight)
+--- Forum: SOM Guides, FAQ and Help (https://forum.swordofmoonlight.com/Forum-SOM-Guides-FAQ-and-Help)
+--- Thread: Adding map pieces to SoM (/Thread-Adding-map-pieces-to-SoM)

Pages: 1 2


Re: Adding map pieces to SoM - Verdite - 2014-04-01

Just to say, John... I looked the thread over again about optimisation, and keeping 'optimise map' unchecked has allowed me to create something I thought wasnt possible. So thanks ‎  Smile


Re: Adding map pieces to SoM - HwitVlf - 2014-04-03

Great! Now I'm curious what you were able to do???? beerchug


Re: Adding map pieces to SoM - Holy_Diver - 2018-08-03

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