Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Mar 19, 2024 9:23 am
All times are UTC + 0
Writing the AssetBuilder log to a file (*)
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Buzzer
Civilian


Joined: 10 Sep 2007
Location: Netherlands

PostPosted: Mon Sep 10, 2007 9:58 am    Post subject:  Writing the AssetBuilder log to a file (*) Reply with quote  Mark this post and the followings unread

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:
Code:
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:
Code:
BuildMod [modname] > [filename]

So it will look like this:
Code:
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.


Key Words: #Tutorials #Modding #TiberiumWars #KanesWrath #RedAlert3 #ModSDK 

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1383s ][ Queries: 11 (0.0087s) ][ Debug on ]