Jump to content

[REL|IV] Asi loader


Alexander Blade

Recommended Posts

.XTD - XENON TEXTURE DICTIONARY (used on Xbox360)

.WTD - WINDOWS TEXTURE DICTIONRY (used on PC)

 

In public version of OpenIV it will be only a function of PC formats opening&editing.

user posted image
Link to comment
Share on other sites

.XTD - XENON TEXTURE DICTIONARY (used on Xbox360)

.WTD - WINDOWS TEXTURE DICTIONRY (used on PC)

 

In public version of OpenIV it will be only a function of PC formats opening&editing.

ah, my mistaken

 

xtd used on Xbox360...

Link to comment
Share on other sites

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

I tried patching it manually, but it threw me an WS10 (or something) fatal error. I don't think it has anything to do with Securom, maybe live does it to prevent cheating while in multiplayer?

Link to comment
Share on other sites

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

I tried patching it manually, but it threw me an WS10 (or something) fatal error. I don't think it has anything to do with Securom, maybe live does it to prevent cheating while in multiplayer?

Games For Windows (xlive.dll) validates itself and the running game process against their catalog files (xlive.dll.CAT, GTAIV.exe.CAT).

 

If either file is modified, xlive will fail to initialize and you will get the WS10 error.

 

Nearly all API functions provided by GFW that GTAIV calls will cause xlive to 'validate' the caller function (XLivepVerifyAddress) the CAT as well, so if it is modified it will crash instantly (or fail).

 

xlive also creates a watcher thread that monitors the GTAIV process for modifications, which throws an exception / error if modified code is detected. This crash however, does not interrupt gameplay (you can leave the crash dialog open and the game will continue operating, but there is a possibility of xlive API function calls failing further down the line).

Link to comment
Share on other sites

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

I tried patching it manually, but it threw me an WS10 (or something) fatal error. I don't think it has anything to do with Securom, maybe live does it to prevent cheating while in multiplayer?

Nah, Securom stops f*ck all editing from happening online.

Unless it triggers or uses the paklist file for a check itself maybe.

Link to comment
Share on other sites

Alexander Blade

UPDATE : new version of FileCheckDisabler - crash bug fixed , added support of gtaiv.exe v1.0.1 (don't tested with 1.0 - i don't wanna reinstall the game)

 

 

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

I tried patching it manually, but it threw me an WS10 (or something) fatal error. I don't think it has anything to do with Securom, maybe live does it to prevent cheating while in multiplayer?

Games For Windows (xlive.dll) validates itself and the running game process against their catalog files (xlive.dll.CAT, GTAIV.exe.CAT).

 

If either file is modified, xlive will fail to initialize and you will get the WS10 error.

 

Nearly all API functions provided by GFW that GTAIV calls will cause xlive to 'validate' the caller function (XLivepVerifyAddress) the CAT as well, so if it is modified it will crash instantly (or fail).

 

xlive also creates a watcher thread that monitors the GTAIV process for modifications, which throws an exception / error if modified code is detected. This crash however, does not interrupt gameplay (you can leave the crash dialog open and the game will continue operating, but there is a possibility of xlive API function calls failing further down the line).

ok , thx a lot

Edited by Alexander Blade
Link to comment
Share on other sites

Well done, Alexandre.

 

Can we create catalog files? I mean, create a new catalog file after some modifications. Even though knowing MS, they are encrypted in some freaky fashion.

Link to comment
Share on other sites

Well done, Alexandre.

 

Can we create catalog files? I mean, create a new catalog file after some modifications. Even though knowing MS, they are encrypted in some freaky fashion.

I havn't looked into what encryption scheme the catalog files are encrypted with but I'd wager it's one with a private+public key.

Link to comment
Share on other sites

Well done, Alexandre.

 

Can we create catalog files? I mean, create a new catalog file after some modifications. Even though knowing MS, they are encrypted in some freaky fashion.

I havn't looked into what encryption scheme the catalog files are encrypted with but I'd wager it's one with a private+public key.

It's public+private key, digitally signed by M$ smile.gif

Link to comment
Share on other sites

Alexander Blade

so ... anyone tryed to use new one with vista ? maybe it works with a new method

Link to comment
Share on other sites

Alexander Blade

Ok , vista bug fixed , reload it

 

thx to listener

Link to comment
Share on other sites

And here I was thinking I could disable shadows by eliminating the CALL at 009BACFA. Since the game is signed with that MS Live thing I guess it's impossible...

Link to comment
Share on other sites

Alexander Blade

it's only native function registration , in that function must be 32bits flags with shadows flag too

 

//Script native rigistrationpush func_offsetpush func_namecall RegisterNative

 

 

 

here is the test version of that render/shadow/wtf? flag editor

http://alexander.sannybuilder.com/Files/st...erFlagsTest.rar

there are 32 bit flags (19 is shadow flag from EnableShadows native)

flag reads from flag.ini every second so u would not to restart game after flag changing

this flag contents of many stuff so maybe some its value may add fps at low PCs

 

i have athlon 5200 , 2 gb ddr2 , 9600 gt 512 - with default flags (1x32) benchmark fps is - 20~27 , with changed flags ("flags" param in flag.ini) fps is 37-45

 

try to test every flag plz

