You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a macro (call this macro1) contains a substring previously defined as a macro (call this macro2) earlier in the json config, then loading a recording with macro1 in it will cause a crash. For example, if you have the macro "SBA" defined before "SSBA" in the config json, any recordings containing "SSBA" will crash. Reversing the order of the macros in the config will prevent the crash.
Here is a minimum working example:
In config\mwe_crash.json:
{
"FPS": 60,
"Symbols": {
"L": "BtnX",
"start": "BtnStart"
},
"P1_directions": {
"2": { "Dpad": "down" }
},
"P2_directions": {
"2": { "Dpad": "down" }
},
"Macros": {
"SBA": "L",
"SSBA": "start"
}
}
In recordings\mwe_crash.txt:
config\mwe_crash.json
SSBA
The text was updated successfully, but these errors were encountered:
If a macro (call this macro1) contains a substring previously defined as a macro (call this macro2) earlier in the json config, then loading a recording with macro1 in it will cause a crash. For example, if you have the macro "SBA" defined before "SSBA" in the config json, any recordings containing "SSBA" will crash. Reversing the order of the macros in the config will prevent the crash.
Here is a minimum working example:
In config\mwe_crash.json:
{
"FPS": 60,
"Symbols": {
"L": "BtnX",
"start": "BtnStart"
},
"P1_directions": {
"2": { "Dpad": "down" }
},
"P2_directions": {
"2": { "Dpad": "down" }
},
"Macros": {
"SBA": "L",
"SSBA": "start"
}
}
In recordings\mwe_crash.txt:
config\mwe_crash.json
SSBA
The text was updated successfully, but these errors were encountered: