hawkerm / LiveSplit.ASLVarViewer

A LiveSplit Information Component for displaying State/Variables from ASL Script based AutoSplitters.
MIT License
8 stars 1 forks source link

Only works for Scriptable Auto Splitter #1

Closed hawkerm closed 8 years ago

hawkerm commented 8 years ago

Should investigate hooking into scripts auto-downloaded by the splits editor.

Need to understand the interface differences between the scriptable component here: https://github.com/LiveSplit/LiveSplit.ScriptableAutoSplit/blob/f1dc1141fffdba1231b1e8f13300f49bb95fe346/Component.cs

And the built-in downloader model here: https://github.com/LiveSplit/LiveSplit/blob/master/LiveSplit/LiveSplit.Core/Model/AutoSplitter.cs

It looks like it uses the same dll on Line 46 which means, I just need to figure out how to introspect into that location. Then the path would be the same.

Should be able to check if State.Run.AutoSplitter.Type == AutoSplitterType.Script and then use the State.Run.AutoSplitter.Component.

I will investigate and test this soon when I ship my auto-splitter.

hawkerm commented 8 years ago

Need to do some more tests with the settings dialog, but have a preliminary build of this.

hawkerm commented 8 years ago

Fixed by comit d443d9f6ad3a2f506819279a9de5a3798536849f