UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

IWITool (Decompile and Recompile T5, T6, IW4, IW5 IWI's)

broken avatar :(
Created 7 years ago
by RSX
0 Members and 1 Guest are viewing this topic.
2,928 views
broken avatar :(
×
broken avatar :(
Location: co
Date Registered: 3 August 2016
Last active: 4 years ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
RSX's Groups
RSX's Contact & Social Links
Features:
  • Decompliation of RBGA, RGB, DXT1, DXT3, and DXT5 IWIs
  • The ability to recompile a dumped IWI
  • Full mipmap dumps
  • Single BMP to IWI compilation


Usage:
Code Snippet
Plaintext
 IWITool.exe InputType Input (Additional input settings) ExtractType Extract (Version)
Full usage.
Code Snippet
Plaintext
To dump an IWI:
 IWITool.exe IWI t5_weapon_m60e3_env.iwi DIR T5Test

To recompile a dumped IWI:
 IWITool.exe DIR T5Test IWI Recompiled.iwi

To create a brand new IWI (Sample pixel format: RGBA:512x512x6):
 IWITool.exe NEW [PixelFormat - PIXELTYPE:WIDTH:HEIGHT:SURFACES] DIR newTest 13

To convert an IWI with a single surface to another game:
 IWITool.exe IWI t5_weapon_m60e3_env.iwi IWI T6.iwi 27

To compile a BMP (NOT RECOMMENDED):
The correct flags can be obtained from dumping a similar IWI.
You may want to experiment with removing or adding 3, 2 bitwise flags to your flag depending on the game.
 IWITool.exe BMP [FLAGS] [GAMMA] test.bmp IWI Test.iwi 27


Known issues/planned features:
IssueWorkaroundsFixed
Bad user input validationCheck the arguments you pass to the toolNo - Low priority
Odd skybox (cube) texture detectionNone.No - High priority
No support for version 5 IWIs (unk game)None.No - High priority
No support for dumping entire dirsPass an IWI instead, silly.No - Low priority
Add T6 IPAK supportUse the tool mentioned at the bottom of the post.No - Medium priority
Add T7 supportNone.No - Medium priority

List of supported (IWI) versions: 6, 8, 9, 13, 27

IWITool Download:  https://i.itsghost.me/DG7duCAnRYJMkvu.zip
IWITool GUI: Pending.

(Note: when editing BMPs in paint.net, you will need this plugin to save the alpha values: https://forums.getpaint.net/index.php?/topic/11201-alpha-32bits-bitmap-support-for-paintnet/ )

(Note: when decompiling T6 IWIs, you'll need kokole's IPAK tool. https://www.itsmods.com/forum/Thread-Release-IPAK-extractor-library-and-source-V2-60.html )

 
Loading ...