Skip to content

Equim-chan/tensoul

Repository files navigation

tensoul

Convert MahjongSoul log into tenhou.net/6 format.

Caution
It only works with standard games with common rules, like those in the ranked lobbies. For events or games with uncommon rules, it will be an undefined behavior and will not function.

Usage

ACCESS_TOKEN

Login the account on any server of MahjongSoul. When the main title is loaded, check GameMgr.Inst.access_token in the devtools console.

Set ACCESS_TOKEN and ENDPOINT. Check config.js for more info.

Run as a CLI

$ node . MAHJONG_SOUL_LOG_ID > tenhou_log.json

Run as an HTTP Server

$ node .

The API is GET /convert?id={mahjong_soul_log_id}

About

Convert MahjongSoul log into tenhou.net/6 format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published