Quantcast

Jump to content

» «
Photo

[WIP]GTA IV - Xassist

6 replies to this topic
nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#1

Posted 22 July 2011 - 01:45 AM Edited by nightwalker83, 29 December 2011 - 07:59 AM.

Hi,

I have been working on a little program in Visual Basic 6.0 that automatically deletes the default controls in GTA IV thus allows the player to use the controls they define. I have also added code to keep the fps in-game to 25 hopefully making the last mission easier and able to be completed first try. I have also added command line input. Just play the "commandline.txt" in the GTA IV game directory and run the game.

Change log: version 2.5.0.0

'Description: checks the system for the default GTA IV settings files
'and deletes them so you can play the game using the controls you define.
'Date: 04/05/2011
'Update 07/05/2011 Refined the code to remove unnecessary code.
' Also, remove the need for a form the code only requires a module to run.
'Update: 16/05/2011 Modified the code to use dynamic paths instead of hard coded paths.
'Update: 18/05/2011 Added a function to copy the source files to a new directory if the user is using xliveless.
'Update: 20/05/2011 Added function to retrieve the folder name of the folder containing the save files
'Update: 26/05/2011 Added command-line functions
'Update: 16/07/2011 Added code to adjust the default frame rate
'Update: 30/07/2011 The code now includes a sub to detect if the target program is still responding
' Added GTA IV icon
'Update: 08/12/2011 Changed the delete function so it uses the same basic method as that used to copy the save games
' except deleting the files instead of copying them.
'Update: 29/12/2011 fixed bug so that the saves games actually copy to the new location depending on the GTAIV.exe version
'Author: Aaron Spehr
'Alias: Nightwalker83
'Website: http://aaronspehr.net/

To install just put the "Xassist.exe" and "Xassist.dll" in the GTA IV game folder and create a desktop shortcut for the program then run it.

Download version 2.0.0 here.

Nightwalker

lpgunit
  • lpgunit

    It's L, as in Lpgunit, not I.

  • Feroci
  • Joined: 24 May 2008
  • Philippines

#2

Posted 22 July 2011 - 06:28 AM

For some reason I still prefer coding in VB6, as the runtimes are already integrated into Windows, and that you don't need any dependencies for it. Good job with the app, btw.

nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#3

Posted 22 July 2011 - 06:56 AM Edited by nightwalker83, 22 July 2011 - 06:58 AM.

Thanks! I included the link to the version I put on filefront because I don't know how successfully my submission to gta garage will be. Yeah, I prefer coding in VB6 as well despite knowing C# although, I haven't really done any desktop apps in C# mainly websites using asp.net.

nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#4

Posted 03 August 2011 - 11:15 AM

I have uploaded the new version of Xassist it should appear in the first post when approved.

nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#5

Posted 26 August 2011 - 09:39 AM

I have uploaded the new version converted to VB.NET.

nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#6

Posted 12 November 2011 - 11:37 AM Edited by nightwalker83, 12 November 2011 - 11:49 AM.

I have converted the code so any other GTA modder may use it in their mods if they wish. Below is an example of how to use the file, this is vb6 code.

CODE

   Private Sub Form_Load()
   Dim xassist As clsXassist
   Set xassist = New clsXassist
   xassist.Launch
   End Sub


To use the above code you need to run IDE in Run as Admin mode then reference the dll in your project ansd use the equalivant code as above to access the functions/subs.

nightwalker83
  • nightwalker83

    Don't mind me

  • Members
  • Joined: 10 Oct 2004

#7

Posted 29 December 2011 - 07:53 AM

Fixed a few bugs to allow the save games to be copied to the personal files directory actumatically depending on the GTAIV.exe version. See first post for files.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users