A simple script to review one's recent MajSoul logs using Mortal, and to generate a report of the results.
- Mortal: refers to Mortal's Document
- mjai-reviewer: refers to mjai-reviewer's Document
- You also need a trained model file to actually use Mortal.
- Node.js(LTS version is recommended)
You need to ensure you can run mjai-reviewer
with mortal
model successfully.
- Clone this repository.
- Install the required packages by running
npm install
. - Copy
config.example.ts
toconfig.ts
and fill in the required information, instructions are in the comments. - You may need to change
httpBase
andwsGateway
inconfig.ts
to match the region of your temporary account (You can find these with Browser's Developer Tools). - Activate your mortal environment.
Run
npm start <id> [limit]
where <id>
is the MajSoul number ID of the player you want to review, and [limit]
is the number of logs you want to review (default 100).
You can get the MajSoul number ID from MajSoul Stats, ID is in the URL of the player's page.
Reviewing will take some time, Tenhou format logs will be saved in logs/
folder, the review result will be saved in rating.html
and opened in your default browser.