Up
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
  • EN
New comments
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.1K
Total downloads: 2159
Unique downloads: 456
10 / 10
54 people rated the file
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
OT_VINTA
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, - Converter of GTA IV and Max Payne 3 PC texture archives to GTA SA PC version archive format. You can convert already created WTD archives from GTAIV and Max Payne 3 archives, or create new ones using special programs (for example, OpenIV). Note that you have much more opportunities when creating a texture archive in the same OpenIV than in the same TXD Workshop.

Building

Place the .exe file in the .wtd archives folder and run it. The code will scan all files in a folder as well as files in subfolders. The generated .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 have been renamed (due to texture name size limitation in RenderWare) as well as the textures that have been skipped (if the skip feature is enabled).

Settings

There is an ini file where you can set some options.

"Target"

Game version. Only GTASA is supported.

Filtering

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

rwFILTERNAFILTERMODE
rwFILTERNEAREST

rwFILTERLINEAR

FilterMipMode is the mode for mipmapped textures. Available values:

rwFILTERNAFILTERMODE
rwFILTERMIPNEAREST
rwFILTERMIPLINEAR
rwFILTERLINEARMIPNEAREST
rwFILTERLINEARMIPLINEAR

You can learn more about these parameters in the RenderWare Graphics documentation.

Anisotropic filtering

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

The value you should set is the maximum AF level. You can check the maximum value supported on your system with 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

Texture address

Addressing modes determine the method used to locate a particular texture texel from texture coordinates. Values ​​are adjusted along two axes - horizontal (u) and vertical (v).

Available values:

rwTEXTUREADDRESSWRAP
rwTEXTUREADDRESSMIRROR
rwTEXTUREADDRESSCLAMP
rwTEXTUREADDRESSBORDER

You can learn more about these parameters in the RenderWare Graphics documentation.

Skip options

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

TXD Workshop

TXD Workshop is an outdated program and has a lot of bugs. It doesn't "know" how to properly recognize texture formats such as DXT5, A8R8G8B8 and X8R8G8B8. So don't panic if you see wrong images there. Check your TXD in game, it should work

OpenIV

I recommend using OpenIV to create WTD files.

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- 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