[MAXScript] .WDR .WFT unlocker 1.2 beta
-
28 April 20251.2 beta 24/04/2025maxscript-wdr-wft-unlocker-1-2-beta_1745829035_51939.zip
A script for removing ZModeler lock from .wft and .wdr files.
The script removes the ZModeler Lock and also restores information in the geometry, making the file suitable for importing into ZModeler, and also makes it suitable for exporting to OpenFormats using OpenIV.
For the script to work, you need:
3dsmax versions older than 2012 version.
On older versions (3ds max 8,9,2010) the script will not work!!!
How to use:
1) Unpack Zlib.net.dll from the archive (located in the zlib compression library folder) into the *3dsmax directory*/Scripts/ folder (e.g. C:\Program Files\Autodesk\3ds Max 2024\scripts)
2) Unpack the .ms file to any other location, the script can be placed in the /Scripts/Startup/ folder for automatic launch when 3dsmax starts.
3) Launch 3dsmax, in the upper panel select Scripting->Run Script, select the script's .ms file.
4) Depending on the file (.wft or .wdr), select the desired function (Unlock .wdr file or unlock .wft file)
5) Point the script to the required file (.wft or .wdr), then you need to wait while the script processes the file, the processing time can take from a few seconds up to 2-3 minutes depending on the file size and computer performance.
6) The script will notify you when the unlocking process is complete. The unlocked file will have the prefix _unlocked in its name.
7) The unlocked file is suitable for import into ZModeler2, if import into ZModeler is not possible, you need to convert the .wdr .wft file to OpenFormats and load it into 3dsmax using OFIO or GIMS IV. The file also retains full functionality in the game.
The script supports batch unlocking of .wft and .wdr files.
To do this, press the Input Directory button and specify the directory with .wft or .wdr files.
Then press Output Directory and specify the folder where the unlocked files will be saved.
Attention! The input and output directories must not be the same! The script cannot overwrite the original files!
Then select the desired function — Batch Unlock .WDR (batch unlocking .WDR) or Batch Unlock .WFT (batch unlocking .WFT)
The script will notify you about the file unlocking process in the MaxScript Listener. It can be called using the F11 button.
In the case of batch unlocking, the script will not add the _unlocked prefix. The prefix is added only for single unlocking.
Change History:
1) 16/06/2023 — first release (1.0).
2) 24/12/2024 — fixed an error where a 0-byte file was created on newer 3dsmax versions.
3) 26/01/2025 — version 1.1 beta:
- Added the ability to unpack and pack the file using the zlib library without using RSC Manager;
- Fixed and improved the algorithm for restoring information in geometry for the .wdr file;
- Rewrote the algorithm for unlocking .wft files, geometry is searched by offsets in the file, not by the Model section header.
4) 24/04/2025 — version 1.2 beta: added the ability to batch unlock .wft .wdr files.
Acknowledgements:
- gtamodding.ru — for information on resources
- gtafandom.com — for information on resources
- https://github.com/dabinn/ — for information on resources
- ComponentAce.com — for the Zlib library (zlib.net.dll)
- gtabuilder.ru — support
Script written by: aleks926820.
Contact me:
Discord aleks926367#2994
You are allowed to publish the script with attribution: author's nickname (aleks926820), and author's website (https://libertycity.ru/user/aleks926820/).
It is forbidden to violate the integrity of the archive!
12:58 24.04.2025
Скрипт для снятия блокировки ZModeler с .wft .wdr файлов.
Скрипт удаляет ZModeler Lock, а также восстанавливает информацию в геометрии, делая пригодным файл для импорта в ZModeler, а также делает пригодным для экспорта в OpenFormats с помощью OpenIV.
Для работы скрипта требуется:
Версии 3dsmax старше 2012 версии.
На старых версиях (3ds max 8,9,2010) скрипт работать не будет!!!
Как пользоваться:
1) Zlib.net.dll из архива (лежит в папке zlib compression library) распаковать в папку *директория 3dsmax*/Scripts/ (например C:\Program Files\Autodesk\3ds Max 2024\scripts)
2) .ms файл распаковать в любое другое место, скрипт можно закинуть в папку /Scripts/Startup/ для его автоматического запуска при запуске 3dsmax.
3) Запустить 3dsmax, на верхней панели выбрать Scripting->Run Script, выбрать .ms файл скрипта.
4) В зависимости от файла (.wft или .wdr) выбрать нужную функцию (Unlock .wdr file или unlock .wft file)
5) Указать скрипту требуемый файл (.wft или .wdr), далее необходимо подождать пока скрипт обработает файл, время обработки может занимать от нескольких секунд до 2-3х минут в зависимости от размера файла и производительности компьютера.
6) Скрипт уведомит об окончании процесса разблокировки. Разблокированный файл будет иметь в имени приставку _unlocked.
7) Разблокированный файл пригоден для импорта в ZModeler2, в случае невозможности импорта в ZModeler необходимо конвертировать файл .wdr .wft в OpenFormats и загружать его в 3dsmax, используя OFIO или GIMS IV. Файл также полностью сохраняет работоспособность в игре.
Скрипт поддерживает массовую разблокировку .wft и .wdr файлов.
Для этого нажать кнопку Input Directory и указать директорию с .wft или .wdr файлами.
Далее нажать Output Directory и указать папку, в которую будут сохраняться разблокированные файлы.
Внимание! Входная и выходная директория не должны быть одинаковыми! Скрипт не может переписать исходные файлы!
Далее выбрать нужную функцию — Batch Unlock .WDR (массовая разблокировка .WDR) или Batch Unlock .WFT (массовая разблокировка .WFT)
Скрипт будет уведомлять о процессе разблокировки файлов в MaxScript Listener. Его можно вызвать с помощью кнопки F11.
В случае массовой разблокировки скрипт не будет добавлять приставку _unlocked. Приставка добавляется только при одиночной разблокировке.
История изменений:
1) 16/06/2023 — первый релиз (1.0).
2) 24/12/2024 — исправлена ошибка, из-за которой на новых версиях 3dsmax создавался файл весом 0 байт.
3) 26/01/2025 — версия 1.1 beta:
- Добавлена возможность распаковки и запаковки файла посредством zlib библиотеки без использования RSC Manager;
- Исправлен и дописан алгоритм восстановления информации в геометрии для .wdr файла;
- Переписан алгоритм разблокировки .wft файлов, поиск геометрии ведется по офсетам в файле, а не по заголовку секции Model.
4) 24/04/2025 — версия 1.2 beta: добавлена возможность массовой разблокировки .wft .wdr файлов.
Благодарности:
- gtamodding.ru — за информацию по ресурсам
- gtafandom.com — за информацию по ресурсам
- https://github.com/dabinn/ — за информацию по ресурсам
- ComponentAce.com — за Zlib библиотеку (zlib.net.dll)
- gtabuilder.ru — поддержка
Скрипт написал: aleks926820.
Связь со мной:
Discord aleks926367#2994
Разрешается выкладывать скрипт с указанием: никнейма автора (aleks926820), и сайта автора (https://libertycity.ru/user/aleks926820/).
Запрещается нарушать целостность архива!
12:58 24.04.2025