;---------------------------------------------------
;
; Improved Streaming by Junior_Djjr - MixMods.com.br
;
;---------------------------------------------------
; General settings
; Tip: Hold SHIFT before the game starts to bypass this mod.
;---------------------------------------------------
[Settings]
; Forces this streaming memory limit (the limit of memory used to store loaded files in RAM, like vehicles, world etc).
; In MB; the default is 50. The game supports up to 2048 (2GB) but this mod uses up to 2000 for a margin to load other things (like the menu). Don't use 2000 (or close) without having "largeaddress" installed.
; You can find more information in the MixSets' .ini, but in short you should set this number to the minimum necessary, with margin. Need more if you use HD texture mods etc.
; It's exactly the same as MixSets and other mods do. MixSets v4.0 Final 5 or newer required, otherwise the MixSets value will be used.
; It's here for convenience as normally having this mod installed you will need to use a higher limit than normal so you might want to set a different number here.
; NEW: In some cases, if necessary, this mod will automatically increase this value for you, but it is recommended that you set it. It does NOT decrease (if set higher in MixSets or other).
StreamMemoryForced = 256
; Preloads all LODs (low definition objects seen from afar).
; This fixes holes in the map caused by delay in loading models.
PreLoadLODs = 1
; Preload all animations (.ifp files).
; Not so useful for a normal game, but it can be useful for SAMP.
PreLoadAnims = 1
; If the streaming memory usage exceeds this percentage, the mod will start to gradually flush unused models to free up memory.
; Originally the game only removes when it reaches the limit (which increases the work of streaming, delaying and causing stuttering), this function prevents the limit from being reached.
RemoveUnusedWhenPercent = 80
; Delay time to unload each unused model when reaching "RemoveUnusedWhenPercent".
; In case the memory usage is close to the limit, the mod will automatically halve the delay.
; You can use "0" to unload every frame, but this can also increase streaming work.
RemoveUnusedIntervalMs = 60
; 1 = Lists in the .log file all models being loaded. It will delay the game loading. Use it if you think a model is crashing when loading it, preferably with "LoadEach = 1" in the ranges below.
; 0 = Small .log file with little information (such as warnings).
; -1 = Does not generate .log.
LogMode = 0
;---------------------------------------------------
; Preload Ranges
; Preloads some models so don't need to load during game play. Increases RAM usage but decreases disk usage and file streaming work.
; Feel free to configure or disable them to your liking and need, or create more of them.
;---------------------------------------------------
;--- Descriptions:
; - Enabled
; Enables/disables loading this range.
; - LoadEach
; Load the files every quantity. Using 0 or 1 may delay the game's loading a bit. Something between 10 and 50 is good.
; - KeepLoaded
; Force it to keep loaded forever, so for example not being unloaded with "RemoveUnusedWhenPercent" etc.
; - Start
; ID of the initial model to be loaded. You can find the definition of IDs in your game's .ide files.
; - End
; ID of the final model to be loaded.
; - IfBiggerThan
; Only load if the model is BIGGER than this amount of KB. Use 0 to disable. Anything over 1000 will only load files larger than 1MB (typically HD mods).
; - IfSmallerThan
; Only load if the model is SMALLER than this amount of KB. Use 0 to disable. Anything below 6 will only load LODs and light models. Detail that the necessary .txd are loaded together with the .dff.
; - IgnorePedGroup
; For pedestrians. Skips loading the model if it is from this pedgroup number. Useful for ignoring drug dealers (pedgroup 29) as the game always creates the latest loaded vendor model. Keep 0 for non-pedestrian model ranges.
;---
;---------------------------------------------------
; Map
; EXPERIMENTAL: May cause problems.
; CAUTION! This is where practically all your game files are set.
; It is recommended to set "IfSmallerThan" or "IfBiggerThan", otherwise in vanilla game without mods you will need at least 1024 streaming memory, and if you use large file mods like RoSA, even 2048 may not be enough.
; With "IfSmallerThan=6" in vanilla game you will need at least 512 MB.
; It may delay game loading. You might want to disable it with "Enabled=0".
[Range1]
Enabled = 1
LoadEach = 50
KeepLoaded = 1
Start = 2900
End = 20000
IgnoreStart = 0 ; Start to ignore some interior objects
IgnoreEnd = 0 ; End to ignore interior objects
IfBiggerThan = 0
IfSmallerThan = 6
IgnorePedGroup = 0
; Vehicles
; ATTENTION: You need some limit adjuster, like the Open Limit Adjuster, to increase the Vehicle Structs limit.
; WARNING: Currently causing issues with not appearing vehicles in certain areas, "Streaming_DesiredNumberOfVehiclesLoaded" from f92la currently improves but does not fully resolve. Only activate if there is a solution.
; Tip: If you have some heavy cars mods that are lag-spiking during gameplay, you might want to load those cars by setting the IfBiggerThan to something like "IfBiggerThan = 20000".
[Range2]
Enabled = 1
LoadEach = 10
KeepLoaded = 1
Start = 400
End = 614
IgnoreStart = 0
IgnoreEnd = 0
IfBiggerThan = 0
IfSmallerThan = 0
IgnorePedGroup = 0
; Pedestrians
[Range3]
Enabled = 1
LoadEach = 10
KeepLoaded = 1
Start = 1
End = 399
IgnoreStart = 0
IgnoreEnd = 0
IfBiggerThan = 0
IfSmallerThan = 0
IgnorePedGroup = 0 ; Ignore drug dealers (29) as the game always creates the last loaded.
; Vegetation.
; There are others in other IDs, but here it covers almost all of them.
[Range4]
Enabled = 1
LoadEach = 10
KeepLoaded = 1
Start = 615
End = 799
IgnoreStart = 0
IgnoreEnd = 0
IfBiggerThan = 0
IfSmallerThan = 0
IgnorePedGroup = 0
; Procedural objects
; Some plants, stones, etc.
[Range5]
Enabled = 1
LoadEach = 10
KeepLoaded = 1
Start = 800
End = 1206
IgnoreStart = 0
IgnoreEnd = 0
IfBiggerThan = 0
IfSmallerThan = 0
IgnorePedGroup = 0
; Prop objects
; Dumpsters, poles, etc.
[Range6]
Enabled = 1
LoadEach = 10
KeepLoaded = 1
Start = 1207
End = 2899
IgnoreStart = 0
IgnoreEnd = 0
IfBiggerThan = 0
IfSmallerThan = 0
IgnorePedGroup = 0