Skip to content
This repository has been archived by the owner on Feb 17, 2019. It is now read-only.

Latest commit

 

History

History
188 lines (143 loc) · 6.75 KB

README.rst

File metadata and controls

188 lines (143 loc) · 6.75 KB

About dotapatch

This project was archived on 17 Feb. 2019 as the oficial Dota 2 page now releases patches in Clean HTML.

Platform Status
GitHub Release Tag License Issues PR
PyPI PVersion PLicense Version Wheel Status
Health CI docs CIssues Coverage codecov

dotapatch is a software which aims the automation of formatting simple text changelog into clear html changelog.

Check the Gameplay Update 7.21. This is the latest patch parsed using dotapatch.

Read the documentation at Read the Docs.

Install dotapatch using pip:

$ pip install dotapatch
Collecting dotapatch
...
Successfully installed dotapatch-2.4
$ dotapatch
usage: dotapatch [-h] [-t template_file] [-u] [-V] [-d] [-s] [-q]
                 [changelog_file [changelog_file ...]]

Note

If you get an OSError, run pip install --user dotapatch instead.

  1. Go to dota2 news page and locate the latest patch.
  2. Copy and save it as a file.
7.07d:
==
* Necronomicon: Mana Break damage from 60 to 50%
* Nullifier: Cooldown reduced from 14 to 13
* Nullifier: Manacost reduced from 100 to 75

* Alchemist: Unstable Concoction damage increased from 150/220/290/360 to 160/240/320/400
* Bane: Enfeeble duration reduced from 20 to 14/16/18/20
* Bane: Brain Sap damage rescaled from 90/160/230/300 to 75/150/225/300

Warning

The content must start with the patch name 7.07d: followed by a separator ==.

Head over to the folder where you saved the changelog file and run dotapatch:

$ cd changelogs
$ dotapatch 706f
INFO Parsing 7.06f
INFO HTML saved at /home/arthurazs/changelogs/706f.html
INFO 7.06f conversion went smoothly.

Note

If the HTML page shows some of the heroes/items as [[hero_name]] instead of the hero/item's picture, run the following:

$ dotapatch --update-data
INFO Downloading itemdata from dota2's heropediadata
INFO Updated itemdata saved successfully
INFO Downloading herodata from dota2's heropediadata
INFO Updated herodata saved successfully

This will require internet connection and may take a while but it will ensure that the HeropediaData gets up-to-date.

Take a time to read our Code of Conduct. Any unacceptable behavior shall be reported by contacting the project team at arthurazsoares@gmail.com.

  • Do you have any feedback, questions or ideias?
  • Do you want to report a bug?
  • Would you like to fix a bug or implement a feature?

First of all, thank you! Please, read our Contributing Guidelines for details.

This project is licensed under the MIT License.