Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
      3. The Armadillo Inn
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

X-Seti

[REL|ALL] IMG Factory 1.3 (Now KGM)

Recommended Posts

X-Seti

2NhlUGV.png


IMG Factory is a powerful IMG editor for games that are based on RW engine and soon Rage.

Developers:
Mex, X-Seti and most importantly input from teamSOL!

Features:
- Import / Export files from any .IMG file.
- Conversion of Game Resources for GTA Series based on the RW engine.
(For example, conversion of .DFF /TXD from GTAIII to SA, etc).

- Mass dumping of textures from .TXD files in the form of .bmp .jpg .png to any folder.
- Export /Sort files via .IDE.
- Load/Save sessions.
- Tool update (use Help -> Update).
- Game mod update utility [update.lst].

Plans:
- Localization (English, Russian, Romanian, French (?)).
- TXD Generator, Build TXDs from the existing .DFF models.
- Resource editor for Bully.
- Format support for Manhunt/Manhunt 2.
- Format support for LCS/VCS.
- Resource editor for GTA Series based on RAGE (GTA 4).
- Decompression/Compression for those files that belong to GTA3/VC, XBox.
- COL File conversion.
- Icons, improved window design.
- 3D mesh viewer for DFF, COL and Texture paint/editing.

Famous bugs:
- Sometimes the 6th column (RW Version) and 1st (ID) column switch places in the tabs.
- After file conversion you must rebuild an .IMG. It's needed to normalize offsets.

Requirements :
You need to install VC++ Redistributable 2013 and .NET Framework 4.5.
That's all.

http://mvec.io/kgm

 

100% open source

https://github.com/K...GameManager/KGM

 

Download: Version 1.0
http://imgfactory.mvec.io/downloads/IMG-Factory-Installer-1.0.zip

http://www.ukscifi.net/solupdate/IMG-Factory-Installer-1.0.zip

 

Download: Version 1.1

http://mvec.io/public/files/IMG-Factory-Installer-1.1.zip

http://www.ukscifi.net/solupdate/IMG-Factory-Installer-1.1.zip

 

Download: Version 1.2

http://imgfactory.mvec.io/downloads/IMG-Factory-Installer-1.2.zip

http://www.ukscifi.net/solupdate/IMG-Factory-Installer-1.2.zip

 

Change Log: version 1.2
Fixed crash with dump feature when mipmap has width under 4 pixels.
Fixed crash sometimes when opening/closing sort window.
Fixed a crash for switching tabs and open.
Fixed several memory leaks.
Updated import/replace to work properly, also taking into account settings used.
New Features:
Added support for PS2 TXD files.
Added clone IMG feature.
Added open IMG folder feature.
Added right click entries for main entry list.
Added compression type column for IMG's using fastman92's version.
Added new window feature.
Added DFF orphan texture removal feature.
Added compression level option for IMG's using fastman92's version.
Added sort IDE/IPL by object ID feature.
Added auto compression feature for IMG's using fastman92's version.
Added support for JPG, GIF and TGA for image file input.
Updates to Existing Features:
Made texture viewer show yellow background for active texture when window is opened.
Made mipmaps work with WTD files for the dump feature.
Sorted search results A-Z.
Made texture viewer window spawn at center of screen.
Sorted file types in filter.
Changed main window design a bit.
Tidied code a bit.
Updated IMG version text to work with XBOX format.
Changed filter for RW version to only show RW versions used in the IMG.
Added digit grouping commas to ID, Offset and Size columns in main entry list.
Moved the menus around.
Moved settings from registry to INI file.
DDS files now work with DXT10 structs.
Made new feature not have any popup.

Fixed some DFF files in Bully format from being managed inco

 

Change Log: version 1.1

 

Bug Fixes

