Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,810 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. 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

    2. Red Dead Redemption

    3. 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

nightwalker83

[WIP]GTA IV - Xassist

Recommended Posts

nightwalker83

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

Edited by nightwalker83

Share this post


Link to post
Share on other sites
lpgunit

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.

Share this post


Link to post
Share on other sites
nightwalker83

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.

Edited by nightwalker83

Share this post


Link to post
Share on other sites
nightwalker83

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

Share this post


Link to post
Share on other sites
nightwalker83

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

Share this post


Link to post
Share on other sites
nightwalker83

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.

 

 

   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.

Edited by nightwalker83

Share this post


Link to post
Share on other sites
nightwalker83

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.

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

×

Important Information

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