Edited by Alexander Blade
Link to comment
Share on other sites

Tried the Flags. Perhaps only disabling realtime shadows will be complicated. It's look as, that not the shadows will be drawn, the light is drawn. So disabling RT shadows will need to switch off the light. No sun );

user posted image

user posted image

 

In the shadow of the NPC (me ^^) the texture is as dark as in no light picture.

Edited by adhome
Link to comment
Share on other sites

 

so ... anyone tryed to use new one with vista ? maybe it works with a new method

works great now smile.gif

No more crashes and finally i can start modding^^ (i dont like the filelist patcher... dont know why^^)

 

here some cookies cookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Link to comment
Share on other sites

here is the test version of that render/shadow/wtf? flag editor

http://alexander.sannybuilder.com/Files/st...erFlagsTest.rar

there are 32 bit flags (19 is shadow flag from EnableShadows native)

flag reads from flag.ini every second so u would not to restart game after flag changing

this flag contents of many stuff so maybe some its value may add fps at low PCs

 

 

try to test every flag plz

super! I going to try this just right now!

 

и большое спасибо, что работаешь над этим smile.gif

Link to comment
Share on other sites

flags=11111110111111111111111111111111

make's Niko INVISIBLE biggrin.gif holy crap - I am Invisible man now! biggrin.gif

 

 

flags=11111111111111111101111111111111

disables all shadows (or it is now ONE BIG SHADOW Everywhere? biggrin.gif)

it's kinda eclipse smile.gif) look

user posted image

 

 

flags=11111111111111111110111111111111

overlight !!! where is my sunglasses ? biggrin.gif

user posted image

 

 

flags=11111111111111111111111111011111

disables the sky - all sky is now Black!

 

 

flags=11111111111111111111111111111011

disables the traffic light, lamppost, mailboxes, etc.

user posted image

 

 

flags=11111111111111111111111111111101

hahaha! invisible cars! biggrin.gif

user posted image

 

flags=11111111111111111111111111111110

all peoples are invisible (including Niko)

 

flags=11111111111101111111111111111111

disables ARROW v (missions/houses trigger) (better don't use it smile.gif)

 

flags=11111111111111111111111011111111

disables distance drawing, see screenshot

disabled [0] user posted image

enabled [1] user posted image

it's increase FPS !

 

 

flags=11111111111111111111111101111111

decreases textures quality? trees?

just look screenshots

disabled [0] user posted image

enabled [1] user posted image

 

 

flags=11111111111111111111011111111111

disables the TV

 

flags=11111111011111111111111111111111

disables doors (don't use it)

 

flags=11101111111111111111111111111111

disables some things inside (don't use it)

 

flags=11111111111011111111111111111111

disables bullet holes (I prefer don't disable 'em)

 

flags=11111111111111111111111111110111

disables gunfire effects, bullet shells/trace (prefer to don't disable it too)

 

======= and total =======

for good gameplay (disables don't know what, but probably runs faster)

flags=00010001100110000011100110101111

 

the same, without distant drawing (more FPS)

flags=00010001100110000011100010101111

 

Edited by kbps
Link to comment
Share on other sites

 

flag reads from flag.ini every second so u would not to restart game after flag changing

author, can you please change every second to 5 seconds, or better add additional parameter to flags.ini to stop flag reads every time I change it? (It's needed to decrease CPU load smile.gif)

Edited by kbps
Link to comment
Share on other sites

when you disabling shadow, do it increase FPS?

no, I don't think so confused.gif

I guess we need other way to disable shadows and deferred lighting...

Link to comment
Share on other sites

kkbps, have a question, why when i use the disable draw distance, everything is missing texture?

Link to comment
Share on other sites

 

kkbps, have a question, why when i use the disable draw distance, everything is missing texture?

use

**UPDATED**

flags=00010001100110000011100110101111

 

 

Edited by kbps
Link to comment
Share on other sites

Amazing job Alexander, this loader works perfectly even with patched game.

 

Just tried flags myself and tested to see FPS improvements.

See for yourself

 

user posted imageuser posted imageuser posted image

 

NICE JOB R*

 

ZERO FPS gain with all the stuff off. icon13.gif

Link to comment
Share on other sites

well done once again Alexander.

 

this works fully on Vista with all of the asi files linked throughout the topic, i just installed the "no peds or traffic" mod and it worked flawlessly.

 

of all the modding methods posted, this is the only one that i could get to work properly.

 

many thanks for your great work, i can finally start modding IV and have a game that runs cool.gif

 

Edit:

 

P.S. maybe you could put the links to your test files that are throughout the topic into your first post,

Edited by Gforce
Link to comment
Share on other sites

Now with the patch it works good. tounge.gif

kbps, thanks for your post, the "overlight" increase the FPS a lot! But everything is too much white lol.

 

@indi: Mod

Link to comment
Share on other sites

What is this used for? Can someone explain and how to use it?

would it take one of you people a few mins to answer a vaild question? i think not.

Link to comment
Share on other sites

 

What is this used for?  Can someone explain and how to use it?

would it take one of you people a few mins to answer a vaild question? i think not.

it allows us to mod the game by bypassing the filecheck security, along with a whole host of other little mods that use coded files for the game using the asi system.

allowing us to make mods like this amongst other things wink.gif

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