I have to agree, Wally crashes. It works fine when I batch convert other files to .wal, but crashes when I try to batch convert .wal to something else.
I looked around what else is there to use and tried Ikka Keranen's wal2pcx ( The less well known complementary tool to his famous pcx2wal). But it crashed as soon as I started it.
Then I googled a bit and found this one: [Win]Elchtest's wal2tga.
www.fileplanet.com/128089/120000/fileinfo/Wal-to-TGA-24-bit-ConverterThis did not crash. But it is a simple DOS tool, if you know what that means. Other than Ikka's pcx2wal it does not even automatically create a name for the output file ( like "pcx2wal base1.pcx " - creates base1.wal ), it needs a name for the output file specified too ( like "wal2tga base1.wal base1.tga" - otherwise it does nothing)
Doing batch jobs with DOS tools means writing DOS batch files.
Yes, scripting.
And DOS is the least of all environments you can find. Everything is illogical and unnecessary complicated here.
So just copy and paste this code to a new text file (plain text file with the .txt suffix, not a Word doc) and rename it to batchconvert.bat ( or something else, but with the .bat suffix)
REM --------------------------------------------------------------------------------------
REM * *
REM * DOS batch file for converting all Quake 2 textures to tga format after *
REM * *
REM * unpacking them with Pak Explorer, using [Win]Elchtest's wal2tga *
REM * *
REM * utility. *
REM * *
REM * This batchfile was created by Marc Kerschbaumer aka Grieve[AI] *
REM * *
REM * (grieve@clan-ai.net) on Sunday, April 10th 2005. *
REM * *
REM * *
REM --------------------------------------------------------------------------------------
cd textures\e1u1
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e1u1
del *.wal
cd ..\textures\e1u2
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e1u2
del *.wal
cd ..\textures\e1u3
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e1u3
del *.wal
cd ..\textures\e1u4
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e1u4
del *.wal
cd ..\textures\e2u1
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e2u1
del *.wal
cd ..\textures\e2u2
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e2u2
del *.wal
cd ..\textures\e2u3
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e2u3
del *.wal
cd ..\textures\e3u1
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e3u1
del *.wal
cd ..\textures\e3u2
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e3u2
del *.wal
cd ..\textures\e3u3
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\e3u3
del *.wal
cd ..\textures\test
for %%e in (*.wal) do copy %%e ..\..\temp\%%e
cd ..\..\temp
for %%e in (*.wal) do ..\wal2tga %%e ..\temp2\%%e
ren ..\temp2\*.wal *.tga
move ..\temp2\*.tga ..\textures\test
del *.wal
REM ----- end of code -------
requirements for running the batch file:
run it in a directory where you unzipped the wal2tga.exe and the Quake 2 textures. the textures need to be in their
original path, like in baseq2 ( textures\e1u1, \textures\e1u2 ..... ).
best is you just make a copy of your pak0.pak to this working directory and extract the whole texture folder with pak explorer.
then you need to create 2 temporary folders in this directory, temp and temp2.
important: a copy of the palette file (q2.pal) which is used by wal2tga, has to be in the folder "temp" ( which is supposed to be the working folder for the tool).
after being converted in the temp folder, the files are moved to temp2, renamed, and then moved back to their original texture folders. the batch file seems to skip all textures with names that start with + for whatever reason, so you might have to convert these manually with Wally later.
additionally, here are 2 short cleanup batch files.
this one removes all the wal's from the folders, after you are done.
REM -- delete_wal.bat
del temp2\*.wal
del textures\e1u1\*.wal
del textures\e1u2\*.wal
del textures\e1u3\*.wal
del textures\e1u4\*.wal
del textures\e2u1\*.wal
del textures\e2u2\*.wal
del textures\e2u3\*.wal
del textures\e3u1\*.wal
del textures\e3u2\*.wal
del textures\e3u3\*.wal
del textures\test\*.wal
REM -- end of delete_wal.bat
this one removes all the tga's, for whatever reason if you need it.
REM -- delete_tga.bat
del temp2\*.tga
del textures\e1u1\*.tga
del textures\e1u2\*.tga
del textures\e1u3\*.tga
del textures\e1u4\*.tga
del textures\e2u1\*.tga
del textures\e2u2\*.tga
del textures\e2u3\*.tga
del textures\e3u1\*.tga
del textures\e3u2\*.tga
del textures\e3u3\*.tga
del textures\test\*.tga
REM -- end of delete_tga.bat
All this worked perfectly on my windoze 2000 with SP4.
If you still got probs plz tell me.