Quantcast

Jump to content

» «
Photo

[WIP|BETA]2x Object Draw Distance

288 replies to this topic
MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#1

Posted 17 April 2013 - 10:50 PM Edited by MeatSafeMurderer, 20 April 2013 - 07:55 PM.

2x Object Draw Distance

Special thanks to Sacky for SA Limit Adjuster Alpha 8.0, which made this possible, and NTAuthority for fixing SA Limit Adjuster Alpha 8.0's d3d9.dll loader.
Finally you...for downloading and using it, and providing feedback smile.gif

Very, very special thanks to everyone who helped, supported and contributed to this mod.


What it does:
This mod doubles the draw distance of most objects, including, but not limited to:
Trees
Lamposts
Traffic lights
Telephone poles
Signs
Fences
Obtainables

I have been unable to do very extensive testing as my GPU is dying and as a result really, really, really doesn't like this mod.
So I leave the extensive testing to you guys, let me know if you find glitches, flashing objects etc, and I'll try my best to fix em.

For the future:
Grass will have draw distance doubled
(Possibly) Corona star's to go with the further lampposts
Bugfix's

ENJOY wink.gif

2x Object Draw Distance

BSOR Compatibility patch, simply install the original then the patch over it smile.gif

BSOR Compatablity Patch.rar

Flicker fix test by ThirteenAG

Screenies
user posted image
user posted image

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#2

Posted 17 April 2013 - 10:58 PM Edited by methodunderg, 17 April 2013 - 11:01 PM.

Can you make the data files compatible with BSOR too? icon14.gif

Here's a couple of other 'Draw Distance' mods too ..

SA:Traffic by ThirteenAG - Peds/Vehicles spawn from further away. Fixes LOD vehicles too, and increases density.

Render.cs by Skript47 - Loads the map first, and then places the player on the map.

HPro
  • HPro

    Time to be a Ghost

  • BUSTED!
  • Joined: 20 Nov 2012

#3

Posted 17 April 2013 - 10:59 PM

QUOTE (methodunderg @ Wednesday, Apr 17 2013, 22:58)
Can you make the data files compatible with BSOR too? icon14.gif

+1

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#4

Posted 17 April 2013 - 11:03 PM

QUOTE (HPro @ Wednesday, Apr 17 2013, 22:59)
QUOTE (methodunderg @ Wednesday, Apr 17 2013, 22:58)
Can you make the data files compatible with BSOR too?  icon14.gif

+1

Might want to check to see if there is a difference between the BSOR Classic, and BSOR American Dream data files too. I'm not @ my home PC to check myself.

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#5

Posted 17 April 2013 - 11:07 PM Edited by MeatSafeMurderer, 17 April 2013 - 11:55 PM.

Skript47's Map loader unfortunately won't fix map flickering caused by this mod, that has to be done by tweaking object draw distances in the IDE files so that not too much is on screen at any one time.

One BSOR Compatibility patch, simply install the original then the patch over it smile.gif
It will work for both American Dream and Classic
It may not work well as BSOR has more polygons than the original objects, if you run into problems let me know.

BSOR Compatablity Patch.rar

VERSA
  • VERSA

    Flying Ped in Space

  • Members
  • Joined: 01 Aug 2012
  • None

#6

Posted 17 April 2013 - 11:33 PM

First 2 minutes with this mod was fine, but later map and objects starts to disappear sometimes when rotating camera.

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#7

Posted 17 April 2013 - 11:46 PM Edited by MeatSafeMurderer, 18 April 2013 - 12:17 AM.

Roughly where were you when this started?
Did it happen when you looked at anything in particular, like a group of trees?
If you moved away did it stop?
Do you have loads of car/map mods? (that might affect it)

Just thought, are you by chance using a Increased draw distance timecyc.dat?
It didn't seem to mix very well with one

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#8

Posted 18 April 2013 - 12:02 AM

Great work. Interesting. Will test this. icon14.gif We can increase the DD value in SALA if we want for example, 3x or more draw distance?

@Sooner - Install MemFix.cs or treammemFix.asi icon14.gif

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#9

Posted 18 April 2013 - 12:11 AM Edited by MeatSafeMurderer, 18 April 2013 - 12:19 AM.

Yes, but you must also increase the draw distance on objects in the IDE files otherwise nothing will change, SALA is just adjusting the limit of the draw distance, not the draw distance itself, there is also still a little room to grow in the DD value of 1000, however, glitches will happen.
Originally the mod was going to be much more radical, but I had to scale it back due to map errors that even StreamMemFix couldn't fix

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#10

Posted 18 April 2013 - 12:20 AM Edited by methodunderg, 18 April 2013 - 12:25 AM.

Did render.cs help @ all ?

Or you might be breaching an ide/ipl limit by having too many objects on the screen @ once ..

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#11

Posted 18 April 2013 - 12:26 AM

Not that I noticed, although I was loading from an interior location, but still...
It may help for 10x timecyc.dat but not this it seems, this also doesn't seem to like higher draw distance timecycles, which is why it's not packaged with one sad.gif
I'll have to look into that, one thing I did notice with this, is when looking certain directions the windows of my car would disappear, but no map flickering as of yet

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#12

Posted 18 April 2013 - 12:56 AM

God damn, this looks great! inlove.gif Very nice work! cookie.gif cookie.gif

user posted image user posted image

Shame that it flickers though. confused.gif

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#13

