Up
  • EN
Sign in to the site
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
    GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Programs
  • Resource tools
  • WTD2TXD

WTD2TXD

  • WTD2TXD / GTA San Andreas
  • WTD2TXD / GTA San Andreas
GTA San Andreas / Programs / Resource tools
Author:
DK22Pac
More details
Author's contacts:
Open the site
Uploaded:
DK22Pac Subscribe You are subscribed
Size:
93.16 Kb
Uploaded:
4 April 2014
Downloads:
2.2K
Total downloads: 2247
Unique downloads: 524
10 / 10
55 people rated the file
NostalgiaChannel2023
Guest
radqo113
aleks926820
Артём 
Till Lindermann...
The_BaD_Gamer
tachionic
Smokie
wolfgang_shneider
SanPool
AlexandeRR
Arlan300898
Un[Free`Ze]
Vladislav989
2fed
EmiKiller
Jassy
gutentrah
Klayman177
roman14104
olzhas200
0x00000024
SergeDV
Honorv
Gon_Iss
Yurko_UA
Cj_You
DshGamess
King2011
Bobby
Crytek38
IMG Tool 2.0
alexey
FaiLer
DimikVRN
iTz_XG4М3R
Mor
Philips_27
d1g1t4t0r
DmXLite
Kingbird
werffgdls;
{ DooM }
Mr.Konstantinos
jumpjet1999
vadosrespekt
tomilovsenya
xepomaht007
Ejikin91
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 1396572114_wtd2txd_0.zip
    Password for the archive: libertycity
    Virus check from Virustotal: the file is safe (view report)
    Download (0.10 MB)
  • depositfiles.com
    Download

WTD2TXD, - a converter for texture archives of the PC versions of GTA IV and Max Payne 3 into the archive format of the PC version of GTA SA. You can convert already created WTD archives from GTA IV and Max Payne 3 archives, or create new ones using special programs (for example, OpenIV). Note that you have much more options when creating a texture archive in OpenIV than in TXD Workshop.

Building

Place the .exe file in the folder with the .wtd archives and run it. The code will scan all files in the folder as well as files in subfolders. The created .txd files will have the same names as the corresponding .wtd files.

Log file

After building, a log file will be created. This file will show you which textures were renamed (due to the size limitation of the texture name in RenderWare), as well as textures that were skipped (if the skip function is enabled).

Settings

There is an ini file where you can adjust some parameters.

"Target"

Game version. Only GTASA is supported.

Filtering

Filtering is the process used to determine how individual mip levels of textures are selected and displayed.

FilterMode is the mode for textures without mipmaps. Available values:

rwFILTERNAFILTERMODE
rwFILTERNEAREST

rwFILTERLINEAR

FilterMipMode is the mode for textures with mipmaps. Available values:

rwFILTERNAFILTERMODE
rwFILTERMIPNEAREST
rwFILTERMIPLINEAR
rwFILTERLINEARMIPNEAREST
rwFILTERLINEARMIPLINEAR

For more details on these parameters, refer to the RenderWare Graphics documentation.

Anisotropic filtering

Anisotropic filtering is a method for improving the image quality of textures on surfaces that are significantly tilted relative to the camera [Wikipedia].

[image not available]

The value you should set is the maximum level of AF. You can check the maximum value supported by your system using this CLEO script:

{$CLEO}
0000:
while true
    wait 0
    0AA7: call_function 0x748F20 num_params 0 pop 0 0@
    0B10: 0@ = 0@ AND 0xFF
    0AD1: show_formatted_text_highpriority "Max supported anisotropy: %d" time 100 0@
end

Also, if you set the graphics level in the game to 'high' (or higher) in the options, all textures that use AF will use the maximum level of AF available on your system.

Texture addressing

Addressing modes determine the method used to identify a specific texel of a texture based on texture coordinates. Values are configured along two axes - horizontal (u) and vertical (v).

Available values:

rwTEXTUREADDRESSWRAP
rwTEXTUREADDRESSMIRROR
rwTEXTUREADDRESSCLAMP
rwTEXTUREADDRESSBORDER

For more details on these parameters, refer to the RenderWare Graphics documentation.

Skip options

During building, you can skip normal and specular maps (for example, if you are converting WTD directly from GTA IV/Max Payne 3. See the options in the SKIPPING OPTIONS section of the ini file.

TXD Workshop

TXD Workshop is an outdated program and it contains many bugs. It does not "know" how to properly recognize texture formats such as DXT5, A8R8G8B8, and X8R8G8B8. So do not panic if you see incorrect images there. Check your TXD in the game, it should work.

OpenIV

I recommend using OpenIV for creating WTD files. In this program, you can generate mip levels for images, adjust the texture format, and import DDS textures with already generated mip levels and configured texture format.

The file name and description have been translated. Show original (RU)Show translation (EN)
WTD2TXD

WTD2TXD, - конвертер архивов текстур PC-версий GTA IV и Max Payne 3 в формат архивов PC-версии GTA SA. Вы можете конвертировать уже созданные WTD-архивы из архивов GTAIV и Max Payne 3, либо создать новые с помощью специальных программ (например, OpenIV). Заметьте, что возможностей при создании текстурного архива в том же OpenIV у вас намного больше, чем в том же TXD Workshop.

Построение

Поместите файл .exe в папку с архивами .wtd и запустите его. Код просканирует все файлы в папке а также файлы во вложенных папках. Созданные .txd-файлы будут иметь те же имена, что и соответствующие .wtd-файлы.

Файл лога

После построения будет создан файл лога. Это файл покажет вам, какие текстуры были переименованы (из-за ограничения размера имя текстуры в RenderWare), а также текстуры, которые были пропущены (если функция пропуска включена).

Настройки

Существует ini-файл, где вы можете настроить некоторые параметры.

"Target"

Версия игры. Поддерживается только GTASA.

Фильтрация

Фильтрация это процесс, используемый для определения, каким образом выбираются и отображаются отдельные мип-уровни текстуры.

FilterMode это режим для текстур без мип-карт. Доступные значения:

rwFILTERNAFILTERMODE
rwFILTERNEAREST

rwFILTERLINEAR

FilterMipMode это режим для текстур с мип-картами. Доступные значения:

rwFILTERNAFILTERMODE
rwFILTERMIPNEAREST
rwFILTERMIPLINEAR
rwFILTERLINEARMIPNEAREST
rwFILTERLINEARMIPLINEAR

Ознакомиться детальнее с данными параметрами можно в документации по RenderWare Graphics.

Анизотропная фильтрация

Анизотропная фильтрация - это метод улучшения качества изображения текстур на поверхностях, сильно наклонённых относительно камеры [Википедия].

[image not available]

Значение, которое вы должны установить это максимальный уровень АФ. Вы можете проверить максимальное значение, которое поддерживается в вашей системе с помощью этого CLEO-скрипта:

{$CLEO}
0000:
while true
    wait 0
    0AA7: call_function 0x748F20 num_params 0 pop 0 0@
    0B10: 0@ = 0@ AND 0xFF
    0AD1: show_formatted_text_highpriority "Max supported anisotropy: %d" time 100 0@
end

Также, если вы установие уровень графики в игре на 'высокий' (или выше) в опциях, все текстуры, которые используют АФ, будут использовать максимальный уровень АФ, который доступный на вашей системе.

Адресация текстуры

Режимы адресации определяют используемый метод для определения конкретного тексела текстуры по текстурным координатам. Значения настраиваются по двум осям - горизонтальной (u) и вертикальной (v).

Доступные значения:

rwTEXTUREADDRESSWRAP
rwTEXTUREADDRESSMIRROR
rwTEXTUREADDRESSCLAMP
rwTEXTUREADDRESSBORDER

Ознакомиться детальнее с данными параметрами можно в документации по RenderWare Graphics.

Опции пропуска

При построении вы можете пропустить карты нормалей и спекуляра (если, например, вы конвертируете WTD непосредственно из GTA IV/Max Payne 3. См. параметры в разделе SKIPPING OPTIONS в ini-файле.

TXD Workshop

TXD Workshop это устаревшая и программа, и она содержит много недоработок. Она не "умеет" правильно распознавать такие форматы текстур, как DXT5, A8R8G8B8 и X8R8G8B8. Так что не паникуйте, если вы видите там неправильные изображения. Проверьте ваш TXD в игре, он должен работать.

OpenIV

Я рекомендую использовать OpenIV для создания WTD-файлов. В этой программе вы можете генерировать мип-уровни для изображений, настроить формат текстуры, а также импортировать DDS-текстуры с уже сгенерированными мип-урованями и настроенным форматом текстуры.

Comments 9
© 2008 - 2025 LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search