Skip to content

Commit

Permalink
[Windows Scripts] Add another one because I am super lazy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Collisionc committed Jan 24, 2015
1 parent fb1df06 commit 45ce310
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion casc_extract/WinGenerateSpellData.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ del hi.txt
cd ..
cd ..
cd dbc_extract
generate.bat %wowdir% E:\simulationcraft\casc_extract\wow\
call generate.bat %wowdir% E:\simulationcraft\casc_extract\wow\
pause
13 changes: 13 additions & 0 deletions casc_extract/WinGenerateSpellDataPTR.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
call python casc_extract.py -m batch --cdn --ptr -o wow
cd wow
dir /b /a:D /O:-D>hi.txt
set /p wowdir=<hi.txt
set /p oldname=<hi.txt
set wowdir=%wowdir:~4,-14%
ren %oldname% %wowdir%
del hi.txt
cd ..
cd ..
cd dbc_extract
call generate.bat ptr %wowdir% E:\simulationcraft\casc_extract\wow\
pause

0 comments on commit 45ce310

Please sign in to comment.