So I've made a tool for Black Ops II (works with other call of duty's too) to convert iwi files to dds and back from dds to iwi. It should work on basically all iwi files, because it supports all iwi formats, and writes the proper flags to the dds/iwi.
This tool supports the following image formats:
- A8R8G8B8
- R8G8B8
- A4R4G4B4
- A8
- DXT1
- DXT3
- DXT5
- 3Dc (ATI2)
- R16G16B16A16 float (Not tested, because I haven't found any file with this type)
And the following games:
- Call of Duty: Black Ops II
- Call of Duty: Modern Warfare 3
- Call of Duty: Black Ops
- Call of Duty: Modern Warfare 2
- Call of Duty: World at War
- Call of Duty: Modern Warfare
- Call of Duty 2
It also supports mipmaps, cube maps and volume maps (even stuff like mipmapped cubemaps)
So, when someone makes an ipak repacker, I hope that this will be useful in some way.
- Instructions:
1. Drag and drop any dds or iwi file to the exe of this tool (you can also drag and drop multiple files)
2. Magic
- Version log:
- V1.0: Initial release
- V1.20: Added fix when writing to iwi flag
- V1.26: Added support for MW3, BO1, MW2, WaW, MW and COD2; fixed some small bugs
- V1.28: Fixed multidrop bug
- V1.40: Added support for R8G8B8 and A4R4G4B4; fixed A8 bug with Black Ops 2; file size limit raised to 64MB
- Credits:
- @kokole
- http://www.callofduty.ru/wiki/ (thank you for the iwi header structures)
- Download:
iwi_dds_fast_converter.rar (Size: 32.74 KB / Downloads: 25,762)
This tool supports the following image formats:
- A8R8G8B8
- R8G8B8
- A4R4G4B4
- A8
- DXT1
- DXT3
- DXT5
- 3Dc (ATI2)
- R16G16B16A16 float (Not tested, because I haven't found any file with this type)
And the following games:
- Call of Duty: Black Ops II
- Call of Duty: Modern Warfare 3
- Call of Duty: Black Ops
- Call of Duty: Modern Warfare 2
- Call of Duty: World at War
- Call of Duty: Modern Warfare
- Call of Duty 2
It also supports mipmaps, cube maps and volume maps (even stuff like mipmapped cubemaps)
So, when someone makes an ipak repacker, I hope that this will be useful in some way.
- Instructions:
1. Drag and drop any dds or iwi file to the exe of this tool (you can also drag and drop multiple files)
2. Magic
- Version log:
- V1.0: Initial release
- V1.20: Added fix when writing to iwi flag
- V1.26: Added support for MW3, BO1, MW2, WaW, MW and COD2; fixed some small bugs
- V1.28: Fixed multidrop bug
- V1.40: Added support for R8G8B8 and A4R4G4B4; fixed A8 bug with Black Ops 2; file size limit raised to 64MB
- Credits:
- @kokole
- http://www.callofduty.ru/wiki/ (thank you for the iwi header structures)
- Download:
iwi_dds_fast_converter.rar (Size: 32.74 KB / Downloads: 25,762)