Releases: Jim137/Tenhou-Paifu-Logger
v0.4.2-CLI
New Features
Important Note
- For HTML user, please remake the log file to enable the match replay. The instruction is provided in the following.
- For mjai user, due to API update, please run
git pull --recurse-submodules
orgit submodule update --init --recursive
to update the submodule.
Important Notice From v0.4.0
- Since v0.4.0 there are some new information logged, before logging new paifu, please remake the paifu first. Please remake the log file by
plog -f [format] -l [lang] -o [output] -r
or
python -m paifulogger plog -f [format] -l [lang] -o [output] -r
manually.
We offered a remake template (remake.bat
) for windows users, before executing the script please edit it to your preference and place it at the same directory as the Tenhou-Paifu-Logger.exe
.
Full Changelog: CLI-0.4.1...CLI-0.4.2
v0.4.1-CLI
New Features
- Support logging from Tenhou client(*.mjlog). (-c, --from-client DIR_TO_MJLOG): For all user
- Add support for no_output flag in get_paifu function: For inline user
- Better type hint for
LocalStr
andPaifu
: For developer
Bug Fixes
- Add exception handling for outdated paifu file.
Important Notice From v0.4.0
- Since v0.4.0 there are some new information logged, before logging new paifu, please remake the paifu first. Please remake the log file by
plog -f [format] -l [lang] -o [output] -r
or
python -m paifulogger plog -f [format] -l [lang] -o [output] -r
manually. Or it will raise a KeyError
. (This would be handled in this release. User still need to manually remake the paifu.)
We offered a remake template (remake.bat
) for windows users, before executing the script please edit it to your preference and place it at the same directory as the Tenhou-Paifu-Logger.exe
.
Full Changelog: CLI-0.4.0...CLI-0.4.1
v0.4.0-CLI
New Features
- New information logged:
- The change of rates レート変化
- Number of rounds 局数
- Number of wins 和了数
- Numbers of deal-ins 放銃数
- Add subparser
plog
andpdl
to__main__.py
while usingpython -m paifulogger
Important Notice
- Since there are some new information logged, before logging new paifu, please remake the paifu first. Please remake the log file by
plog -f [format] -l [lang] -o [output] -r
or
python -m paifulogger plog -f [format] -l [lang] -o [output] -r
manually. Or it will raise a KeyError
.
We offered a remake template (remake.bat
) for windows users, before executing the script please edit it to your preference and place it at the same directory as the Tenhou-Paifu-Logger.exe
.
- The default logging format is switched to csv since last release(v0.3.9). If you want to keep using xlsx, please manually edit the script or edit config.json to use xlsx.
For developers
- Better API
- A publish tool and workflow
Full Changelog: CLI-0.3.9...CLI-0.4.0
v0.3.9-CLI
New Features
- Implemented support for reading config.json to save configurations, replacing the method of using batch scripts.
Note
Placing config.json in the same directory as the execution enables local configuration. For global configuration, place it in the following directories:
- Windows:
%localappdata%\Jim137\paifulogger\config.json
- macOS:
/Users/{UserName}/Library/Application Support/paifulogger/config.json
- Linux:
~/.local/share/paifulogger/config.json
Important Notice
Now the default logging format is switched to csv. If you want to keep using xlsx, please manually edit the script or edit config.json to use xlsx.
Full Changelog: CLI-0.3.7...CLI-0.3.9
v0.3.7-CLI
New Features
- Add support for multiple output formats
Note: The default script does not support outputing multiple formats. You have to manually modify the script.
Bug Fixes
- Add exception handling for empty data in log_into_csv function
Full Changelog: CLI-0.3.6.1...CLI-0.3.7
v0.3.6.1-CLI
v0.3.6-CLI
v0.3.4-CLI
There is no big change in this release.
But we add the file version info embebed in the exe file.
Now, you can keep the old configuration with old run_TPL.bat
file.
For pip user, we add another scripts plog
in case that log
is duplicated.
The usage method of plog
is same as log
:
plog -l [language] -o [output directory] [paifu URLs]
Full Changelog: CLI-0.3.3a...CLI-0.3.4
v0.3.3a-CLI
New Features
- Added support for mjai format paifu output. (--mjai)
Important Note
We have rebranded the project on PyPI from "Tenhou-Paifu-Logger" to "PaifuLogger". If you had previously installed "Tenhou-Paifu-Logger", please follow these steps to transition to the new version:
pip uninstall Tenhou-Paifu-Logger
pip install PaifuLogger
We apologize for any confusion this may cause. While this decision was not easy, it aims to simplify the distribution and upgrade process for this project.
Thank you for your understanding and support.
Full Changelog: https://github.com/Jim137/Tenhou-Paifu-Logger/compare/CLI-0.3.2..CLI-0.3.3a
v0.3.2-CLI
New Features
- New args flags
- check the version (-v, --version)
- ignore duplicated skip (for debugging) (--ignore-duplicated)
Full Changelog: CLI-0.3.0...CLI-0.3.2