Wish to contribute to the project by donating? Heads up to our Patreon -> https://www.patreon.com/skylordsreborn

Jump to content
BEWARE: Multiaccounting May Cause Permabans! Read more... ×
Sign in to follow this  
Astiliano

[Tool: Powershell Script] Log.txt Parser

Recommended Posts

Posted (edited)

This is a tool to help pull the most recent Warnings, Errors, and Debug messages in order to better triage support tickets and for people to make better comparisons with their own issues rather than just reply "I'm having this issue too" to threads. They can see the output from OP and run the tool themselves to see cleaner output.

 

Why is this needed?

Going through each provided log in a long thread to verify people have similar problems and providing that output is a bit tedious. And asking the user to pull the necessary information also gives a chance for it to not include all the necessary information (overlooked messages).

 

This process is a bit complicated for some people:

Of course, for those that have a hard time or just don't wish to do this can still provide their log.txt in the post and it will be manually parsed.

 

How do I use this?

This is written in powershell. You need to open 'Command Prompt', type 'powershell' and press enter. Once at the powershell prompt you copy and paste the code from here:

https://github.com/Astiliano/BattleForgeRebornCheck/blob/master/GetLog.ps1

And press enter to run 'GetLog'

 

Step-by-step instructions: 

Step 1) Press your windows key, 'cmd', then press enter

 

image.png.38d18b0f0ccb5fc1f00c78da6c1c6b99.png

 

Step 2)  This should open up command prompt which looks like this

image.png.fb2bb8749e5d9c19589a58ad5796bb20.png

Step 3) Type 'powershell' and press enter. Note you should see 'PS' at the beginning of the line

image.png.7e59adced1244f5867b191d72b9cd13f.png

Step 4) Copy the code from here:
https://raw.githubusercontent.com/Astiliano/BattleForgeRebornCheck/master/GetLog.ps1
and paste it into the box. (CTRL + V to paste or RIGHT CLICK inside box)

image.png.9aa2221625a9d7b87d1879ec20c5218d.png

 

Step 5) After pressing ENTER you will see output that you should provide.

When providing below output PLEASE first click on the double quotes in the post text editor and paste the input INSIDE of that.

image.png.9f53ecca9ec46377cea8225842b1def4.png

 

Output:

Quote

PS C:\Users\Astiliano> GetLog


 

 ---------------------------

Using log.txt from F:\LIBRARIES\Documents\BattleForge\Diag\log.txt

    ###First 30 Lines:
[INFO][Direct3D 9]: Start Scan
[INFO][Direct3D 9]: Found Adapter: NVIDIA GeForce GTX 760
[INFO][Direct3D 9]: Support Hardware vertex processing
[INFO][Direct3D 9]: Support SM 3.0
[INFO][Direct3D 9]: Found Adapter: NVIDIA GeForce GTX 760
[INFO][Direct3D 9]: Support Hardware vertex processing
[INFO][Direct3D 9]: Support SM 3.0
[INFO][Direct3D 9]: End Scan
[INFO][app]: BattleForge Final Build: 397096 (Retail branch)
[INFO][app]: CPU GenuineIntel family 6 (P2, P3, Pentium-M, Athlon) detected.
[INFO][app]: CPU clock speed is ~2900 MHz.
[INFO][app]: CPU has 4 cores.
[INFO][app]: CPU rating is 19 points.
[INFO][app]: GFX rating is 0 points.
[INFO][Create Device]: Switch to display parameters: 1920 × 1080 @ 0 Hz, fullscreen.
[INFO][Display]: Use Direct3D 9
[INFO][GPU]: Vendor ID = 0x10de
[INFO][GPU]: Device ID = 0x1187
[INFO][GPU]: Subsystem ID = 0x282b1462
[INFO][GPU]: Device name = \\.\DISPLAY1
[INFO][GPU]: Device description = NVIDIA GeForce GTX 760
[INFO][GPU]: Driver version = 23.21.13.9135
[INFO][GPU]: Driver description = nvldumd.dll
[INFO][Display]: SLI multi-GPU mode
[INFO][Display]: Number of GPUs: 2
[INFO][Create Device]: Vertex shader = 0x300; Pixel shader = 0x300.
[INFO][PssSoundPipeline]: Loading soundpipeline:

 Version: 1
Number of Files:9604


    ###Searching for 'WARN', 'ERROR', 'DEBUG', and removing 'Not enough different creep entities' from results, getting uniques and showing last 15 error/warn types

[INFO][UI (Lua)]:  [DEBUG0] Checking deck...
[INFO][UI (Lua)]:  [DEBUG1] Deck was nil before. It isn't now.
[INFO][UI (Lua)]:  [DEBUG1] New deck: (RedGreen): 3000416, 3000662, 3000431, 3001375, 3000782, 3000554, 1578, 3000541, 3000719, 3000708, 3001561, 3001484, 3000345, 3001004, 3000724, 3001304, 2000978, 3001527, 3000726, 3000819
[INFO][UI (Lua)]:  [DEBUG3] Deck was changed.
[INFO][UI (Lua)]:  [DEBUG3] Old deck: (RedGreen): 3000416, 3000662, 3000431, 3001375, 3000782, 3000554, 1578, 3000541, 3000719, 3000708, 3001561, 3001484, 3000345, 3001004, 3000724, 3001304, 2000978, 3001527, 3000726, 3000819
[INFO][UI (Lua)]:  [DEBUG3] New deck: (4R rPVE): 3001284, 2001386, 3000346, 2000378, 723, 3000776, 3000379, 1000290, 1578, 3000541, 3000677, 2001344, 3000388, 3000726, 834, 3000962, 3000820, 3001292, 3000729, 1000838
[WARN][VisSoundAcknowledgement]: Duplicate AckEvent found (card 2000820, class 16, subclass 0), skipping entry!
[WARN][VisSoundAcknowledgement]: Duplicate AckEvent found (card 3000820, class 16, subclass 0), skipping entry!
[WARN][VisSoundAcknowledgement]: Duplicate AckEvent found (card 3000795, class 14, subclass 1), skipping entry!
[WARN][VisSoundAcknowledgement]: Duplicate AckEvent found (card 3000692, class 14, subclass 1), skipping entry!

 

 

 

 

Edited by Astiliano

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.