build: add VSCode launch configuration to automatically build MPQ and

launch WoW

Pipeline:
1. tool/src/main.rs compiles MPQ and puts it at $WOW_HOME/Data
2. reload_wow.bat cleans cache and runs Wow.exe

TODO:
- rebuild all patches instead of only patch-ruRU-5.MPQ
- implement "smart rebuild". Do not create new archive if nothing was
  changed
This commit is contained in:
gasaichandesu
2026-03-18 02:10:00 +04:00
parent cb12c6eb09
commit a01a53e969
10 changed files with 1661 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
@REM @ECHO OFF
@REM REM the next line deletes the cache
@REM CALL "Wow.exe" -console -login "admin" -password "123456"
@REM # Exit
@echo off
cd /d %WOW_HOME%
echo Clearing cache...
rm "Cache\WDB\ruRU\creaturecache.wdb"
rm "Cache\WDB\ruRU\gameobjectcache.wdb"
rm "Cache\WDB\ruRU\itemcache.wdb"
rm "Cache\WDB\ruRU\itemnamecache.wdb"
rm "Cache\WDB\ruRU\itemtextcache.wdb"
rm "Cache\WDB\ruRU\npccache.wdb"
rm "Cache\WDB\ruRU\pagetextcache.wdb"
rm "Cache\WDB\ruRU\questcache.wdb"
rm "Cache\WDB\ruRU\wowcache.wdb"
echo Launching WoW...
start Wow.exe