LiveSplit.AutoSplitters icon indicating copy to clipboard operation
LiveSplit.AutoSplitters copied to clipboard

Added Dandara Rust Auto Splitter

Open marcelopio opened this issue 3 months ago • 5 comments

Added a new auto splitter for Dandara based on Rust while keeping the old asl one.

If you are adding or modifying an Auto Splitter, please fill out this checklist:

  • [x] My Auto Splitter does not contain any malicious functionality and I'm entirely responsible for any damages myself. (Any kind of abuse in an Auto Splitter will result in an immediate ban.)
  • [x] I am not replacing an existing Auto Splitter by a different author, or I have received permission from the author to replace the existing Auto Splitter.
  • [x] The Auto Splitter has an open source license that allows anyone to fork and host it.

marcelopio avatar Oct 29 '25 01:10 marcelopio

Seems like I can't add an ASL and an ASR? Would that be possible to keep the ASL?

marcelopio avatar Oct 29 '25 01:10 marcelopio

That's a duplicate build error, Dandara already exists on the XML https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/a05417f636274e0d827e985c2aba76d28213833e/LiveSplit.AutoSplitters.xml#L19259

You can just add another URL to the existing record

<AutoSplitter>
    <Games>
        <Game>Dandara</Game>
    </Games>
    <URLs>
        <URL>https://raw.githubusercontent.com/marcelopio/Dandara-Autosplitter/main/dandara.asl</URL>
        <URL>https://github.com/marcelopio/Dandara-Autosplitter/releases/download/latest/dandara_asr.wasm</URL>
    </URLs>
    <Type>Script</Type>
    <Description>Supports Autosplit, Autostart, Autoreset, Load Removal, can split on every room or saved camp</Description>
    <Website>https://discord.gg/8t4WrMmpXs</Website>
</AutoSplitter>

ru-mii avatar Oct 29 '25 04:10 ru-mii

I guess it doesn't work because of this validation

WebAssembly Script is downloaded even though ScriptType "AutoSplittingRuntime" is not specified

https://github.com/LiveSplit/LiveSplit/blob/master/test/LiveSplit.Tests/AutoSplitterTests/AutoSplitterXML.cs#L62

We could potentially change this to only check the first URL?

wooferzfg avatar Nov 04 '25 13:11 wooferzfg

What's the reason you need to keep the ASL autosplitter?

wooferzfg avatar Nov 04 '25 13:11 wooferzfg

Mainly just to not disrupt the settings for everyone, as they won't be able to port the settings easily.

Edit: I created the new Rust port mainly for me to run it on Linux more easily with LiveSplitOne obs

marcelopio avatar Nov 04 '25 14:11 marcelopio