Introducing: Replay Usage Calculator (or something)
In an attempt to learn Python better, as well as have an interesting project to work on, I made a rough usage calculator for PS logs/replays as well as PO logs. Currently it's pretty bare-bones, but I hope to improve this in the future with some extra stuff. For an idea how it looks, look here.
How to use:
In the top bar, add either of the following: A PS Replay url, a Pastebin url with PS replay urls in it, or a thread on Smogon like this. (Pastebin urls doesn't support logs yet) From there just click Begin and it will go through every battle supplied to it and count the Pokemon used. Right now, it opens with a console window that log which replay it's going though, as well as the progress. So for now, look there for how much it's completed.
When done, it will print out the usage in a standardized format looking something like (refer to the picture listed above for specifics):
Easily copied and put into a different document somewhere for safekeeping.
I have no idea if anyone will actually be able to run this, but you can find it for download here:
Usage Calc (MediaFire) (Last update: June 2nd 2016)
Just unzip the folder and run Usage.exe, that should be all.
Still need to do:
1. Make sure the numbers are always correct
1.5 Get the percentages to always be right
2. Combine suspect tests and their regular tier Done
3. Split formes (Arceus, Primal, Genesect) for gen 5/6 ubers Done
4. Support for Pastebin log urls when supplying a Pastebin url
5. Proper UI
6. Allow combined usage across different metagames
Always. Fix bugs
Currently known issues:
- Imperfect logs will not count everything or be discarded entirely because some information it needs to count is missing. (This most likely can't be fixed)
- It still count the games without adding any Pokemon, so the usage percentages are off a bit.
- Logs in languages other than English break it entirely.
- The UI freeze up and is entirely unresponsive while it's counting (only somewhat now).
Feedback is welcome!
In an attempt to learn Python better, as well as have an interesting project to work on, I made a rough usage calculator for PS logs/replays as well as PO logs. Currently it's pretty bare-bones, but I hope to improve this in the future with some extra stuff. For an idea how it looks, look here.
How to use:
In the top bar, add either of the following: A PS Replay url, a Pastebin url with PS replay urls in it, or a thread on Smogon like this. (Pastebin urls doesn't support logs yet) From there just click Begin and it will go through every battle supplied to it and count the Pokemon used. Right now, it opens with a console window that log which replay it's going though, as well as the progress. So for now, look there for how much it's completed.
When done, it will print out the usage in a standardized format looking something like (refer to the picture listed above for specifics):
Code:
Rank | Pokemon | Use | Use % | Win %
1 | Rhyperior | 25 | 24% | 60%
2 | Doublade | 24 | 23% | 58%
...
I have no idea if anyone will actually be able to run this, but you can find it for download here:
Usage Calc (MediaFire) (Last update: June 2nd 2016)
Just unzip the folder and run Usage.exe, that should be all.
Still need to do:
4. Support for Pastebin log urls when supplying a Pastebin url
Always. Fix bugs
Currently known issues:
- Imperfect logs will not count everything or be discarded entirely because some information it needs to count is missing. (This most likely can't be fixed)
- Logs in languages other than English break it entirely.
- The UI freeze up and is entirely unresponsive while it's counting (only somewhat now).
Feedback is welcome!
Last edited: