Files
moonwell-client/reload_wow.bat
T
gasaichandesu a01a53e969 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
2026-03-18 02:10:00 +04:00

22 lines
548 B
Batchfile

@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