WadExt WAD extraction tool
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
-
- Posts: 151
- Joined: Fri Feb 03, 2017 11:47 pm
Re: WadExt WAD extraction tool
If it's just one lump, why not just extract with Slade? Interestingly, Deutex can extract a specific lump via -get command.
-
-
- Posts: 17454
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: WadExt WAD extraction tool
Read again. My script is part of an automated system, meant to be used for an unknown number of maps. And Slade can't be used via the command line.
Graf - Ok, thanks for the explanation. I'll stick to Unwad for the time being.
Graf - Ok, thanks for the explanation. I'll stick to Unwad for the time being.
-
- Posts: 8193
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: WadExt WAD extraction tool
Well, SLADE can now support LUA. Perhaps this might actually interest Graf some? I know, a little offtopic but if anything this means someone could implement a WadExt-esque LUA script (granted it's still quite beta).
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: WadExt WAD extraction tool
Has anyone successfully compiled wadext on Ubuntu?
I checkout the source via git into a directory wadext, then:
mkdir wadext/build
cd wadext/build
cmake .. -DCMAKE_BUILD_TYPE=Release
All is OK up to here, but when I compile I get:
[ 16%] Building CXX object CMakeFiles/wadext.dir/convert.o
c++: error: unrecognized command line option ‘-Wc++11-extensions’
I have updated gcc and g++ to 4.8.5 as some websites discussing this issue have suggested, but to no avail.
Can anyone suggest anything, please?
I checkout the source via git into a directory wadext, then:
mkdir wadext/build
cd wadext/build
cmake .. -DCMAKE_BUILD_TYPE=Release
All is OK up to here, but when I compile I get:
[ 16%] Building CXX object CMakeFiles/wadext.dir/convert.o
c++: error: unrecognized command line option ‘-Wc++11-extensions’
I have updated gcc and g++ to 4.8.5 as some websites discussing this issue have suggested, but to no avail.
Can anyone suggest anything, please?
-
- Posts: 13718
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: WadExt WAD extraction tool
fixed here
Do
git pull origin pull/6/head
to automatically merge it and compile it quickly.
(Graf merged it rather quickly, so the above is not needed - just do a pull from master)
Do
git pull origin pull/6/head
to automatically merge it and compile it quickly.
(Graf merged it rather quickly, so the above is not needed - just do a pull from master)
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: WadExt WAD extraction tool
Thanks very much - all working now
-
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: WadExt WAD extraction tool
Maps extracted with WadExt have empty SEGS, SSECTORS, NODES, REJECT & BLOCKMAP lumps.
-
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: WadExt WAD extraction tool
Sorry for bumping again, but is nobody else experiencing this? All pk3s created with WADExt have broken/corrupted maps :(
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: WadExt WAD extraction tool
Couple of bugs I have found:
1) SERIOUS
The decompiled subdirectory doesn't work on Linux because on line 468 of wadext.cpp the path separator is hardcoded as a backslash:
Instead the file decompiled\textures.1 (or .2) appears in the root directory of the extracted data.
2) ANNOYING BUT CAN BE WORKED AROUND
The quick help usage is incorrect because on line 86 of main.cpp, it says:
but the program behaves as if it says:
For example, using the command
fails due to trying to open a file called -nosndconvert, but
succeeds.
1) SERIOUS
The decompiled subdirectory doesn't work on Linux because on line 468 of wadext.cpp the path separator is hardcoded as a backslash:
Code: Select all
sprintf(buffer,"decompiled\\textures.%c", pTex->Name()[7]);
2) ANNOYING BUT CAN BE WORKED AROUND
The quick help usage is incorrect because on line 86 of main.cpp, it says:
Code: Select all
printf("WadExt v1.1 (c) 2016 Christoph Oelckers\nUsage: wadext [options] filename\n");
Code: Select all
printf("WadExt v1.1 (c) 2016 Christoph Oelckers\nUsage: wadext filename [options]\n");
Code: Select all
wadext -nosndconvert -nogfxconvert /usr/share/games/doom/1.9u/doom.wad
Code: Select all
wadext /usr/share/games/doom/1.9u/doom.wad -nosndconvert -nogfxconvert
-
- Posts: 51
- Joined: Mon Dec 11, 2017 12:28 am
Re: WadExt WAD extraction tool
What is the best way to compile the code? I want to make the exe Standalone, but when I build using visual studio, it requires a dll
-
- Posts: 1
- Joined: Mon Feb 06, 2023 11:00 am
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
Re: WadExt WAD extraction tool
How do you add the command function? ive tried opening the EXE file but nothing happens. When using cmd to do the command i get this error:
'wadext' is not recognized as an internal or external command,
operable program or batch file.
'wadext' is not recognized as an internal or external command,
operable program or batch file.
-
-
- Posts: 4143
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
Re: WadExt WAD extraction tool
Install wadext.exe and the IWAD or PWAD in a dedicated folder.
Make a batch file, ie wadextract.bat, in the same folder with this line
Drag the IWAD/PWAD onto the batch file.
Make a batch file, ie wadextract.bat, in the same folder with this line
Code: Select all
wadext %1
-
- Posts: 13718
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: WadExt WAD extraction tool
You can do the same thing without the batch file - just drag and drop on top of the tool.
-
-
- Posts: 4143
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
Re: WadExt WAD extraction tool
It would be a much better utility if the extraction to a same named folder had been implemented.Rachael wrote: ↑Thu Nov 10, 2016 1:22 pm This is amazing! Thank you, Graf! I hope this is better than Unwad... whose author has, sadly enough, gone completely MIA.
One thing though - would it be possible for it to default to extracting to a folder? i.e. "wadext 1.wad" would default to extracting to ./1/
-
- Lead GZDoom+Raze Developer
- Posts: 49130
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: WadExt WAD extraction tool
Extraction to a folder has been a thing for a long time. What version are you using?