A tool for Maj-Soul log analysis.
This project is only for personal use, and it is not recommended to use it for commercial purposes.
If it is used for commercial purposes, the author will not be responsible for any problems caused by it.
Also, if this project harms the interests of the game company, the author will delete this project.
pip install -r requirements.txt
!!! Support Chrome only
python main.py --help
This command will open the browser then you should enter your account and password in the browser. The default timeout is 60 seconds.
python main.py state --help
The argument "file" is the path of the file to save the state. The default value is "state.json".
!!! Require state file
Download logs with state file and chrome profile dir.
python main.py dl --profile {chrome profile dir} log_id/log_ids_file
log_id is the id of the log you want to download.
log_ids_file is the path of the file which contains the ids of the logs you want to download.
log_ids_file
example:
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
python main.py logs --logs_dir {logs dir}
The data is the data file which contains the ids of the logs you want to check.
python main.py logs --diff --data {data file} --logs_dir {logs dir} --output_dir {output dir}
The output will be the diff.txt
in the output_dir
dir.
python main.py cal longest_fail --logs_dir {logs dir} --output_dir {output dir}
This command will calculate the longest fail user and save the middle result to the output dir (longest_fail.json
and longest_fail.txt
).
The final result will appear in the console.