Skip to content

feat: add title mgt and protobuf for ipc#24

Draft
imLinguin wants to merge 8 commits into
mainfrom
feat/service-poc
Draft

feat: add title mgt and protobuf for ipc#24
imLinguin wants to merge 8 commits into
mainfrom
feat/service-poc

Conversation

@imLinguin

@imLinguin imLinguin commented Jun 13, 2026

Copy link
Copy Markdown
Member

I want to kickoff the service work a little, I want to discuss the IPC aspect, and ideally start moving things to the new service crate

List

  • init xodus-service tool
  • decide on connection flow with sdk
  • expose functionality for XUser
  • expose functionality for XStore

@imLinguin

Copy link
Copy Markdown
Member Author

I think it makes sense to use protobuf for internal communication between processes. As I also aim to make CLI mostly just a service caller, that would enable adding the dedicated GUI app.

I imagine two sets of connections, one dedicated to the xgameservices.dll that is the best for communication with it and one for communication with native apps - protobuf based socket may be the best.

@imLinguin

Copy link
Copy Markdown
Member Author

Discussions from Discord: we decided to go with Unix socket

the packet would look like

magic: 4 bytes
message_size u16
message_type u16
message: String

message would be XML encoded

@imLinguin

Copy link
Copy Markdown
Member Author

Initial XUser funcs landed, currently for XML transport only.
I'll expand protobuf transport when its time to move CLI functionality to service

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