Posted 18 April 2013 - 01:01 AM

You too are getting flickering? dang, can you try an original timecyc.dat and see if it has the same problem for me?

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#14

Posted 18 April 2013 - 01:12 AM Edited by JF-Mir2, 18 April 2013 - 01:16 AM.

A bit of flickering, but not that much unlike with the old timecyc. icon14.gif Flickering is barely noticeable with original. (or maybe it's cause of BSOR data files) Hence, flickering is not present anymore.

Original timecyc + methodunderg's SweetFX and ENB setts

user posted image

Damn, it looks great! inlove.gif

NothingSpecial
  • NothingSpecial

    2spooky4me

  • Members
  • Joined: 22 Nov 2009
  • Indonesia

#15

Posted 18 April 2013 - 01:19 AM

In case of flickering map, try GTA SA Stream Memory Fix.

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#16

Posted 18 April 2013 - 01:23 AM

No .. that doesn't solve the flickering. It only fixes disappearings in the map. 'Flickering' is different from 'Disappearing'.

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#17

Posted 18 April 2013 - 01:42 AM

Flickering? As in this example video? (I get this bug too when using PO)



Not my video btw..

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#18

Posted 18 April 2013 - 01:50 AM

Bingo, thats the one tounge.gif

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#19

Posted 18 April 2013 - 01:54 AM

Yes, like that. But flickering happens mostly 'above' or when flying for me.

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#20

Posted 18 April 2013 - 01:59 AM Edited by MeatSafeMurderer, 18 April 2013 - 02:11 AM.

What may have to happen is some inconsequential objects will have their original draw distances returned (like that bottle of lotion on the beach, what bottle of lotion? you say...exactly) to allow for more noticeable objects to remain improved.
Just went in the air with a jet pack and noticed small amounts of flickering, even with out any other mods confused.gif
You could try bumping the streaming memory up to say 1024, see if it makes any difference.

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#21

Posted 18 April 2013 - 02:13 AM

Fastman92 has already proved that you can't go that high with streaming memory.

I still think it has something to do with the number of objects etc that you have on screen. icon14.gif Maybe other limits in SALA need to be adjusted?

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#22

Posted 18 April 2013 - 02:19 AM Edited by MeatSafeMurderer, 18 April 2013 - 10:53 AM.

It doesn't matter anyway, it behaves exactly the same without any stream memory fixes at all
There are none that relate to this, from what I can see, but then we all spent ages wondering what LOD distance did tounge.gif
I remember reading a while ago that someone reckoned that this happened because the game reaches it's object limit, so it culls some, but then it has room for some, so it brings them back, runs out, culls, space, they return etc

damiann69
  • damiann69

    He he

  • Members
  • Joined: 01 Feb 2011
  • Poland

#23

Posted 18 April 2013 - 11:50 AM

I also have some flickering when I'm flaying. On the ground it looks very good and with BSOR installed only, doesn't affect performance.

Nori Yaro
  • Nori Yaro

    .

  • BUSTED!
  • Joined: 08 Aug 2012

#24

Posted 18 April 2013 - 05:03 PM

Is this stable?


Putting SALA in your SA is like putting virus in your pc, and I seem to have the most un stable gta.

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#25

Posted 18 April 2013 - 05:07 PM

SALA doesn't have any particularly unstable variables changed
It's ok as long as you stay on the ground, but if you fly, as people have said, the map flickers.

SA must be at the very bleeding edge of it's limits, just tried 1.5x on just the trees with a stock timecyc, same flickering problem, we need to get around that, until then there is very little that can be done unfortunatley

nWo51289
  • nWo51289

    Outcast

  • Feroci Racing
  • Joined: 26 Apr 2008
  • None

#26

Posted 19 April 2013 - 10:51 AM Edited by nWo51289, 19 April 2013 - 10:54 AM.

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

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


CODE
// 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

aStiffSausage
  • aStiffSausage

    Formerly Oksu

  • Members
  • Joined: 30 Sep 2010
  • Finland

#27

Posted 19 April 2013 - 11:07 AM Edited by oksa8, 19 April 2013 - 11:17 AM.

@nWo51289

Just a small mistake, try with this code. smile.gif

CODE
{$CLEO .cs}

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


Didn't notice flickering, though it still gives a bit of lag when watching down. Not a big problem though as flickering seems to be vanished. Good find! smile.gif

EDIT: For people who don't know how to compile, here's the script: Link.
I hope you can tell if there's something wrong with the script, causing crash or anything. And can't promise anything about CLEO 3 compatibility, haven't got time in my hands right now to think about it.

Methical
  • Methical

    ★★★★★

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#28

Posted 19 April 2013 - 11:17 AM

No flicker from me ! Tested for a few minutes flying about LS .. tounge2.gif

@MeatSafeMurderer
Might be time to extend the '2x' wink.gif

MeatSafeMurderer
  • MeatSafeMurderer

    Avoiding GTA Online at all costs until the grand payout rebuffs.

  • Members
  • Joined: 29 Mar 2012
  • None

#29

Posted 19 April 2013 - 11:24 AM

Just about to test this, if it works the you guys are legends, who just saved a project, thank you smile.gif

Ηeath
  • Ηeath

    Just Do It.

  • Members
  • Joined: 08 Feb 2011

#30

Posted 19 April 2013 - 11:27 AM

Sweet! Thanks for the fix. notify.gif cookie.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users