intiface / intiface-cli-csharp Goto Github PK
View Code? Open in Web Editor NEWCommand line interface for running an Intiface server
License: Other
Command line interface for running an Intiface server
License: Other
We should be able to persist device ids outside of sessions, so we can cycle sessions instead of having to keep device managers alive in-process.
After an Update via Intiface Desktop I got a Massage like this when trying to start the server:
{ "reason": "Command failed: E:\Program Files (x86)\IntifaceCLI\IntifaceCLI.exe --frontendpipe --stayopen --wsinsecureport 12345 --log Info\n\nUnbehandelte Ausnahme: System.IO.FileLoadException: Die Datei oder Assembly "CommandLine, Version=2.4.3.0, Culture=neutral, PublicKeyToken=de6f01bd326f8c32" oder eine Abh�ngigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis �berein. (Ausnahme von HRESULT: 0x80131040)\r\n bei IntifaceCLI.Program.Main(String[] args)\n" }
(Sorry for the german Error message)
I tried manually replacing the CommandLine.dll with the 2.4.3 version and suddenly I got a different message (wrong version for yamldotnet I believe). So I'm pretty sure the programm still requires the old versions but the dlls got updated.
Right now they're just "insecureport" and "secureport" which is going to be a problem if we add TCP transports at some point.
Instead of just specifying a server and 2 ports, just specify the ports and run the server if either/both port options exists.
Intiface Desktop shows an error message when trying to start a server using secure websockets:
Command failed: C:\Program Files (x86)\IntifaceCLI\IntifaceCLI.exe --frontendpipe --stayopen --wssecureport 12346 --wscertfile C:\Users\...\AppData\Local\Intiface\cert.pem --wsprivfile C:\Users\...\AppData\Local\Intiface\privkey.pem --log Info
AggregateException was unhandled. One or more errors occurred.
---> System.Exception: Pem certificate C:\Users\...\AppData\Local\Intiface\cert.pem could not be loaded
---> System.Exception: The Method "ReadPemCertificateWithPrivateKey" has failed.
---> System.IO.FileLoadException: Could not load file or assembly "BouncyCastle.Crypto, Version=1.8.4.0, Culture=neutral, PublicKeyToken=0e99375e54769942" or one of its dependencies. The specified module could not be found.
[...]
It looks like the Windows release of Intiface CLI v0.4.5 comes bundled with version 1.8.5 of the BouncyCastle.Crypto.dll
assembly.
However, the Buttplug.Server.Connectors.WebsocketServer.dll
library requires version 1.8.4 of that assembly.
As a workaround, users can get version 1.8.4 of BouncyCastle.Crypto.dll
from bouncycastle.org and replace the file in the installation directory (C:\Program Files (x86)\IntifaceCLI
).
Affected versions:
Right now it just prints "1".
They're all using the same factory, so we can just bounce connections as needed once one is live.
For preserving device managers between connections.
So that we can actually load user settings into the CLI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.