Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Alexander Blade

[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

Share this post


Link to post
Share on other sites
SLAYERMAGGOT

Wow, nice work! biggrin.gif

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

Share this post


Link to post
Share on other sites
the hubster

 

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

Share this post


Link to post
Share on other sites
steveb07

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

Share this post


Link to post
Share on other sites
evilrex

inlove.gif

 

cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
FunGt

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.

Share this post


Link to post
Share on other sites
evilrex

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

This works on the retail version, right?

Share this post


Link to post
Share on other sites
mkey82
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?

Share this post


Link to post
Share on other sites
Alexander Blade

no, it's not

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

Share this post


Link to post
Share on other sites
JKM

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

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

i hate vista^^

Share this post


Link to post
Share on other sites
evilrex

Vista causes the problems? Makes sense I guess. Theres probably a fix, any ideas?

Share this post


Link to post
Share on other sites
JKM

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

Share this post


Link to post
Share on other sites
coin-god

Great to see this. I can't wait till getting IV to play it and try this out.

Share this post


Link to post
Share on other sites
L0uNGeR

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

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

Share this post


Link to post
Share on other sites
Vicariously

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

Share this post


Link to post
Share on other sites
mkey82

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

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites
L0uNGeR

BTW, My crashing happens on XP x64 SP2

Share this post


Link to post
Share on other sites
mkey82

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
steveb07

it also crashes on XP...after 1-2 mins of gameplay

Share this post


Link to post
Share on other sites
JKM

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

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

Share this post


Link to post
Share on other sites
mkey82
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.

Share this post


Link to post
Share on other sites
jiahsuan

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

Share this post


Link to post
Share on other sites
jiahsuan

 

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

Share this post


Link to post
Share on other sites
Alexander Blade

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

Share this post


Link to post
Share on other sites
jiahsuan
try to replace binkhooked.dll with the original binkw32.dll and rename it to binkhooked.dll

The problem is "FileCheckFix.asi" mad.gif

Share this post


Link to post
Share on other sites
mkey82
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.

Share this post


Link to post
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

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

  • 3 Users Currently Viewing
    0 Members, 0 Anonymous, 3 Guests

×

Important Information

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