Giter Club home page Giter Club logo

intiface-cli-csharp's Introduction

DEPRECATED AND ARCHIVED

This project has been superceded by intiface-cli-rs and will no longer be updated.

Intiface CLI - C#

Patreon donate button Discourse Forum Discord Twitter

Command Line Interface for running Intiface servers.

Basically just a front-end for Buttplug C#, but since we're trying to not make people install a program named "Buttplug" on their computers, here we are.

While this program can be used standalone, it will mostly be featured as a backend/engine for Intiface Desktop.

A Note About Versioning

Versions of the Intiface CLI have Major/Minor/Patch semvers that track the version of buttplug-csharp library they depend on. Any changes to the intiface CLI program itself will be build versions tacked on the end of that range.

Support The Project

If you find this project helpful, you can support us via Patreon! Every donation helps us afford more hardware to reverse, document, and write code for!

License

Buttplug is BSD 3-Clause licensed. More information is available in the LICENSE file.

intiface-cli-csharp's People

Contributors

qdot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

intiface-cli-csharp's Issues

Intiface CLI v0.4.5 includes wrong BouncyCastle.Crypto.dll assembly

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:

  • Intiface Desktop version: 14.0.0
  • Intiface Engine version: 0.4.5
  • OS: Windows 10

Remove "websocketserver" option

Instead of just specifying a server and 2 ports, just specify the ports and run the server if either/both port options exists.

Wrong DLL Versions after update

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.