Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,004 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

MeatSafeMurderer

[WIP|BETA]2x Object Draw Distance

Recommended Posts

MeatSafeMurderer

Loading from an interior location there's no change, maybe if I make it constantly patch the bytes? confused.gif

user posted image

 

On the upside I think I managed to fix my GPU lockups biggrin.gif

Share this post


Link to post
Share on other sites
Stryfaar

Weird .. you get flickering on the map, map rarely flickers for me. Trees are rather the ones flickering.

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Were you guys using a standard or 2x timecyc?

Share this post


Link to post
Share on other sites
Gramps

I don't get that bug MeatSafeMurderer .. i do get 'holes' in the map @ far distances .. (but then then parts of the map load further than the holes .. ) dozingoff.gif

 

I use this timecyc .. Download

Edited by methodunderg

Share this post


Link to post
Share on other sites
MeatSafeMurderer

It's just over 3x, no matter what I do it flickers confused.gif

It's particularly bad looking at the buildings on the west side of glen park from certain distances sad.gif

 

For some reason for me decompiling changes it from

 

0A8C: write_memory 0x05B8E55 size 4 value 30000 virtual_protect 1

0A8C: write_memory 0x05B8EB0 size 4 value 30000 virtual_protect 1

0A93: end_custom_thread

to

 

0A8C: write_memory 6000213 size 4 value 30000 virtual_protect 1

0A8C: write_memory 6000304 size 4 value 30000 virtual_protect 1

0A93: end_custom_thread

why is it changing from hex to decimal?

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
Gramps

- I shouldn't comment on things to do with decompiling CLEO -

 

