Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IWIConverter v0.3 (for making custom images)

Опубликовано:

IWIConverter

A tool that lets you convert dds files to MW2 iwi files.

For skinners and modders who are sick of using the old cod4 tool and then having to hex edit stuff.

 

Features:

  • * Conversion of RGB8 ARGB8, DXT1, and DXT5 dds files
    * Ability to edit flags... Don't know what they all mean yet but you can still do it :D
    * CRC32 fixing now supported
    * Ability to copy all info from default iwi files

 

Readme:

IWIConverter by Apadayo

Utility for converting dds files to iwi files.
Supports DXT and RGB dds files with no mipmaps
Directly supports MW2 iwi files without hex editing.
Supports crc32 fixing.
command to streamline overiding of default images.

usage: iwiconverter.exe infile [options]
 options:
 -help: display this message
 -o: followed by a filename for the output file
 -crc: followed a 32-bit hex number to use to patch as the crc32 for the file
 -flags: followed by a 32-bit hex number to use as flags. Default is 0x00000173
Default for RGB is 0x00000173
Default for DXT is 0x00000340
 -getinfo: followed by a filename, prints info about the specefied iwi file.
 -ref: followed by a filename, uses the specefied iwi file to copy crc32 and flags, also checks that format and size are correct.

I recomend using nvcompress to make your dds files if you don't have photoshop.
To compress a dds file for use with nvcompress use the options:
-nomips (required)
-bc1 for DXT1 
-bc3 for DXT5
-rgb for RGB8 and ARGB
-alpha if you want a dds file with alpha

 

Full tutorial on how to use:

  • 1. Get the NVIDIA texture tools from here:
http://developer.nvidia.com/content/tex ... 208-32-bit
2. Save your image the same dimensions as the one you want to replace in any format
3a. Run nvcompress (its in the bin folder of where you installed the tools in step 1) included in the texture tools with the option "-nomips"
Other options include "-bc1" for DXT1, "-bc3" for DXT5, "-rgb" for RGB8, and "-rgb" and "-alpha" for RGBA
3b. If you have photoshop (not gimp) you can export with either DXT1, DXT5, RGB, or RGBA with no mip maps.
4. Open a command prompt (start menu and "cmd")
5. navigate to the directory the dds file and iwiconverter.exe are (cd "directory path")
6. run "iwiconverter ddsname"
*OPTIONAL*
If you want to copy flags and crc32 from the original file then use "-ref originalfile"

 

Virustotal: https://www.virustotal.com/file/d045284 ... 340215685/

 

Download: [attachment=0]iwiconverter v0.3.zip[/attachment]

Featured Replies

Опубликовано:
then having to hex edit stuff.

 

Wait... So this will do the Hex editing too? I remember there was a tool like that on aIW. i just can't find it.

HxD was the tool. And you also need CrcFixer, and iwi2dds , and dds2iwi , But this tool does ALL OF IT. So much easier.

Опубликовано:
  • Автор
then having to hex edit stuff.

 

Wait... So this will do the Hex editing too? I remember there was a tool like that on aIW. i just can't find it.

HxD was the tool. And you also need CrcFixer, and iwi2dds , and dds2iwi , But this tool does ALL OF IT. So much easier.

crc fixing is not quite done yet... I have a working crc32 implementation but the reverse stuff is still eluding me.

Опубликовано:
  • Автор
.. I'm either stupid or this failed.. mostly like I'm stupid but I can't get it to work.

I'd put my money on you being stupid over Apadayo failing ;P

Then you would be broke :D

What happened? Did you try to use a DTX compressed dds? I thought I wrote in enough error handling but something might be broken as I didn't really test it.

Опубликовано:
Something might be broken as I didn't really test it...

._.

How DID you test it then?

I think he meant he didn't test if it handled all errors yet, but I may be wrong. Just my 2 cents.

 

Also thanks for your work Apadayo you've done a bit for the community. ;)

Your clan tag mod helped me a bit (compiled it myself and learned a bit about the way 'things work'/etc).

Опубликовано:
then having to hex edit stuff.

 

Wait... So this will do the Hex editing too? I remember there was a tool like that on aIW. i just can't find it.

HxD was the tool. And you also need CrcFixer, and iwi2dds , and dds2iwi , But this tool does ALL OF IT. So much easier.

 

Nice.

Опубликовано:
  • Автор

I tested it by converting a dds with very specific settings from one program to use it for one purpose in the game.... not what you would call thorough. (as it i converted the png to dds with nvcompress using the options "-rgb -nomips" and used it as the main menu background).

 

What I meant earlier was that you might still be able to convert DXTn textures without using the super secret "-dtx" switch. It gives pretty unpredictable results as well as screwing up the game memory. You can see what I have so far by using the super secret switch which will enable DXTn compression and mipmaps.

Опубликовано:
then having to hex edit stuff.

 

Wait... So this will do the Hex editing too? I remember there was a tool like that on aIW. i just can't find it.

HxD was the tool. And you also need CrcFixer, and iwi2dds , and dds2iwi , But this tool does ALL OF IT. So much easier.

 

No I meant there was a tool on aIW that did everything for you. Like the hex editing, conversion, crc fixing, etc.

  • 1 month later...
Опубликовано:

this would be the tool to use while editing/changing textures in photoshop right? if so, can u customize a sky for 4d1? if so, what would the file name be called? ive been tryin it with no success yet,

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.