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

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. 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. News

    2. Forum Support

    3. Site Suggestions

Alexander Blade

[REL|IV] Asi loader

Recommended Posts

mr.Dageron

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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
mkey82

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.

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
Alexander Blade

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

Share this post


Link to post
Share on other sites
Alexander Blade

Ok , vista bug fixed , reload it

 

thx to listener

Share this post


Link to post
Share on other sites
mystra007

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

Share this post


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

Share this post


Link to post
Share on other sites
adhome

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

Share this post


Link to post
Share on other sites
JKM

 

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

Share this post


Link to post
Share on other sites
kbps

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

Share this post


Link to post
Share on other sites
kbps

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

Share this post


Link to post
Share on other sites
cuvip

when you disabling shadow, do it increase FPS?

Share this post


Link to post
Share on other sites
kbps

 

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

Share this post


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

Share this post


Link to post
Share on other sites
cuvip

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

Share this post


Link to post
Share on other sites
kbps

 

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

use

**UPDATED**

flags=00010001100110000011100110101111

 

 

Edited by kbps

Share this post


Link to post
Share on other sites
fedora

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

Share this post


Link to post
Share on other sites
FunGt

Every flag I use don't change anything to me, does it work with IV 1.0?

Share this post


Link to post
Share on other sites
Indi

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

Share this post


Link to post
Share on other sites
the hubster
Every flag I use don't change anything to me, does it work with IV 1.0?

No, you need the patch.

 

Share this post


Link to post
Share on other sites
kakarot_9

Thanks for this Alex. smile.gif

 

Also I disabled the shadows with the Flag but it didn't affect performance, same fps.

Share this post


Link to post
Share on other sites
Gforce

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

Share this post


Link to post
Share on other sites
Indi
this works fully on Vista with all of the asi files linked throughout the topic, i just installed the "no peds or traffic" mod.

Link blush.gif

Share this post


Link to post
Share on other sites
FunGt

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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