Community News Tracker
Select a topic:  

PPM News Tracker
Select a topic:  

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.
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.