Two scripts for downloading src/server/scripts from the TrinityCore GitHub repository:
| Script | What it does |
|---|---|
download_trinitycore_scripts.sh |
Downloads all 147 tagged TDB releases spanning every expansion |
download_trinitycore_current_branches.sh |
Downloads the 4 current active branches |
TrinityCore_Scripts_Downloader/
โโโ download_trinitycore_scripts.sh โ 147-branch archive downloader
โโโ download_trinitycore_current_branches.sh โ 4 current branches downloader
โโโ README.md โ this file
After running both scripts:
TrinityCore_Scripts_Downloader/
โโโ TrinityCore_Scripts/ โ from the archive script
โ โโโ 01_TheWarWithin_Dragonflight/
โ โ โโโ TDB1200.26021/src/server/scripts/...
โ โ โโโ ...
โ โโโ 02_Shadowlands/
โ โโโ 03_BattleForAzeroth/
โ โโโ 04_Legion/
โ โโโ 05_WarlordsOfDraenor/
โ โโโ 06_TDB6xx/
โ โโโ 07_CataclysmClassic/
โ โโโ 08_MoPClassic/
โ โโโ 09_WotLK_3.3.5a/
โ โโโ TDB335.25101/src/server/scripts/...
โ โโโ ...
โโโ TrinityCore_Scripts_log.txt โ archive script log
โ
โโโ TrinityCore_Current/ โ from the current branches script
โ โโโ 01_Master_TheWarWithin/master/...
โ โโโ 02_WotLK_3.3.5/3.3.5/...
โ โโโ 03_CataclysmClassic/cata_classic/...
โ โโโ 04_WotLKClassic/wotlk_classic/...
โโโ TrinityCore_Current_log.txt โ current branches script log
| Tool | Why | Install |
|---|---|---|
| Git | Clones repos via sparse checkout | git-scm.com |
| Bash | Runs the scripts | Built into macOS/Linux, use Git Bash on Windows |
Install Git for Windows (includes Git Bash). Right-click in the folder โ Git Bash Here โ run the scripts.
Open Terminal, cd into this folder, and run.
chmod +x download_trinitycore_scripts.sh
chmod +x download_trinitycore_current_branches.shDownload all 147 tagged releases:
./download_trinitycore_scripts.shDownload the 4 current active branches:
./download_trinitycore_current_branches.shRun both back-to-back:
./download_trinitycore_current_branches.sh && ./download_trinitycore_scripts.sh- Browse the
TrinityCore_Scripts/orTrinityCore_Current/folders for your files - Open the log files to see timestamps, file counts, and a summary
Downloads src/server/scripts from 147 tagged TDB releases organised by expansion.
| # | Group | Branches | Description |
|---|---|---|---|
| 01 | TheWarWithin_Dragonflight | 27 | TDB 1000+ / build tags |
| 02 | Shadowlands | 13 | TDB 900โ927 |
| 03 | BattleForAzeroth | 9 | TDB 820โ837 |
| 04 | Legion | 10 | TDB 703โ735 |
| 05 | WarlordsOfDraenor | 3 | 6.x tags |
| 06 | TDB6xx | 5 | Older format TDB6.xx |
| 07 | CataclysmClassic | 7 | TDB434/440/441/442 |
| 08 | MoPClassic | 2 | TDB343.xx |
| 09 | WotLK_3.3.5a | 70 | TDB335.xx (largest group) |
| Total | 147 |
| Item | Path |
|---|---|
| Downloaded files | TrinityCore_Scripts/ |
| Log file | TrinityCore_Scripts_log.txt |
Open the script in any text editor. Each download is a line like:
download_branch "TAG_NAME" "GROUP_FOLDER"To add a new branch โ add a line to the appropriate group:
download_branch "TDB335.26001" "09_WotLK_3.3.5a"To add a new group โ add a new section:
# ==============================================================
# GROUP 10 โ My Custom Group
# ==============================================================
download_branch "some_tag" "10_MyCustomGroup"
download_branch "other_tag" "10_MyCustomGroup"To remove a branch โ delete or comment out the line:
# download_branch "TDB335.11.43" "09_WotLK_3.3.5a"Downloads src/server/scripts from the 4 current active TrinityCore branches.
| Branch | Group Folder | Description |
|---|---|---|
master |
01_Master_TheWarWithin | The War Within (latest mainline) |
3.3.5 |
02_WotLK_3.3.5 | WotLK 3.3.5a maintenance |
cata_classic |
03_CataclysmClassic | Cataclysm Classic |
wotlk_classic |
04_WotLKClassic | WotLK Classic |
| Item | Path |
|---|---|
| Downloaded files | TrinityCore_Current/ |
| Log file | TrinityCore_Current_log.txt |
Open the script and find the branch download section. Each branch is one line:
download_branch "BRANCH_NAME" "FOLDER_NAME"To add another branch:
download_branch "some_branch" "05_MyBranch"To remove a branch โ delete or comment out the line:
# download_branch "wotlk_classic" "04_WotLKClassic"Both scripts create their own log file with timestamps, file counts, and a final summary.
[2026-06-05 14:35:00] ========================================
[2026-06-05 14:35:00] Downloading branch: TDB335.64 -> ./TrinityCore_Scripts/09_WotLK_3.3.5a/TDB335.64
[2026-06-05 14:35:00] ========================================
[2026-06-05 14:35:12] [DONE] 09_WotLK_3.3.5a/TDB335.64 โ 703 files downloaded
[2026-06-05 14:50:00] ============================================================
[2026-06-05 14:50:00] ALL DONE!
[2026-06-05 14:50:00] Total files in TrinityCore_Scripts/: 108426
[2026-06-05 14:50:00] Saved to: ./TrinityCore_Scripts
[2026-06-05 14:50:00] Log saved: ./TrinityCore_Scripts_log.txt
[2026-06-05 14:50:00] ============================================================
Both scripts skip anything that already exists. To re-download:
Remove a single branch:
rm -rf TrinityCore_Scripts/09_WotLK_3.3.5a/TDB335.64
rm -rf TrinityCore_Current/04_WotLKClassicRemove everything and start fresh:
rm -rf TrinityCore_Scripts TrinityCore_CurrentThen re-run the script(s).
| Problem | Solution |
|---|---|
command not found: git |
Install Git from git-scm.com |
Permission denied |
Run chmod +x download_trinitycore_scripts.sh |
| Branch/tag not found | Check the tag exists on the GitHub repo's releases page |
| Download stalls | Check your internet. Re-run to resume (skips existing) |
| Want to update a branch | Delete its folder and re-run |
download_trinitycore_scripts.sh |
download_trinitycore_current_branches.sh |
|
|---|---|---|
| What | All 147 tagged TDB releases | 4 current active branches |
| Output | TrinityCore_Scripts/ |
TrinityCore_Current/ |
| Log | TrinityCore_Scripts_log.txt |
TrinityCore_Current_log.txt |
| Branches | 147 (fixed list) | 4 (easy to add more) |
| Configure | Edit download_branch lines |
Edit download_branch lines |
Made for the WoW private server development community.