Autosplitter
7 years ago

I put together a layout, split file and autosplitting script Livesplit. Use the provided split file and layout, if you want, then add the split script. I only have one computer to test it on, so if it doesn't work, let me know.

Split file: https://drive.google.com/open?id=1Pe1wF9PWdJFm-kz7lp2NfBqwZLCLb-Jo Script: https://drive.google.com/open?id=1a4ApkimLLI-oImrbEvtFhRxxaBTxyX1V Layout: https://drive.google.com/open?id=1PtIkFV-Fm6fdM-rrqCWk17vhmzmY1fzl

Bearbeitet von der Autor 7 years ago
Pays de la Loire, France

Hey, the autospliter didnt work for me ^^

Does it not work at all, or just some levels? It's still inconsistent for me. I'm going to try fixing it once I have time, and hopefully both problems would be fixed, but I can't say for sure

Pays de la Loire, France

i only try it on the first split.

Alright, so it wasn't really possible to get it to work the normal way, but I think I have it working consistently now. Unfortunately, it requires essentially a mod for the game. The mod shouldn't affect gameplay at all, but let me know if it does.

To install it, download all of the files from here: https://drive.google.com/open?id=1heK2crAaQNPEfcuESD-OwIxNzHxcF62z .

Then navigate to your intsalled game folder and go to GameData/System and replace the existing xinterfacectmenus.u with the provided one. (Make sure to back it up in case it doesn't work) Then navigate to GameData/Maps and replace the geo_01a.ctm and yyy_06d.ctm files with the provided ones. (Make backups of these too) Then take LiveSplit.SWRC.dll and copy it into the LiveSplit/Components folder where LiveSplit is installed. Then load LiveSplit and load the provided split file. Then, if you want to use my layout file, load the layout file. If not, go to your layout editor and add a Control>SWRCSplit component to your layout. Then, if you use either your own or my split file, you have to go into the layout settings and find the SWRCSplit tab. Finally, set the Game Folder to be the GameData folder in your installed game folder and you should be ready to go.

It's a bit of work to set up, but from my testing it works 100% of the time and should work on any computer. The previous version I made looked at memory pointers to find the current level, but this version instead looks in your save directory. The mod makes a dummy save every time you go into a new level, and the component checks for new ones and splits to that level. The reason the modified first and last levels are required is that for those splits, they are triggered not by the next level loading, like the others, but the button being pressed for the first one, and the level end for the last one.

If you have any questions or problems, let me know.

Bearbeitet von der Autor 5 years ago
Ohio, USA

This autosplitter works great, thanks for doing this :) only issue I have is it doesn't work for individual stories. Also, if I want to run individual stories, I have to manually remove the dll file from the components folder. I don't really need it to auto start or stop, so I was just wondering if there was an easy way to modify it so it doesnt jump to the 13th split or whatever when I start the timer at Assault Ship. And if this isn't easy, then could you at least add an option to disable the autosplitter without having to manually remove the dll?

Ohio, USA

Also, the link you have there gets misdirected because of the period at the end

France

I think you can edit the .ASL file yourself if you want customization. You can go in the livesplit layout and add 'autosplitter file' as a feature instead of using the dll.

