Skip to content

russjudge/ArtemisSBS-ProtocolSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

ArtemisSBS-ProtocolSharp

Libraries and applications for utilizing the TCP/IP protocol used by Artemis SBS, written in C#.

Artemis SBS (Artemis Spaceship Bridge Simulator) can be found at http://www.artemis.eochu.com.

The library is based on the reverse-engineered documentation found at https://github.com/rjwut/ArtClientLib/wiki/Artemis-Packet-Protocol. It is written both to make use of existing functionality provided by the protocol, and to provide a means for extending that functionality.

The following assumptions are made for this project:

  1. The protocol is designed for use exclusively by Artemis SBS. Use outside of Artemis SBS was never intended, but is the intent of this project.
  2. The base protocol is out of the control of this project. The protocol is defined by the developer of the Artemis SBS game, so no modifications can be made to the base protocol. Since it is uncertain how Artemis SBS will behave with any variance to the protocol, it is assumed that any variance could cause unpredictable results, up to and including crashing the game, and possibly causing buffer overruns or underruns, and as such, the protocol is not to be modified.
  3. Since the protocol itself is reverse-engineered, it is expected that some of the data transmitted from Artemis SBS might not be data that matches the known documentation, and could in some cases actually contradict the documented protocol.

Just because this project is written in C# does not mean it will work only on Windows. The intention is to have the bulk of the code in this project compile in Mono (http://mono-project.com), so that the resulting application is truly cross-platform.

For this reason, the following rules are set:

  1. The .NET 4.0 is to be targetted.
  2. Only the UI itself may make use of functionality not available in Mono, such as the WPF Framework. All other code should compile in Mono, as well as within Microsoft's .NET framework. See the Mono Project for notes on incompatibilities.
  3. Any UI projects must have a minimum of code--the bulk of the logic process is to be in the libraries that are cross-platform.
  4. Code that processes the ArtemisSBS protocol will need to be written to handle cases where ArtemsSBS transmits data that is contradictory to the reverse-engineered documentation for the protocol, whether it simply ignores the data, logs it, or some other action--it is not to crash the application that uses this library.
  5. Extensions to the protocol for the purpose of providing functionality not available in Artemis SBS are never to be transmitted to Artemis SBS to avoid the unpredictable results, other than for further reverse-engineering of the protocol itself.

At this time we are not taking on new contributors. However, if you are interested, please feel free to leave a note with a link to a sample of some code you have developed. If we are in need of some extra hands, we may contact you.

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors Russ Judge

About

Libraries for utilizing the TCP/IP protocol used by Artemis SBS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published