• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

tintin10q/minecraft-logs-analyzer: A tool to analyze chat logs generated by Mine ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

tintin10q/minecraft-logs-analyzer

开源软件地址(OpenSource Url):

https://github.com/tintin10q/minecraft-logs-analyzer

开源编程语言(OpenSource Language):

Python 96.1%

开源软件介绍(OpenSource Introduction):

Minecraft-Logs-Analyzer

A tool to analyze game logs generated by Minecraft to calculate your total playtime. This is done to calculate the total playtime based on the logs. You can create graphs from the playtime and also export it as a csv file.

Due to the text encoding used, this will likely only work on Windows. I have tested it on ubuntu 20 and it worked through wine.

There are 3 modes:

  1. Automatic (default)
  2. Enter path(s)
  3. Enter glob

1: Automatic trys to detect your logs in the normal minecraft folder C:/Users/USER/AppData/Roaming/.minecraft/logs

2: With this mode you can enter your own file paths Separate multiple paths with pipes (vertical bar: | ).

3: With glob you can enter a glob to select multiple folders in a directory, glob will basically select your path but also all the paths of any subdirectories that might exist in your specified path and that match the glob Separate multiple globs with pipes (vertical bar: | ). Make sure files don't overlap

Folders that start with period must be explicitly specified (AppData/Roaming/.*/logs)

Glob-Example: To find all logs folders in all folders that start with . in AppData, C:/Users/USER/AppData/Roaming/.*/** This would select all the logs in .minecraft but also in .technic for example.

Globs can take a bit to load if your selection is large.

You can read more about globs here.

This is how it all looks:

Program GUI

A minecraft playtime graph


Results

You can export the results into 2 ways

  • A graph with hours per month
  • A csv file with hours per session

False positives

If you use the .exe file you might get a false positive with virus programs. I used pyinstaller to create a .exe from the .pyw file. I used this command to build the .exe

This next part is only for those who use the .pyw version

At least python 3.6 is required for this program to work it might work on python 3.5, but I have not tested that.

(I now added python 3.7 and 3.8 support)

This program uses matplotlib pyplot to create graphs. If you do not have matplotlib installed please install it by entering the flowing command into the cmd: pip install --user matplotlib

If that does not work try to reinstall python and make sure to click the install pip option.

The program will also detect if you do not have matplotlib installed, and it will ask you if you want to auto install. This will basically run os.system("pip install --user matplotlib") this is the same as running pip install --user matplotlib in the cmd.

Authors:

Contributors

  • @Phanabani Phanabani Phana
  • @kwak0 kwak0



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap