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

Feature request: import/export mjai game logs #1137

Open
Equim-chan opened this issue Sep 15, 2022 · 1 comment
Open

Feature request: import/export mjai game logs #1137

Equim-chan opened this issue Sep 15, 2022 · 1 comment

Comments

@Equim-chan
Copy link

Although mjx-project/mjx_mjai_translater is already out there, it looks like it's more about running mjai-speaking agents against the mjx emulator server. I have some existing mjai game logs and hope to use mjx's awesome plotting feature to visualize some certain board states.

@Equim-chan Equim-chan changed the title Feature request: import/export game logs Feature request: import/export mjai game logs Sep 15, 2022
@sotetsuk
Copy link
Collaborator

Thank you for your interest!

Let me confirm your request.
Mjx defines its game state as protocol buffer format (schema: mjx.proto).
So I guess all you need is a translater from mjai game log to mjx.proto game log. Is it correct?

If mjai game log can be translated into tenhou format, a possible hot fix is to translate mjai game log into mjx.proto game log in the following flow: [mjai format] => [tenhou format] => [mjx format].
Mjx supports Tenhou log format translation in mjx/mjx-convert.

We plan a mjx.proto update, which may break backward compatibility, in Oct, but after that, mjx.proto must be stable.
If the quick fix does not work, we may support mjx log to mjx.proto translation after the update.

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

No branches or pull requests

2 participants