Dump progress bar previously did not reach 100%.
Open recently now performs case-insensitive check when adding entry.
Fixed shift entry.
Fixed opening IMG via DIR file.
Fixed "See extended log" button for dump.
Fixed launch error 0xc000007b.
Fixed search menu item from doing nothing.
Fixed search box from crashing.
Fixed IDE files treating all sections as OBJS.
New Features
Added Dump all Mipmaps to dump window.
Added menu item: Clear recently opened list
Added menu item message: There are currently no recently opened files
Added menu item message: There are currently no sessions
Added Credits to Help menu.
ICO/CUR file support for Dump.
Added Entry Viewer window for TXD/WTD files.
Added renamer window.
Added support for fastman92's IMG version.
Added menu item: Repeat Last Action
Added collision mesh centering feature.
Added Auto Rebuild feature.
Added COL align to DFF feature.
Added Extract via DAT feature.
Added support for DXT2 and DXT4 TXD files.
Added support for GTA XBOX IMG viewing/editing.
Added column sorting for entry list.
Added DAT Model List feature.
Added support for DDS files to dump.
Added map mover & ID shifter feature.
Existing Feature Updates
Coloured buttons were 2px too wide.
Made progress bar work with switching tabs.
Made Dump also work with selected entries in IMG.
Added build number to version window.
Enter key in search box now triggers the search.
Updated Dump to work with WTD files.
Check for updates when program starts.
Added prelightning options window when converting DFFs.
Added window for Duplicate Entries feature.
Added a second update mirror.
Added drag/drop conversion for COL files.
Also can an Admin please change this thread title to "[REL] IMG Factory", thanks.

 

Report Bugs:

If bugs are found please be as detailed as possible;

 

1. We would like your OS version

2. 32 or 64 bit

3. If you have visual studio installed or not.

4. Microsoft dot net versions. i.e 4.5.2

5. Anything else that might be able to help us resolve the issue.

 

 

Quick tutorial for IMG factory; WIP

In this tutorial I will explain why we need this new tool and what this tool can do for you.

Basic breakdown:

File menu:

New - Creates a new .IMG file that supports GTAIII, VC, SA and Rage 1.0 (IV).

Open - Open any Rockstar RW/Rage .IMG file.

Open Recent -.IMG Factory keeps a history of opened .IMG files.

Open Last - Open last.IMG file.

Reopen - Reloads current.IMG file.

Rename - Renames your current opened.IMG file (highlighted tab).

Sessions - Create and save opened .IMG file sessions that can be reloaded later.
* Keeping sessions helps when working with multiple .IMG files that you want to come back to another time.

Log - The ability to log any activity when working with .IMG archives. *
----> Log basic - A simple log file. What is opened and saved to the .IMG file.
----> Log extended - A more detailed log of every action working with opened .IMG files.

Close - Close current opened .IMG file.

Close all - Close all opened .IMG files.

Exit Tool - Quit.

* Automatic logging can be found in the settings menu. A user defined path for the log files.

Edit menu:

Find - Basic search.

Find in all tabs - Multiple search across all opened .IMG tabs.

Select - Options to select files from one of more .IMG files.
----> Select all - highlight every object in the .IMG file.
----> Select inverse - Switch to those objects not highlighted.
----> Select by file extension .dff /wrd .txd /wtd .col

----> Select via .ide file (Entries in the chosen .ide file will be highlighted)

----> Select via RW version

             RW VERSION 3.0.0.0.2  (GTAIII -alpha PS2)             0x00000302             RW VERSION 3.0.0.0.4  (GTAIII -PS2)                   0x00000304             RW VERSION 3.0.0.0.10 (GTAIII -PC/PS2)                0x00000310             RW VERSION 3.1.0.0    (GTAIII -PC)                    0x0400CFFF             RW VERSION 3.1.0.1    (GTAIII -PC/PS2)                0x0401FFFF             RW VERSION 3.2.0.0    (GTAIII -PC)                    0x0800FFFF             RW VERSION 3.3.0.2    (GTAIII & VC -PC/XBOX)          0x0C02FFFF             RW VERSION 3.4.0.3    (GTAVC & SA -PC/XBOX)           0x1003FFFF             RW VERSION 3.4.0.5    (GTAVC -Android)                0x1005FFFF             RW VERSION 3.5.0.0    (GTAIII & SA Beta Android)      0x1400FFFF             RW VERSION 3.6.0.3    (GTASA & MH PC)                 0x1803FFFF             RW VERSION 3.7.0.0    (GTASA -PC)                     0x1C000000             RW VERSION 4.3.3.46   (GTAIII & VC Anim -PC)          0x4F464E49

Import - Import objects into an opened .IMG file **

Replace - Replace any object in a .IMG file.

Remove - Remove objects from an active .IMG tab.

 

