This repository has been archived on 2025-06-11 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
f9043dd9880bcc8764f000a3fc63af289ea7e786
IWD Archive Lister
This script scans the main/ and iw4x/ folders under a specified root directory for .iwd files (which are ZIP archives). For each .iwd file found, it extracts the list of files inside the archive using 7z and writes the output to a .txt file in a folder called out/.
Each .iwd file gets its own .txt file in the out/ directory, with the same base name (e.g., iw_00.iwd -> out/iw_00.iwd.txt).
Requirements
7zcommand-line tool
Install 7z on Debian/Ubuntu:
sudo apt update
sudo apt install p7zip-full
Usage
./script.sh <root_directory>
Where <root_directory> is the path that contains both main/ and iw4x/ subfolders.
Description
Languages
Python
60.6%
Shell
39.4%