Difference between revisions of "User:SSX-Breaker"

From GTAMods Wiki
Jump to navigation Jump to search
(Other TC-Modefications from SSX-Breaker)
Line 1: Line 1:
SSX-Breaker (or Apple-Mac) is a Dutch modder.
+
{{ToolBox
He is best known as a lead father, with his upcoming mod: [[The Green Light District]]
+
| version = 1.1
 +
| author  = [[User:xmen|xmen]]
 +
| game    = [[GTA 4]]
 +
| genre  = library
 +
}}
  
== Other TC-Modefications from SSX-Breaker ==
+
'''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.
*02/06/2005 - 03/03/2006 Grand Theft Auto: Master Roads (Taked over. Probably delayed)
 
*15/02/2006 - 22/02/2006 Grand Theft Auto: Miami-Liberty (Delayed. Marked as a flop on gtaforum.nl)
 
*02/08/2006 - 2011[[The Green Light District]] One of the biggest mods on gtaforum.nl Still active.
 
  
== Links ==
+
=== Version 1.0 ===
* [http://www.gtaforum.nl/index.php?showforum=207 The Green Light District] @gtaforum.nl
+
 
*[[The Green Light District]] on gtamodding.com
+
* Class : '''Archive_IMG'''
 +
*# Variables
 +
*#*'''Table''' - ''IMG_Table''
 +
*#*:object
 +
*#*'''ArchivePath''' - ''string''
 +
*#*:contains currently opened archive
 +
*# 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
 +
 
 +
* Class : '''IMG_Table'''
 +
*# Variables
 +
*#*'''Items''' - ''List<IMG_TableItem>''
 +
*#*:contain all items info
 +
*#*'''ItemNames''' - ''List<string>''
 +
*#*:contains all items/files names
 +
*# Function(params) - return type, Description
 +
*#*'''GetIndexByName(string name)''' - ''int''
 +
*#*:returns the index of found item through name, returns -1 if no match
 +
 
 +
* Class : '''IMG_TableItem'''
 +
*# Variables
 +
*#*'''Size''' - ''int''
 +
*#*:original file size
 +
*#*'''ResourceType''' - ''ResourceType''
 +
*#*'''OffsetBlock''' - ''uint''
 +
*#*'''UsedBlocks''' - ''short''
 +
*#*'''IsResourceFile''' - ''bool''
 +
*# Properties
 +
*#*'''Padding''' - ''int''
 +
*#*:get or set padding
 +
 
 +
* Class : '''XOutput'''
 +
*# Variables
 +
*#*'''IsException''' - ''bool''
 +
*#*:true if output had exception
 +
*#*'''Message''' - ''string''
 +
*#*:contains the output message
 +
*#*'''OtherInfo''' - ''string''
 +
*#*:contains the OtherInfo of output
 +
 
 +
* Class : '''Decryptor'''
 +
*# Properties
 +
*#*'''GTA4Path''' - ''string''
 +
*#*:get or set GTA IV Application path directly, starts recursion until user provide a valid App path or cancel
 +
*# 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
 +
 
 +
=== 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
 +
 
 +
[http://www.x-squares.com/FilesVault.aspx?GroupID=2f5f81ed-f0ef-438a-a9ef-853fa18e5e3d Download]
 +
 
 +
Please write author name in credits if you are using it ;)
 +
 
 +
=== Tools Using This ===
 +
* [[X Mod Installer]]
 +
{{GTA4-navi}}

Revision as of 20:29, 24 May 2009

SSX-Breaker
Current version:1.1 (!)
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
    1. Variables
      • Table - IMG_Table
        object
      • ArchivePath - string
        contains currently opened archive
    2. 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
  • Class : IMG_Table
    1. Variables
      • Items - List<IMG_TableItem>
        contain all items info
      • ItemNames - List<string>
        contains all items/files names
    2. Function(params) - return type, Description
      • GetIndexByName(string name) - int
        returns the index of found item through name, returns -1 if no match
  • Class : IMG_TableItem
    1. Variables
      • Size - int
        original file size
      • ResourceType - ResourceType
      • OffsetBlock - uint
      • UsedBlocks - short
      • IsResourceFile - bool
    2. Properties
      • Padding - int
        get or set padding
  • Class : XOutput
    1. Variables
      • IsException - bool
        true if output had exception
      • Message - string
        contains the output message
      • OtherInfo - string
        contains the OtherInfo of output
  • Class : Decryptor
    1. Properties
      • GTA4Path - string
        get or set GTA IV Application path directly, starts recursion until user provide a valid App path or cancel
    2. 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

Version 1.1

  • Class : Archive_IMG
    1. 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

Download

Please write author name in credits if you are using it ;)

Tools Using This