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

    1. GTANet.com

    1. GTA Online

      1. The Contract
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

[REL|IV] Asi loader


Alexander Blade
 Share

Recommended Posts

Alexander Blade

http://dev-c.com

Sco script compiler is out to public !
http://www.gtaforums.com/index.php?showtopic=492143

*note : Asi loader v1.0.2b works with 1.0.3, 1.0.4, 1.0.0.4 and n-blah patch too (and other direct sound using games).
*note2 : IF PLUGIN DOESN'T SUPPORT A PATCH IT WILL CRASH THE GAME , THERE IS NO MATTER THAT ASI LOADER WORKS WITH THE PATCH



-= GTA IV ASI LOADER =-


Allows you to load your own libraries to GTA IV.
Libraries must have *.asi extensions, like it was in VC and SA (thx 2 Jerenej L.).
link : http://dev-c.com/gtaiv/asiloader

 

NOTE: Patch 1.0.0.4 has asiloader and asi plugins detection , you need to use File Check Fix Advance to disable this protection , links below.

v1.0.2b
- CRT "bug" fixed
v1.0.2
- Added support of GTAIV.exe v1.0.2
v1.0.1b
- Vista bug fixed
v1.0.1
- Game crash bug fixed
- Added support of GTAIV.exe v1.0.1
v1.0
- First test release

also visit http://OpenIV.com

Edited by Alexander Blade
Link to comment
Share on other sites

Wow, nice work! biggrin.gif

This means we can now create CLEO, Speedometers and Huds for GTA IV, right?

Link to comment
Share on other sites

 

Wow, nice work!  biggrin.gif

This means we can now create CLEO, Speedometers and Huds for GTA IV, right?

No, it means you can extend the code of GTA through libraries written in assembly, Like a DLL. Rename a DLL to ASI and it will work with this.

Edited by the hubster
Link to comment
Share on other sites

Alexander, great work smile.gif. One thing thou: can you edit the loader so i reads the files from a folder within GTAIV main dir? so it will look like this for example: GTAIV\ASIFILES\*.asi

 

it will be more usefull in the future if we get more plugins . thx

Link to comment
Share on other sites

Nice work, I use it combined to aru's filelist.pak and the game can be modded without any hook or exe files. cool.gif

 

I agree with steveb07, a dedicated dir for asi files would be good.

 

 

ps. ignore my pm, I solved.

Link to comment
Share on other sites

Game doesn't start for me. No idea why since I installed it exactly as it says... -_-

This works on the retail version, right?

Link to comment
Share on other sites

Nice work, I use it combined to aru's filelist.pak and the game can be modded without any hook or exe files. cool.gif

 

I agree with steveb07, a dedicated dir for asi files would be good.

 

 

ps. ignore my pm, I solved.

.asi file is almost an executable (it's a dll dynamic link library).

 

Great work Alexandre. Once again. Your loader depends on the game exe version, right?

Link to comment
Share on other sites

Alexander Blade

no, it's not

there is only one rule - exe must use bink video library

Link to comment
Share on other sites

but with vista this tool doesn't work too...

the same thing like aru's tool...... exe crash sad.gif

i hate vista^^

Link to comment
Share on other sites

it has something to do with the dll's....

and it was mentioned in arus thread that it is caused by the ASLR system... i read some stuff about it... but coders will understand those things better i think^^

there is an exe patch in aru's thread and with this one i can use modified files... (for example the intro skip)

but my game is really strange... i have to wait for the patch because there are gamecrashes all the time...

so i cant say if the crashes are caused by the modfications or its still a bug of R*^^

 

but anyway with the dll method i cant even start the game^^

Edited by JKM
Link to comment
Share on other sites

'FileCheckFix.asi' seems to crash my game within 1 min.

Game seems to work without that plugin though (with ASI Loader installed)

Link to comment
Share on other sites

I still havnt been able to mod.

 

Everytime i do it i have to reinstall because the game wont launch.

 

What am i doing wrong? cry.gif

Link to comment
Share on other sites

We'll have to wait for the game to become stable enough.

 

Vicariously, you should backup all the files before modding so you don't have to reinstall.

 

Alexandre, do not your loader and asi plugins modify the game code in memory? For instance, the file hash check fix?

Edited by mkey82
Link to comment
Share on other sites

Alexander Blade

yep , this is memory exe modifing ....

i don't know what's the reason of vista crashing .. fck ...im gonna think about this sh!t

 

Link to comment
Share on other sites

Alexandre, but then if you work with absolute memory offsets the plugins will be version defendant. Of course, if you worked with patterns, that might not be so.

 

How many people reported it crashes on Vista? Do crashes under Vista happen in modified exe code or in your loader code? I should be getting the game tomorrow so I'll try to check it.

 

Sorry for all this questions biggrin.gif

Link to comment
Share on other sites

Alexander Blade

crashing is into my code , i used debug asi loader for making this .

 

XP Log ending:

 

Loading ASI E:\Games\GTA IV\Grand Theft Auto IV\FileCheckFix.asiASI loaded : E:\Games\GTA IV\Grand Theft Auto IV\FileCheckFix.asi, Address 0x03110000

 

 

Vista Log ending:

 

Loading ASI G:\Games\Grand Theft Auto IV\FileCheckFix.asi

 

 

so game is crashing on my library code execution , it's not memory offset problems

Link to comment
Share on other sites

interesting... thought it might be a memory offset problem.

so is this fixbale? I mean are youb able to change your library code?

Link to comment
Share on other sites

it's not memory offset problems

I wasn't implying that, I only mentioned them in relation with the game version (for future reference). It has no bearing now as there is only one version of the game.

Link to comment
Share on other sites

 

I no use any mod files & asi files , just use asi loder , still crash ~ confused.gif

my bad~ blush.gif

is FileCheckFix.asi made game crash sad.gif

loader is workink fine

Link to comment
Share on other sites

Alexander Blade

try to replace binkhooked.dll with the original binkw32.dll and rename it to binkhooked.dll

Link to comment
Share on other sites

try to replace binkhooked.dll with the original binkw32.dll and rename it to binkhooked.dll

The problem is "FileCheckFix.asi" mad.gif

Link to comment
Share on other sites

try to replace binkhooked.dll with the original binkw32.dll and rename it to binkhooked.dll

I tried your loader and the filecheckfix on XP SP3 and it crasher after a few minutes. In details it says that the crahs happened in the xlive.dll (?).

 

I'll try what you suggested here.

Link to comment
Share on other sites

Alexander Blade

fixed smile.gif i'll try to upload when i'll be at home

there are more trobles with memory patching

1) game is checking its code and if there are any mismatches with the original its crashing (securom stuff or what ?!) , so we must restore original bytes after patched bytes execution (im doing this in fixed version of FileCheckFix.asi)

2) game is crashing with debugger somewhere in the VILE LIVE dll code

 

so ... all trobles are in LIVE

Link to comment
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
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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