I have this bug with my game (don't think its related to this mod though, but someone still might be able to help)

 

user posted image

 

I uploaded my timecyc a few posts above ^^ Does anyone else experience this, or have experienced this?

I'm not using LOD mod; only map files that have been changed are from this mod, and from BSOR (but I use 2xODD compatible files)

Edited by methodunderg

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Holes just happen with an increased draw distance, also alot of trees are missing from the left hand side, on the hill confused.gif

 

Come to think of it, those LOD textures look mighty close too

Share this post


Link to post
Share on other sites
nWo51289

@oksa8 - *Facepalm! Thanks for fixing the mistake!

 

While I haven't noticed any buildings flickering. If I look slightly down using a jetpack the vegetation will start flickering. But bear in mind I've set all of the palm trees lod to 1500 and the sala lod limit to 1600.

 

user posted image user posted image

Share this post


Link to post
Share on other sites
MeatSafeMurderer

well, it seems this fixed the object limit, which wasn't the problem at all then (before when I set objects that high flickering just happened constantly) we need a fix for looking slightly down, dangit

 

@nWo51289 Those palms are far out dude!

Oh and you may find palms will display even further if you set SALA to 2000+ (they're not proportional)

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
nWo51289

Should now be able to give the vegetation their own lods. Noticed if I try not to look towards the ground, there isn't any flickering with the palms. If I look down just once then they start flickering but will stop if I look at the sky for a moment.

 

First screen is BSOR (Palms lod >> 1500 / SALA lod 1600). Second screen (Palms lod >> 1500 / SALA lod 2400)

 

user posted image user posted image

Share this post


Link to post
Share on other sites
MeatSafeMurderer

There's now no need for limit adjuster, just add

 

0A8C: write_memory 8753112 size 3 value 1000 virtual_protect 1

 

to the previous fix, 1000 being the max LOD distance smile.gif

Bye bye slightly unstable limit adjuster, bye bye tounge.gif

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
KawakSallas

I getting a HUGE flickering in East Los Santos only

 

user posted image

user posted image

 

Also, when on jetpack, and looking down...

 

user posted image

Share this post


Link to post
Share on other sites
VERSA

KawakSallas, yep i got the same thing.

 

So far this mod is pretty unstable sad.gif

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Hope fully the flickering can be fixed soon.

I have updated the link in the first post to with a version that uses cleo instead of limit adjuster, and also include's nWo51289's and oksa8's fix, it works for some but not for others.

No readme at the moment, but, eh, what you gonna do smile.gif

Share this post


Link to post
Share on other sites
KawakSallas

I'm downloading the new one, let's see...

 

EDIT - The flickering is reduced, but still present.

Edited by KawakSallas

Share this post


Link to post
Share on other sites
Stryfaar
So far this mod is pretty unstable sad.gif

Not as unstable as Project Oblivion, no? tounge.gif

 

White bug when looking down happens when you have big mods installed, such as SRT3. Bug was known long ago, fix can be found here. Compile it yourself.

 

However, a fix for the flickering issue is still to be found. Maybe try this CLEO script oksa8 compiled found on the previous page?

 

Share this post


Link to post
Share on other sites
MeatSafeMurderer

It helps, but I fear there is more to it than that. The flickering still happens, it's just greatly reduced.

Share this post


Link to post
Share on other sites
KawakSallas

The ''looking down'' bug is not a big deal, I can live with it.

 

The main problem is the flickering. It is curious that only occurs in East Los Santos.

 

 

Maybe the problem is on the LAxref.ide file? (Just guessing, I don't understand nothing about this modding thing)

Share this post


Link to post
Share on other sites
MeatSafeMurderer

In a sense it's a combination of that and the modified files in data\maps\generic\ yes, but without those there is absolutely no difference, and in essence, no mod.

The key is not to reverse what has been done, but to find out why the mod causes the flickering, and stop it.

Share this post


Link to post
Share on other sites
Stryfaar

No .. problem is with the game engine itself. Renderware is just too old for these, or rather too 'buggy'? Hopefully, someone would fix it someday.

Share this post


Link to post
Share on other sites
MeatSafeMurderer

EDIT: Scratch that, my ingame draw distance was decreased for some reason

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
KawakSallas

Wich file I need to edit? And how I edit?

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Sadly (for me atleast) that fix is nothing more than a placebo effect, I removed it and compared screenshots, and it seems it does little to nothing, maybe thats not the limit thats being breached confused.gif

Share this post


Link to post
Share on other sites
BLlTZ

Like I said. If it doesn't have lod support you can't do anything about this. For Vice City there is a Limit Adjuster tool that I used for VC Lod Mod, the single one that has streaming support for normal objects, and even by using the maximum allowed of streaming for these objects, my trees still have problems for distance appearing. I can't see those that are on the other islands, but not just this, on some other specific locations across the map, they disappear and appear [flickers].

 

Have you tried at least to focus only on trees and let lampost and others unchanged ?

 

Basic, this is the Renderware engine issue, coming way back from VC/III.

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Yes, trees are the big problem, lamposts and traffic lights cause flickering a little on their own, but trees...oh don't don't get me started on the trees.

Surely if there is an issue, bug or limitation, these can be solved, fixed, or bypassed. Just giving up and saying "it's happening, it's always happened, and always will happen" is not the right attitude to have when tackling a problem, if everyone thought like that then nothing would ever be solved.

For that reason I won't give up so easily!

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
fastman92
The guys at MTA SA seemed to have fixed the problem with the flickering. As I am a noob with Cleo inputting the code below crashes SA, so maybe someone who knows what they are doing might want to look into this. Image

 

MTA-SA Bugs MTA-SA Blue

 

 

 // Increase streaming object instances list sizeMemPut < WORD > ( 0x05B8E55, 30000 );         // Default is 12000MemPut < WORD > ( 0x05B8EB0, 30000 );         // Default is 12000

 

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------0A8C: write_memory 0x05B8E55 size 4 value 30000 virtual_protect 0 0A8C: write_memory 0x05B8EB0 size 4 value 30000 virtual_protect 0 0A93: end_custom_thread

 

Very wrong.

WORD on x86-x64 architecture consists of 2 bytes.

WORD on MIPS architecture consists of 4 bytes.

 

Unfortunately I can't test a code at the moment. When hacking the game limits most of the time only the knowledge is limitation, nothing else.

Share this post


Link to post
Share on other sites
MeatSafeMurderer

Even when setting size to two bytes it does zilch, not even for just a 2x timecyc, not sure why confused.gif

 

EDIT: I did a test, with both 2 and 4 bytes, setting the value to 300, which should have caused real problems, objects flickering left right and center......but nothing, no change...at all...

I don't know what those addresses do, but I'm pretty sure they don't do what the guys over at MTA think they do...

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
vans123

You are asking for impossible things in RENDERWARE, GTA san andreas has lods for something and is becouse HD models cant rendered after 199m distance, 200 means lod will appear

if you find a way to make the game render anything around you at 199m in HD model, and after that to render LOD adresses from their respective IDE file, you will fix the disappearing bug

 

this way the script needs to refresh the players position constantly to determine where the player is and from that location to measure 199m around it and render HD models, everything else as a lod and so on

i believe SA has no tree lods, so you will get flickering on those and other objects without LODs, like trashcans and containers

Share this post


Link to post
Share on other sites
Gramps

Maybe if the script had a loop, that was based on the condition if player is alive; with a wait command also ?

Share this post


Link to post
Share on other sites
VERSA

Is it possible to make lods for other trees, such as spruces lods at least?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

Important Information

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