Skip to content

Instantly share code, notes, and snippets.

@just-ero
Last active January 14, 2025 00:09
Show Gist options
  • Save just-ero/1e3b784fa63059f04f8dd2810dfa8f13 to your computer and use it in GitHub Desktop.
Save just-ero/1e3b784fa63059f04f8dd2810dfa8f13 to your computer and use it in GitHub Desktop.
TraceSpy LiveSplit Setup

NOTE:

Sometimes, when opening TraceSpy, it gets displaced (to -25600, -25600). When this happens, the window will be completely gone. To fix, you unfortunately need to replace your WpfSettings.config with the one below again (instructions in 4th/5th bullet point below).

Setting up TraceSpy

  • download from https://github.com/smourier/TraceSpy/releases/latest
  • move the .exe to any place on your PC
  • start the program and immediately close it
    • this will create the config in ~\AppData\Roaming\TraceSpy
    • to find this folder, simply type %appdata% into your Windows search and hit enter
  • download WpfSettings.config below by clicking the Raw button in the top-right of it and then pressing Ctrl + S or right-click → Save as
  • replace the one in ~\AppData\Roaming\TraceSpy with the downloaded one
  • done!

Your TraceSpy will now only respond to output from LiveSplit.exe. When making debug prints, I suggest starting every print with [GameNameHere] or [GameNameHere ASL]. This will highlight each print blue.

int myOutput = 1337;
print("[GameNameHere] " + myOutput);

Notes:

  • to change the highlight colors, go to Options → Regex Colorizers...
  • to allow seeing output from processes other than LiveSplit, go to Options → Exclusion Filters...
    • from here, set the top filter's Active state to false
<WpfSettings>
<Left>2065</Left>
<Top>26</Top>
<Width>1130</Width>
<Height>1060</Height>
<IndexColumnWidth>50</IndexColumnWidth>
<TicksColumnWidth>120</TicksColumnWidth>
<ProcessColumnWidth>85</ProcessColumnWidth>
<TextColumnWidth>845</TextColumnWidth>
<CaptureOdsTraces>true</CaptureOdsTraces>
<ShowTicksMode>AsDeltaSeconds</ShowTicksMode>
<WrapText>true</WrapText>
<FontSize>13.2</FontSize>
<FontName>Cascadia Mono</FontName>
<Filters>
<Filter>
<IsActive>false</IsActive>
<Type>Regex</Type>
<Column>ProcessName</Column>
<Definition>^(?!(ElenaTemple|)$).*</Definition>
</Filter>
<Filter>
<Type>Regex</Type>
<Column>ProcessName</Column>
<Definition>^(?!LiveSplit$).*</Definition>
</Filter>
<Filter>
<Type>Text</Type>
<Column>Text</Column>
<Definition>LiveSplit.exe Information: 0 :</Definition>
</Filter>
<Filter>
<Type>Text</Type>
<Column>Text</Column>
<Definition>LiveSplit.exe Error: 0 :</Definition>
</Filter>
</Filters>
<Colorizers>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL\]) (?&lt;ok&gt;Loading new script): .+</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL/\d+\]) (?&lt;ok&gt;Running startup)</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL/\d+\]) (?&lt;ok&gt;Initializing)</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL/\d+\]) (?&lt;ok&gt;Init completed, running main methods)</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL/\d+\]) (?&lt;warn&gt;Running exit)</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;pre&gt;\[ASL/\d+\]) (?&lt;warn&gt;Running shutdown)</Definition>
</Colorizer>
<Colorizer />
<Colorizer>
<Definition>(?&lt;=(?&lt;exc&gt;Exception thrown):.*)'(?&lt;err&gt;.+?)'</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;none&gt; at .+)</Definition>
</Colorizer>
<Colorizer />
<Colorizer>
<Definition>(?&lt;aslhelp&gt;\[asl-help\])</Definition>
</Colorizer>
<Colorizer>
<Definition>(?&lt;debug&gt;\[(?!ASL/[\d]+).*\])</Definition>
</Colorizer>
</Colorizers>
<ColorSets>
<ColorSet>
<Name>pre</Name>
<ForeBrush>#b7b7c7</ForeBrush>
<BackBrush />
<Font>Cascadia Mono Light, 13.2pt</Font>
</ColorSet>
<ColorSet>
<Name>none</Name>
<ForeBrush>#b7b7c7</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Italic</Font>
</ColorSet>
<ColorSet>
<Name>ok</Name>
<ForeBrush>#abd277</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold, Italic</Font>
</ColorSet>
<ColorSet>
<Name>warn</Name>
<ForeBrush>#f0a070</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold, Italic</Font>
</ColorSet>
<ColorSet>
<Name>err</Name>
<ForeBrush>#f35458</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold, Italic</Font>
</ColorSet>
<ColorSet />
<ColorSet>
<Name>exc</Name>
<ForeBrush />
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold</Font>
</ColorSet>
<ColorSet />
<ColorSet>
<Name>aslhelp</Name>
<ForeBrush>#a0a0ff</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold, Italic</Font>
</ColorSet>
<ColorSet>
<Name>debug</Name>
<ForeBrush>#66bbff</ForeBrush>
<BackBrush />
<Font>Cascadia Mono, 13.2pt, style=Bold, Italic</Font>
</ColorSet>
</ColorSets>
</WpfSettings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment