Skip to content

Instantly share code, notes, and snippets.

@kcarlson
Created February 4, 2022 18:24
Show Gist options
  • Select an option

  • Save kcarlson/0ff43632d43ab3ad90ad60f9bb0a4c5e to your computer and use it in GitHub Desktop.

Select an option

Save kcarlson/0ff43632d43ab3ad90ad60f9bb0a4c5e to your computer and use it in GitHub Desktop.
ocellus-save

Ocellus Save Subflow

This node saves the ocellus configuration to: ~/.config/unity3d/Byte\ Motion/Ocellus/default.ocl on the host computer. NOTE: This is not accessable unless mounted to the docker container.

{
"id": "Ocellus - Save SOURCE",
"type": "subflow",
"name": "Ocellus - Save SOURCE",
"info": "",
"category": "",
"in": [
{
"x": 220,
"y": 400,
"wires": [
{
"id": "195afb3f7a6a9d9d"
}
]
}
],
"out": [
{
"x": 760,
"y": 400,
"wires": [
{
"id": "fe49f750e6ee89db",
"port": 0
}
]
}
],
"env": [],
"meta": {},
"color": "#DDAA99",
"flows": [
{
"id": "GET Save Request",
"type": "http request",
"z": "ed4b58ae4c50454a",
"name": "GET Save Request",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "http://{{host}}:{{port}}/api/v1/cmd/save",
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"senderr": false,
"credentials": {},
"x": 580,
"y": 400,
"wires": [
[]
]
},
{
"id": "",
"type": "change",
"z": "ed4b58ae4c50454a",
"name": "",
"rules": [
{
"t": "set",
"p": "host",
"pt": "msg",
"to": "host",
"tot": "env"
},
{
"t": "set",
"p": "port",
"pt": "msg",
"to": "port",
"tot": "env"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 380,
"y": 400,
"wires": [
[
"fe49f750e6ee89db"
]
]
},
{
"id": "",
"type": "subflow:ed4b58ae4c50454a",
"z": "800081ced98e4b3b",
"name": "",
"env": [
{
"name": "host",
"value": "localhost",
"type": "str"
},
{
"name": "port",
"value": "8003",
"type": "num"
}
],
"x": 590,
"y": 340,
"wires": [
[
"7df4ce3e6a5b8f7d"
]
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment