Difference between revisions of "X Archive Poison"
Jump to navigation
Jump to search
m |
m (Version 1.2) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ToolBox | {{ToolBox | ||
− | | version = 1. | + | | version = 1.2 |
| author = [[User:xmen|xmen]] | | author = [[User:xmen|xmen]] | ||
| game = [[GTA 4]] | | game = [[GTA 4]] | ||
Line 87: | Line 87: | ||
*#*:extract file(s) by passing their names | *#*:extract file(s) by passing their names | ||
− | [http://www. | + | [http://www.x-squares.com/File/i/34/X-Archive-Poison.aspx Download] |
Please write author name in credits if you are using it ;) | Please write author name in credits if you are using it ;) | ||
Line 93: | Line 93: | ||
=== Tools Using This === | === Tools Using This === | ||
* [[X Mod Installer]] | * [[X Mod Installer]] | ||
+ | {{GTA4-navi}} |
Latest revision as of 08:53, 21 February 2019
Current version: | 1.2 (!) |
---|---|
Developed by: | xmen |
Supported games: | GTA 4 |
Type: | library |
X Archive Poison is free .net library for GTA IV devs. It modifies in a very secured way through plenty of code lines those validates each operation prior to do changes. This library also provide manually validation as well as user can disable auto-validation. Current version is support only IMG operations, next version may have RPF operations as well.
Version 1.0
- Class : Archive_IMG
- Variables
- Table - IMG_Table
- object
- ArchivePath - string
- contains currently opened archive
- Table - IMG_Table
- Function(params) - return type, Description
- Add(string[] filePaths, bool doValidate, ProgressBar pb) - XOutput
- adds file(s) in currently opened archive, if any file is invalid it will not add
- Delete(string[] fileNames, bool doValidate) - XOutput
- deletes file(s) from currently opened archive, if any file not found it will not delete
- ExtractBytes(uint offset, int size) - byte[]
- returns byte[] read from currently opened archive, returns null if ArchivePath is empty
- Open(string ArchivePath) - bool
- returns true if the archive opened successfully else false
- Rebuild(int RequiredGap, ProgressBar pb) - XOutput
- rebuilds currently opened archive
- Rename(string[] oldNames, string[] newNames, bool doValidate, ProgressBar pb) - XOutput
- searches all elements in oldNames array and change with newNames, if any oldName not found, it will not rename
- Replace(string[] filePaths, string[] fileNames, bool doValidate, ProgressBar pb) - XOutput
- searches all elements in fileNames array and replaces with filePaths, if any fileName not found, it will not replace
- Validate_Add(string[] filePaths) - XOutput
- manual validation for adding file(s)
- Validate_Delete(string[] fileNames, string backupDir) - XOutput
- manual validation for deleting file(s), backupDir param can have a directory path for file(s) backup. Leave empty if no backup required
- Validate_Rename(string[] oldNames, string[] newNames) - XOutput
- manual validation for renaming file(s)
- Validate_Replace(string[] filePaths, string[] fileNames, string backupDir) - XOutput
- manual validation for deleting file(s), backupDir param can have a directory path for file(s) backup. Leave empty if no backup required
- Add(string[] filePaths, bool doValidate, ProgressBar pb) - XOutput
- Variables
- Class : IMG_Table
- Variables
- Items - List<IMG_TableItem>
- contain all items info
- ItemNames - List<string>
- contains all items/files names
- Items - List<IMG_TableItem>
- Function(params) - return type, Description
- GetIndexByName(string name) - int
- returns the index of found item through name, returns -1 if no match
- GetIndexByName(string name) - int
- Variables
- Class : IMG_TableItem
- Variables
- Size - int
- original file size
- ResourceType - ResourceType
- OffsetBlock - uint
- UsedBlocks - short
- IsResourceFile - bool
- Size - int
- Properties
- Padding - int
- get or set padding
- Padding - int
- Variables
- Class : XOutput
- Variables
- IsException - bool
- true if output had exception
- Message - string
- contains the output message
- OtherInfo - string
- contains the OtherInfo of output
- IsException - bool
- Variables
- Class : Decryptor
- Properties
- GTA4Path - string
- get or set GTA IV Application path directly, starts recursion until user provide a valid App path or cancel
- GTA4Path - string
- Function(params) - return type, Description
- GetGTAIVApp() - void
- get the GTA IV Application path from user, starts recursion until user provide a valid App path or cancel
- GetGTAIVApp() - void
- Properties
Version 1.1
- Class : Archive_IMG
- Function(params) - return type, Description
- ExtractFiles(int[] FileIndexes, string destDirectory) - XOutput
- extract file(s) by passing their indexes
- ExtractFiles(string[] FileNames, string destDirectory) - XOutput
- extract file(s) by passing their names
- ExtractFiles(int[] FileIndexes, string destDirectory) - XOutput
- Function(params) - return type, Description
Please write author name in credits if you are using it ;)
Tools Using This
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |