Project Perfect Mod

Home   Forum   Site Menu   C&C 1: Tiberian Dawn   C&C Red Alert 1   C&C 2: Tiberian Sun   C&C: Red Alert 2   C&C Renegade   C&C: Generals   C&C 3: Tiberium Wars   C&C: Red Alert 3   C&C 4: Tiberian Twilight   Fallout 3   OpenRA   Starcraft 1   Starcraft 2   Warcraft 3   Community Tools   PPM Network   Affiliates   Community Links   Official Game Links   Browse Classic Site

Writing the AssetBuilder log to a file (*)
September 10, 2007 - 11:58

If you compile your mod using the Binary Asset Builder from the command prompt, all the output (log data) will appear on the screen. But what if you want to save it for later review, or post it on a forum? Well, CLS (Command Line Scripting) has a nice trick for that.

Usually, a mod is compiled like this way:
BuildMod [modname]

With [modname] representing the name of your mod.

Now, if you want to log all the output data to a file, just use this syntax instead:
BuildMod [modname] > [filename]

So it will look like this:
BuildMod MyMod > output.txt

This way, the mod MyMod is compiled as usual, but all of the data that normally appears in the console will now be written to output.txt. Note: because it's logged to a file now, the data won't appear in the console anymore.

Posted by Buzzer
Comments (0)

eXTReMe Tracker