Notes--
* Remove and Remove via buttons allow for more flexibility allowing the removal by .ide and .txt files.
** Import and Import via buttons allow for more options, the ability to import by folder .ide or .txt files.
* Export has the same options as Import, however Quick Export exports objects to a chosen folder. Export path can be set in settings, options.
* Another tip; files /folders containing objects can be dragged and dropped onto the tool.

IMG Operations:

Rebuild - Rebuild .IMG.

Rebuild As - Rebuild .IMG file under a new name.

Rebuild all - Rebuild all opened .IMG files.

Convert To - Convert .IMG to Type 1 (GTAIII/VC) Type 2 (GTASA) or to Type 3 (Rage).

Merge - Merge opened .IMG file with 2 or more selected .IMG files.

Split - Split files from an active .IMG file.
----> Split selected objects from the .IMG file.
----> Split entries by .ide file.*
----> Split entries by text lines.

Update.lst
----> This is a very special way of updating your mods. where you can write your own update script.***

This feature asks for a update script that is divided into sections by the source/folder/ in the mod pack and a path to the installed game folder where the files are copied, renamed, replaced or deleted. Please put none for no action where the tool will skip to the next section of the script and [end] to call an end to the script.

* Key commands for the update.lst
source - this is where to locate the .dffs and .txds that are within this mod update. This folder is called updates/ where all the new .txd and .dff files exist.
add - adds a file to the .img or .col
del - removes a files from the .img or .col
rename - renames a file in the .img or .col
resort - This will resort the .img files by .ide modelname order.
rebuild - This will rebuilt the current .img file.
none - skip to next section.
copy - This will copy a text based file to the set path in that script section.
[gtaroot] - IMG Factory will ask for your installed game folder if nothing is put below that tag. If IMG Factory is placed in the working game folder just put / below the [gtaroot] tag.
[Cdimages] - this is the header for .img files. I have given a path to sol/cdimages/game_mll.img - Img Factory will action the first word of each line; add, del or rename. This is followed by the file name.
[Collisions] - This is the path to your col files. to be added, removed, renamed or replaced just like before with the .img files.
[other] - This tag donates to text files. in this section we can copy dat, ipl or ide files from the mod pack to the installed game folder.

* You can have more then one .img file, but each section must start with [cdimages] and must end with rebuild.
* When deleting or renaming collision entries from a .col file only the file name can be used without the extension .col
* File extensions are not used in .col files.
* All text files, ide, ipl or dat can be replaced, deleted or be added to the game directory. Example shown below.

Example:

