Failed to load autosplitter config: Invalid autosplitter config in /path/to/autosplitter.json: i128 is not supported at line 10 column 59
I don't have the wildest idea about rust or why it is that this error occurs but playing around with what seems to be the culprit piece of code, and locally by changing it to i64 and casting it to i128 it seems to work (or maybe it will once I fix the os error 5 I'm getting, which just seems to be that GameThread is not the correct process name...)
|
pub enum Condition { |
|
Equals { value: i128 }, |
|
NotEquals { value: i128 }, |
|
GreaterThan { value: i128 }, |
|
LessThan { value: i128 }, |
|
Increased, |
|
Decreased, |
|
Changed, |
|
} |
{
"target": { "kind": "process_memory", "process_name": "GameThread" },
"poll_interval_ms": 33,
"watches": [
{
"name": "is_paused",
"address": "0x8A3CD80C",
"value_type": "u8",
"condition": { "kind": "equals", "value": "0x1" },
"action": "start"
}
]
}
Failed to load autosplitter config: Invalid autosplitter config in /path/to/autosplitter.json: i128 is not supported at line 10 column 59
I don't have the wildest idea about rust or why it is that this error occurs but playing around with what seems to be the culprit piece of code, and locally by changing it to i64 and casting it to i128 it seems to work (or maybe it will once I fix the os error 5 I'm getting, which just seems to be that GameThread is not the correct process name...)
OpenSpeedRun/src/autosplitter/config.rs
Lines 173 to 181 in e827ae1
{ "target": { "kind": "process_memory", "process_name": "GameThread" }, "poll_interval_ms": 33, "watches": [ { "name": "is_paused", "address": "0x8A3CD80C", "value_type": "u8", "condition": { "kind": "equals", "value": "0x1" }, "action": "start" } ] }