@@ -44,91 +44,23 @@ Launching and using SwiftSplit is fairly simple, with only three broad steps.
44
44
Safari doesn't like the way SwiftSplit communicates with LiveSplit One, so LiveSplit stalls when trying to connect.
45
45
46
46
### Firefox - Mostly compatible
47
- If you only have one display , Firefox will slow down the LiveSplit One tab, causing it to record incorrect times.
48
- If you keep the LiveSplit window open on a second display this isn't an issue.
47
+ Unless you can keep LiveSplit open and visible , Firefox will slow down the LiveSplit One tab, causing it to record
48
+ incorrect times. If you keep the LiveSplit window open on a second display this isn't an issue.
49
49
50
50
### Chrome - Compatible
51
51
Chrome doesn't seem to have the same optimization as Firefox, which in this case is a good thing. If you're using
52
52
Firefox and your splits are coming out wrong, try with Chrome and see if that fixes it.
53
53
54
54
## Pre-made splits
55
- Pre-made splits and route JSON files for Any% and the B-sides can be found [ here] ( https://github.com/thecodewarrior/SwiftSplit/tree/master/example ) .
56
- The ` .lss ` files can be imported directly into LiveSplit One and the corresponding ` .json ` files can be loaded into SwiftSplit.
57
-
58
- # Route JSON
59
- Routes are configured using a JSON file and use "events" generated by SwiftSplit. They consist of a reset event and a
60
- list of route events. SwiftSplit expects route events in a specific order and triggers splits on those events. The reset
61
- event can trigger at any point during the route and will reset the run. If the next event in the route is itself the
62
- reset event, that will take priority and the run won't be reset. This can be used to implement returning to map into
63
- your route.
64
-
65
- Here's an example for Old Site Any%:
66
- ``` json
67
- {
68
- "useFileTime" : false ,
69
- "reset" : " reset chapter" ,
70
- "route" : [
71
- " start chapter 2 ## Start" ,
72
- " d8 > d3 ## - Mirror" ,
73
- " 3x > 3 ## Intervention" ,
74
- " 10 > 2 ## - Escape" ,
75
- " 13 > end_0 ## Awake" ,
76
- " complete chapter 2"
77
- ]
78
- }
79
- ```
80
-
81
- ## Events
82
- Events are triggered when SwiftSplit observes a change in the game state, which is checked 30 times every second. A
83
- single state change frequently causes multiple events, generally with differing levels of specificity.
84
-
85
- Note that the * exact* text of an event is important. Spaces and capitalization have to match, with a couple additions:
86
- - Inserting an exclamation point (` ! ` ) at the beginning of an event will cause that event to not trigger a split. This
87
- can be useful when your route passes between two screens multiple times but you only want one split.
88
- - Anything after ` ## ` will be trimmed off. This can be useful for explaining events.
89
- - Any event entries that start with ` # ` will be ignored, allowing you to "comment out" events.
90
-
91
- SwiftSplit has an "Event Stream" panel that displays events as they are triggered, which can be useful when creating
92
- route files. (You can copy the text out of the panel to paste directly into the route file too).
93
-
94
- ### Chapter start/end events
95
- - ` leave chapter ` - Triggered when leaving any chapter (either by restarting the chapter, returning to the map, or
96
- using "Save and Quit")
97
- - ` leave chapter <n> ` - Triggered when leaving chapter ` <n> `
98
- - ` start chapter ` - Triggered when any chapter is started
99
- - ` start chapter <n> ` - Triggered when chapter ` <n> ` is started
100
- - ` complete chapter ` - Triggered when any chapter is completed
101
- - ` complete chapter <n> ` - Triggered when chapter ` <n> ` is completed
102
- - ** A-side specific:**
103
- - ` start a-side <n> ` - Triggered when chapter ` <n> ` 's A-side is started
104
- - ` leave a-side <n> ` - Triggered when leaving chapter ` <n> ` 's A-side
105
- - ` complete a-side <n> ` - Triggered when chapter ` <n> ` 's A-side is completed
106
- - ** B-side specific:**
107
- - ` start b-side <n> ` - Triggered when chapter ` <n> ` 's B-side is started
108
- - ` leave b-side <n> ` - Triggered when leaving chapter ` <n> ` 's B-side
109
- - ` complete b-side <n> ` - Triggered when chapter ` <n> ` 's B-side is completed
110
- - ** C-side specific:**
111
- - ` start c-side <n> ` - Triggered when chapter ` <n> ` 's C-side is started
112
- - ` leave c-side <n> ` - Triggered when leaving chapter ` <n> ` 's C-side
113
- - ` complete c-side <n> ` - Triggered when chapter ` <n> ` 's C-side is completed
114
-
115
- ### Screen transition event
116
- - ` <from screen> > <to screen> ` - Triggered when transitioning between two screens (you can find the screen IDs by
117
- enabling debug and hovering over the screen in the map editor.)
118
-
119
- ### Collectable events
120
- - ** Cassettes:**
121
- - ` cassette ` - Triggered when any cassette is collected
122
- - ` chapter <n> cassette ` - Triggered when the cassette in the specified chapter is collected
123
- - ` <n> total cassettes ` - Triggered when a cassette is collected. ` <n> ` is the total number of cassettes collected in
124
- the current file
125
- - ** Heart Gems:**
126
- - ` heart ` - Triggered when any heart gem is collected
127
- - ` chapter <n> heart ` - Triggered when the heart gem in the specified chapter is collected
128
- - ` <n> total hearts ` - Triggered when a heart gem is collected. ` <n> ` is the total number of heart gems collected in
129
- the current file
130
- - ** Strawberries:**
131
- - ` strawberry ` - Triggered when any strawberry is collected
132
- - ` <n> chapter strawberries ` - Triggered when a total of ` <n> ` strawberries are collected in a chapter
133
- - ` <n> file strawberries ` - Triggered when a total of ` <n> ` strawberries are collected in the file
55
+ You can get pre-made splits from the [ examples directory] ( https://github.com/thecodewarrior/SwiftSplit/tree/master/example ) .
56
+ Included are:
57
+ - Full-game
58
+ - Any%
59
+ - IL (chapters 1–9)
60
+ - Any%
61
+ - B-side
62
+ - C-side
63
+ - Icons (chapters, berry, and celeste mountain) for use as split icons
64
+ For each of these the ` .lss ` file can be imported directly into LiveSplit One and the corresponding ` .json ` files can
65
+ be loaded into SwiftSplit.
134
66
0 commit comments