Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DEPOT_DOWNLOADER_CMD=~/Downloads/DepotDownloader-windows-x64

# https://github.com/deadlock-wiki/DeadlockEntityHelper
# Required for parsing the game map
ENTITY_HELPER_CMD="/~Downloads/DeadlockEntityHelper.exe"
ENTITY_HELPER_CMD="~/Downloads/DeadlockEntityHelper.exe"

# === DEADBOT STEPS ===
# Import game files from remote sources
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Deadbot is an open-source automation tool for extracting and processing game dat
* **Data Extraction:** Downloads the latest game files by cloning the [SteamDB GameTracking-Deadlock repository](https://github.com/SteamDatabase/GameTracking-Deadlock) and using DepotDownloader for non-English localizations.
* **Decompilation:** Processes raw game assets (`.vdata_c`, localization files) into structured JSON.
* **Data Parsing:** Parses decompiled files to extract detailed stats for heroes, abilities, items, and NPCs.
* **Changelog Aggregation:** Fetches official patch notes and in-game "Hero Lab" changes.
* **Changelog Aggregation:** Fetches official patch notes via the Steam Web API. (Historical forum changelogs are retained locally).
* **Wiki Integration:** Formats game data as JSON and changelogs into wikitext and uploads them directly to the Deadlock Wiki.


Expand Down Expand Up @@ -86,6 +86,10 @@ The recommended way to use Deadbot is by downloading the pre-built executable. T
| `STEAM_PASSWORD` | `mySteamPassword` | ❌ (For non-English parsing) | Your Steam account password. |
| `OUTPUT_DIR` | `../deadlock-data/data/current` | ❌ (Defaults to `./output-data`) | Where the parsed data files will be saved. |
| `DEPOT_DOWNLOADER_CMD` | `C:\Tools\DepotDownloader.exe` | ❌ (For non-English parsing) | Path to the DepotDownloader executable. |
| `WORK_DIR` | `./decompiled-data` | ❌ (Defaults to `./decompiled-data`) | Directory for temporary decompiled working files. |
| `INPUT_DIR` | `./input-data` | ❌ (Defaults to `./input-data`) | Input directory for changelogs and wiki pages. |
| `ENTITY_HELPER_CMD` | `C:\Tools\DeadlockEntityHelper.exe` | ❌ (For map parsing) | Path to the DeadlockEntityHelper executable. |
| `CLEANUP` | `false` | ❌ (Defaults to `false`) | Cleans up the temporary working directory after execution. |

For a full list of all parameters, see the [Parameters](#parameters) section below.

Expand Down Expand Up @@ -120,15 +124,15 @@ poetry run deadbot --import_files --parse
| | `-n, --inputdir INPUTDIR` | Input directory for changelogs and wiki pages. | `INPUT_DIR` |
| | `-o, --output OUTPUT` | Output directory for generated files. | `OUTPUT_DIR` |
| | `--english-only` | Only parse English localizations. | `ENGLISH_ONLY` |
| | `--force` | Forces decompilation even if game files and workdir versions match. | |
| | `-v, --verbose` | Enable verbose logging for detailed output. | |
| | `--force` | Forces decompilation even if game files and workdir versions match. | `FORCE` |
| | `-v, --verbose` | Enable verbose logging for detailed output. | `VERBOSE` |
| **Steam Config** | `--steam_username STEAM_USERNAME` | Steam username for downloading game files. | `STEAM_USERNAME` |
| | `--steam_password STEAM_PASSWORD` | Steam password for downloading game files. | `STEAM_PASSWORD` |
| | `--manifest_id MANIFEST_ID` | Manifest ID to download. Defaults to `latest`. Browse manifests: [SteamDB Depot 1422456](https://steamdb.info/depot/1422456/manifests/) | `MANIFEST_ID` |
| **Bot Actions** | `-i, --import_files` | Import game and localization files using DepotDownloader. | `IMPORT_FILES` |
| | `-d, --decompile` | Decompile Deadlock game files. | `DECOMPILE` |
| | `-p, --parse` | Parse decompiled files into JSON and CSV. | `PARSE` |
| | `-c, --changelogs` | Fetch and parse both forum and local changelogs. | `CHANGELOGS` |
| | `-c, --changelogs` | Fetch and parse changelogs from the Steam Web API and local files. | `CHANGELOGS` |
| | `-u, --wiki_upload` | Upload parsed data to the Wiki. | `WIKI_UPLOAD` |
| | `--dry_run` | Run wiki upload in dry-run mode (no actual upload). | `DRY_RUN` |
| | `--parse_map` | Parse map data. | `PARSE_MAP` |
Expand Down
2 changes: 1 addition & 1 deletion src/utils/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def arg_group_action(parser):
'-c',
'--changelogs',
action='store_true',
help='Fetch/parse forum and local changelogs. (also set with CHANGELOGS environment variable)',
help='Fetch/parse changelogs from the Steam Web API and local files. (also set with CHANGELOGS environment variable)',
default=is_truthy(os.getenv('CHANGELOGS', False)),
)
group_actions.add_argument(
Expand Down
Loading