(I'm re-reading kram's post now and all that stuff seems convoluted - I don't know if my suggestion is relevant...)

I believe the way it works is that the game makes a save of the level at the beginning of each level. The LiveSplit plugin that I wrote watches the save directory and whenever a new save is made, it checks the name of the save and it goes to the split that has the same name as the save. I'm not totally sure anymore, since I've lost the code for the plugin. I might try making it again. If I remember correctly, it wasn't that hard to get to work... I wasn't ever able to make the ASL file consistent, since I couldn't find a pointer that was consistently pointing to the level name, which is why I went for the dll. It's probably possible to do as a script as well though

Bearbeitet von der Autor 4 years ago
Ohio, USA

If i remember correctly from the last time I used the plugin, it jumped to the position where the split should be (assuming a split for every load), rather than the split with a matching name. Tbh I might be able to write my own if I find some free time. Is there any good resource on how to write LiveSplit plugins?

Not really. There really isn't much good documentation.

I'm actually trying to remake it but as an autosplitter script. I think I'm managed to get it to work just using the memory pointers, but it splits each level once it's finished loading, instead of once it starts loading. I'm going to try a bit more. If not, I might just remake the old plugin that I made, but make it handle doing just sections of the game, instead of all the levels.

I updated the autosplitter. It's in the same google drive folder (LiveSplit.SWRCSplit.dll) It is a bit more general than the last one, so it should allow you to use it for just doing individual missions. It won't automatically start at the beginning and stop at the end of Assault ship and Kashyyyk, but it should split for all other levels. It just will split whenever you enter a level that you haven't been to yet.

Reverbed und wike gefällt das.
United States

Hey @kram1138, if it's not any trouble, could we please get an updated guide for the autosplitter? Otherwise is the previous post 5th from the top a current, usable guide? Gonna go ahead and try what your 2 year old post says with the newer .dll in case that works.

EDIT: Must be outdated or I must've missed something. It didn't work. :(

Bearbeitet von der Autor 4 years ago

I updated the dll, but the process for using it should be the same. You need to make sure to configure the plugin correctly. There is a setting in the configuration for the plugin. You need to set it to your game save folder so it can tell when new levels are loading

Bearbeitet von der Autor 4 years ago
Reverbed gefällt das.
Ohio, USA

I was just now having a weird issue where the save files weren't being deleted when I reset, but i guess it fixed itself? anyways, @Reverbed, just make sure to use the Livesplit.SWRCSplit.dll file, then start Livesplit and add it to your layout as a control in the 'edit layout' page, then in layout settings, under the SWRC Autosplitter tab, set the path to wherever the /GameData/Save folder is. Might need to restart LiveSplit and/or SWRC itself to get it working properly, and keep an eye on the Save folder, because I maybe it doesn't correctly delete the saves sometimes. I'll let you guys know if I see that issue again and can figure out what might cause it.

Reverbed gefällt das.

Yea, it sometimes doesn't properly remove the saves if you exit livesplit without resetting or a few other things.

Reverbed gefällt das.
United States

I wasn't able to get the autosplitter to work unfortunately. I replaced the xinterfacectmenus.u, geo_01a.ctm, and yyy_06d.ctm files. I added the LiveSplit.SWRCSplit.dll file to the components folder, and set the script path to LiveSplit.SWRCSplit.dll. In the layout editor under control, I added SWRC Autosplitter and set the save folder path to the GameData\Save. I'm not using the provided layout file because I'm using my own layout, is that a problem? Plus, every time I close LiveSplit and save my changes, when it's reopened the script path goes back to SWRC.ASL instead of LiveSplit.SWRCSplit.dll. I must be missing something obvious because I think I did everything, unless I'm a doofus. :D Let me know if I failed to do anything, and as always, thanks!

Yea, the component isn't a script. Sorry it wasn't clear, you don't need the asl file. You put the dll in the components folder and add the swrc autosplitter, not the scriptable autosplitter as you mentioned. Once you've done that and replaced those game files it should work. It should work with any split file as long as they have a split for each level. If not, can you load a level in the game without live split running and check your save folder to see if there is a folder there with the name of the level?

Bearbeitet von der Autor 4 years ago
Reverbed gefällt das.
United States

If my save folder is full of saves from missions, do I need to delete those? There is a folder for each Geonosis mission with a single CTS file in it, and it appears to update properly. Here is a link to my stream VOD so you can see my screen and what I've done and haven't done. twitch.tv/videos/585215675?t=03h12m15s Something might stick out to you. If not, I'll just continue to press a key for splitting. Thanks!

If you are getting saves in there, it means the mod I made is working, the live split component just isn't working. What does your live split swrc component configuration look like

Spielstatistiken
Follower
189
Läufe
196
Spieler
34
Neueste Threads
Veröffentlicht 2 years ago
2 Antworten
Veröffentlicht 2 years ago
4 Antworten
Veröffentlicht 2 years ago
1 Antwort
Veröffentlicht 2 years ago
1 Antwort
Veröffentlicht 4 years ago
6 Antworten