-
Notifications
You must be signed in to change notification settings - Fork 0
/
cep-extract.bat
59 lines (56 loc) · 962 Bytes
/
cep-extract.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@echo off
REM You need to change your haks location here.
pushd "E:\Program Files (x86)\GOG Galaxy\Games\NWN Diamond\hak"
REM Extract data from all the haks from our working folder.
for /f "delims=" %%a in ('dir /b cep*hak') do nwn_erf -f "%%~nxa" -x --verbose
REM Organize extracted items on folders by extension in their own folders.
mkdir 2da
move *.2da 2da
mkdir nss
move *.nss nss
mkdir ncs
move *.ncs ncs
mkdir dds
move *.dds dds
mkdir mdl
move *.mdl mdl
mkdir utp
move *.utp utp
mkdir utc
move *.utc utc
mkdir wok
move *.wok wok
mkdir tga
move *.tga tga
mkdir pwk
move *.pwk pwk
mkdir plt
move *.plt plt
mkdir itp
move *.itp itp
mkdir dwk
move *.dwk dwk
mkdir dlg
move *.dlg dlg
mkdir wav
move *.wav wav
mkdir uti
move *.uti uti
mkdir txi
move *.txi txi
mkdir txt
move *.txt txt
mkdir set
move *.set set
mkdir utw
move *.utw utw
mkdir utt
move *.utt utt
mkdir ssf
move *.ssf ssf
mkdir uts
move *.uts uts
mkdir utm
move *.utm utm
mkdir utd
move *.utd ut