[gtaroot]/[cdimages]source updates/gamepath sol/cdimages/game_mll.imgdel mllfd.dffdel mllpd.dffdel pentwtc.dffdel mllhotll.dffadd NorMLmllfd.dffadd NorMLmllpd.dffadd NorMLpentwtc.dffadd NorMLhotal05.dffresortrebuild[collisions]source cols/gamepath sol/cdimages/game_mll.colrename mllfd NorMLmllfdrename mllpd NorMLmllpddel mllswcentralbld1del mllswcentralbld2add NorMLswcentralbld1.coladd NorMLswcentralbld2.coladd NorMWland02.coladd NorMWland03.coladd NorMWland04.coladd NorMWland05.colresort[Other]source ide/gamepath sol/cdimages/del /game_lc.idecopy /game_lc.ide  copy /game_mll.idesource dat/gamepath sol/del gta_sol.datcopy gta_sol.datsource ipl/gamepath sol/maps/delete maps/*copy maps/*

* The line delete maps/* (star) is a wildcard for delete all.

* More information can be found at the bottom of the tutorial as there is an example script.

Stats - Gives object information contained in the .IMG file.

* When splitting objects by selecting an .IDE file. the model names and textures within the .IDE will be removed from the original .IMG and placed in a new .IMG file.

 

Dump - file dump has many options from mass exporting any file contained in the .IMG file. **

** Dump can export all the textures from a given .IMG file in the format of .bmp, .gif, .jpg, .png, tga, and .tiff
* Dump can also mass export any chosen file; COL, WBM, WBD, DFF, MDL, WDR, WDD, IPL, WPL, TXD, WTD or any other file that exists in the .IMG file.

Duplicate entries - Checks for duplicate objects in the opened .img file or .img file active tab.

 

Orphan entries - This function checks missing files from either the .img, .col or ide file.

------> Orphan entries --> .col --> not in the .ide

------> Orphan entries --> .ide --> not in the .img

------> Orphan entries --> .ide --> not in the .col

------> Orphan entries --> .img --> not in the .ide

 

Validation - This option can validate .img files by saving a signature .db to store extra data. This data holds the original file date, modify date and copied into .img data. This allows for the newest files to be protected and not be overwritten.

------> Save signature.

------> Verify signature.

------> Validate all TXD entries in active tabs.

------> Validate all DFF entries in active tabs.

 

Compare - Match one opened .img file against another chosen .img file.

 

Entry Operations:

 

Import entries

------> Import entries via files.

------> Import entries via .ide files.

------> Import entries via text lines.

------> Import entries via folder.

------> Import entries via .ipl files.

 

Export entries

------> export selected files.

------> export entries via .ide files.

------> export entries via text lines.

------> Quick Export.

------> export all entries from all tabs.

------> export all entries from all tabs into multiple folders.

------> export entries via .ide files from all tabs.

------> export entries via text lines from all tabs.

 

Remove entries

------> Remove selected files.

------> Remove entries via .ide files.

------> Remove entries via text lines.

 

Replace entries

------> Replace selected entries.

------> Replace all entries from folder.

 

Convert -> DFF. IMG Factory can convert .dff files to any RW format shown below.

Convert .dff to 3.0.0.0.2  (GTAIII -alpha PS2)                        3.0.0.0.4  (GTAIII -PS2)                                 3.0.0.0.10 (GTAIII -PC/PS2)                          3.1.0.0    (GTAIII -PC)                                   3.1.0.1    (GTAIII -PC/PS2)                3.2.0.0    (GTAIII -PC)                        3.3.0.2    (GTAIII & VC -PC/XBOX)                 3.4.0.3    (GTAVC & SA -PC/XBOX)                3.4.0.5    (GTAVC -Android)                          3.5.0.0    (GTAIII & SA Beta Android)                3.6.0.3    (GTASA & MH PC)                          3.7.0.0    (GTASA -PC)

Convert - TXD to any game version or RW format.

------> TXD

--> Game.

- - - - - - - - - - - - - - - > Convert TXD to GTA III

- - - - - - - - - - - - - - - > Convert TXD to GTA VC

- - - - - - - - - - - - - - - > Convert TXD to GTA SA

- - - - - - - - - - - - - - - > Convert TXD to GTA Android

- - - - - - - - - - - - - - - > Convert TXD to GTA Xbox

- - - - - - - - - - - - - - - > Convert TXD to GTA iOS TBA

 

------> TXD

--> RW Version

Convert .txd to 3.0.0.0.2  (GTAIII -alpha PS2)                        3.0.0.0.4  (GTAIII -PS2)                                 3.0.0.0.10 (GTAIII -PC/PS2)                          3.1.0.0    (GTAIII -PC)                                   3.1.0.1    (GTAIII -PC/PS2)                3.2.0.0    (GTAIII -PC)                        3.3.0.2    (GTAIII & VC -PC/XBOX)                 3.4.0.3    (GTAVC & SA -PC/XBOX)                3.4.0.5    (GTAVC -Android)                          3.5.0.0    (GTAIII & SA Beta Android)                3.6.0.3    (GTASA & MH PC)                          3.7.0.0    (GTASA -PC)

Convert - TXD to any texture format.

------> TXD

--> Texture format

- - - - - - - - - - - - - - - > Convert TXD to RGBA 8888 Uncompressed 32BPP (0x500)

- - - - - - - - - - - - - - - > Convert TXD to RGB 888 Uncompressed 32BPP (0x600)

- - - - - - - - - - - - - - - > Convert TXD to RGB 565 DXT1 Compressed 16BPP (0x200)

- - - - - - - - - - - - - - - > Convert TXD to RGBA DXT3 Compressed (0x300)

 

Shift Entry - Move any entry in the file window up and down.

 

Rename Entry

 

Name case - change files to lowercase, UPPER CASE or Title Case.

 

Copy to clipboard - information about; ID, Name, Offset, Resource Type, RW Version, Size or Type.

 

Sort - I am not going to go into to much detail here, lets say sort by .ide is very useful.

 

Texture List - Generates a texture list from any number of selected .dff, mdl or wtd files.

 

Missing Textures - Generates a missing texture list from any selected .dff, mdl or wtd files.

 

 

Options Menu;

 

Options - I suggest these options need to be set before you do anything with IMG Factory.

 

Help Menu;

 

About - This just gives a version for now.

 

Website - Gives website information and links.

 

Update - Img Factory updates.

 

That is it, this may be edited as new features are added to the tool.

Edited by X-Seti

Share this post


Link to post
Share on other sites
dkluin

Good to see our work finally getting paid :)

Share this post


Link to post
Share on other sites
fastman92

Finally it got released. Decent piece of work.

Share this post


Link to post
Share on other sites
Ezekiel

wow...very helpful..col options too....

immediately in hand's

Share this post


Link to post
Share on other sites
The_GTA

Looks interesting. I can see myself using this tool if it provides intuitive drag and drop functionality for IMG editing.

Share this post


Link to post
Share on other sites
Dageron RUS

Well done! Would it be possible to convert PC *.ddf's to PS2 ones, and vice versa?

Share this post


Link to post
Share on other sites
dkluin

I think it would support PS2 files sometime in the future.

Edited by dkluin

Share this post


Link to post
Share on other sites
Ss4gogeta0

totally using it, thanks X-Seti

Share this post


Link to post
Share on other sites
KELASHI

I would like to make localization for Chinese.

Share this post


Link to post
Share on other sites
X-Seti

Edit;

@Ncshane Your most welcome to do this for us.

Edited by X-Seti

Share this post


Link to post
Share on other sites
X-Seti

We are looking for someone who can design icons for the menus.

 

I would like these icons to look like those that you find on G-IMG or G-TXD, we can not use these icons directly as we do not have permission and nor can I get this.

Share this post


Link to post
Share on other sites
KELASHI

@Noshane Your most welcome to do this for us.

It's "Nc" not "No" :/

Share this post


Link to post
Share on other sites
X-Seti

Sorry about that.. Sometimes it can be hard to see with this old monitor.

Share this post


Link to post
Share on other sites
cj2000

Well done! Would it be possible to convert PC *.ddf's to PS2 ones, and vice versa?

There is a tool converting PS2 to PC. We can tallk about using PM.

Share this post


Link to post
Share on other sites
miclin

search function is bugged and can crash the tool.

Share this post


Link to post
Share on other sites
pep legal

.

Great !

 

it's going to be very helpful !

Share this post


Link to post
Share on other sites
dkluin

search function is bugged and can crash the tool.

It's working for me.

Share this post


Link to post
Share on other sites
burnsyboo

hello i have an error when trying to launch the tool

VLYF26O.png

Share this post


Link to post
Share on other sites
miclin

.

Great !

 

it's going to be very helpful !

when using the right-bottom search field the tool crashes. works for you?

Share this post


Link to post
Share on other sites
pep legal

 

.

Great !

 

it's going to be very helpful !

when using the right-bottom search field the tool crashes. works for you?

 

 

Nope !

 

It crashes on search function.

 

.

Edited by pep legal

Share this post


Link to post
Share on other sites
X-Seti

It would be interesting to know who is running what as well so I can replicate the problem. I don't get those problems on here but we're look into the search + crash issue.

Edited by X-Seti

Share this post


Link to post
Share on other sites
miclin

Im running win8.1 64bit german

 

Doesnt matter what files i want to search.

 

The search field on the right always crashes the tool.

And the normal search function from the topmenu just doesnt work.( i guess its the same function, but interesting that only the one with the field crashes)

Edited by miclin

Share this post


Link to post
Share on other sites
PhillBellic

Is this the OpenIV equivalent for the 3D Era games? Examining the OP, I like the GUI. :)

Share this post


Link to post
Share on other sites
pep legal

Im running win8.1 64bit german

 

Doesnt matter what files i want to search.

 

 

Same system (but not german)

 

Same problem.

 

.

Share this post


Link to post
Share on other sites
reditec

Please make this Open-Source :)

Share this post


Link to post
Share on other sites
X-Seti

This will be in time.

Share this post


Link to post
Share on other sites
reditec

Wow thank you!

I really want to take part in development :-)

Do you need any help atm? :)

Share this post


Link to post
Share on other sites
PhillBellic

This will be in time.

Hi, X-Seti, did you see my question posted above? I have quoted it below for convenience. :)

 

Is this the OpenIV equivalent for the 3D Era games? Examining the OP, I like the GUI. :)

Share this post


Link to post
Share on other sites
miclin

open source would be nice, maybe I can find/fix the crash with the search function. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.