Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from MMF to cross platform IPC (TCP) #83

Closed
wants to merge 8 commits into from

Conversation

ndelta0
Copy link

@ndelta0 ndelta0 commented Mar 18, 2021

Converted the plugin from Visual Studio solution to CMake. Transferred from Memory Mapped Files (Windows only) to TCP using cppzmq (Windows, Linux, Mac OS, etc.). The client was also converted to NetMQ (TCP).

This conversion benefits from instant data transfer (no need to poll the data and check whether it changed, all the data is pushed by the server which makes everything go instant; it also should mitigate the issue with events sometimes not being called). Also changed the struct so the data at the beginning is not garbage.

The library manager used here is vcpkg.

Confirmed working on:

  • Windows 10 x64 (version 21H1, os build 19043.867)
  • Ubuntu 20.04 x64 (fresh install, installed updates after installing)

Confirmed not working currently on:

  • Zorin OS 15.3 Lite x64 (fresh install, complains about a missing library "libpthread.so"

I haven't yet tried building the plugin for x86 (32 bit) architectures.

ndelta0 added 5 commits March 17, 2021 11:46
The bonus is that it receives data as fast as the game updates it, with no need to manually check for changes
…ory code, confirmed plugin working on Ubuntu 20.04 (fresh install)
This was referenced Mar 18, 2021
@ndelta0
Copy link
Author

ndelta0 commented Mar 18, 2021

Resolves #79, resolves #75

@RenCloud RenCloud mentioned this pull request Jun 22, 2021
18 tasks
@ndelta0
Copy link
Author

ndelta0 commented Jul 19, 2021

Closing as for @RenCloud request to not use external libraries. Resolved in #91

@ndelta0 ndelta0 closed this Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant