How to save system console text and UnrealTournament.log

Discussions about Coding and Scripting
Baak
Novice
Posts: 5
Joined: Fri Nov 22, 2024 6:00 am

How to save system console text and UnrealTournament.log

Post by Baak »

Hi All - Really enjoying playing UTGOTY again after all these years - still the best!

Spent the day trying to determine how to save the system console text and UnrealTournament.log for a given Practice Session game off to the side like the ngStats log files are saved. In fact, I _thought_ that all the taunts and the log file was included in these and only just seeing today after reading the raw ngStats log files they aren't... :(

I've tried umpteen variations of UnrealTournament.ini settings I could scrape together off the internet, while trying to find a reference or example of anyone else doing this - none found so far.

Here are settings I have been trying:

[Engine.GameInfo]
...
LogDetailLevel=9
LogLevel=9
bLogChat=True
bAdminLogChat=True
bPlayerLogChat=True


and in StatLog

[Engine.StatLog]
LocalBatcherURL=
LocalBatcherParams=
LocalStatsURL=
WorldBatcherURL=
WorldBatcherParams=
WorldStatsURL=
LocalLogDir=../Logs
WorldLogDir=../NetGamesUSA.com/ngWorldStats/logs
bLogTypingEvents=False
bWorldBatcherError=False
LogDetailLevel=9
LogLevel=9
bLogChat=True
bAdminLogChat=True
bPlayerLogChat=True



I could try to write a Mutator that copies off the UnrealTournament.log, but if there is a setting somewhere I would prefer to use it first.

And I have not found anywhere that the system console text is saved? This has a very nice (imo) running commentary when playing smaller Practice games against the Bots.

Any help of any kind is MUCH appreciated! :D

Cheers,
Baak
Buggie
Godlike
Posts: 3229
Joined: Sat Mar 21, 2020 5:32 am

Re: How to save system console text and UnrealTournament.log

Post by Buggie »

Console text not saved anywhere. You need make custom console for log it somewhere.

Also you can use message mutator with store data into file, but that will receive not all text messages which appear in console.

.log file exists only one, so if you need save it, you can make bat file, which rename it. Or even start game with parameter - so it will already write into unique log file.
Baak
Novice
Posts: 5
Joined: Fri Nov 22, 2024 6:00 am

Re: How to save system console text and UnrealTournament.log

Post by Baak »

Well, darn! Had a sneaky feeling that was going to be the answer... Thank you very much for getting back to me on this so quickly! :)

I'm looking at how the system console taunts and text might be replicated to a point since they appear to be based off the information being fed to ngStatLog in a more human-readable format. I'm thinking the precise taunts might not be replicated, since they probably rely on a "game seed", so maybe those I could just re-create at random to be similar, but the kills appear to be based on weapon and possibly damage, and I can likely just screenshot several copies and try building my own.

... or I can just play more and not worry about keeping the documentation of all the carnage! ;)

Cheers,
Baak
Buggie
Godlike
Posts: 3229
Joined: Sat Mar 21, 2020 5:32 am

Re: How to save system console text and UnrealTournament.log

Post by Buggie »

Try look at XConsole. Possible it contain some features what you ask.