Jump to content

[REL|IV] Asi loader


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
  • Like 9
Link to comment
https://gtaforums.com/topic/380830-reliv-asi-loader/
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058721953
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058726896
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058729615
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058731548
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058732715
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058736037
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058736329
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058764159
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
https://gtaforums.com/topic/380830-reliv-asi-loader/#findComment-1058770350
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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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