I'm wondering what is the stream.ini file for in Grand Theft Auto: San Andreas
Also there are the following parameters in the file.

memory      13500
devkit_memory   13500
vehicles    12
pe_lightchangerate  0.0005
pe_lightingbasecap  0.35
pe_lightingbasemult 0.5
pe_leftx    16
pe_topy     16
pe_rightx   16
pe_bottomy  16

What are these for?

  • Change it and see what happens :D Turn vehicles up to 100 – eyeofthehawks Jun 6 '14 at 20:38
  • @eyeofthehawks do you know what will happen – Immortal Dude Jun 6 '14 at 20:39
  • No clue. But why not give it a try? Just put it back if it breaks something :D – eyeofthehawks Jun 6 '14 at 20:50
  • @eyeofthehawks i tried it no difference although changing memoru and devkit_memory from 13500 to 99999 reduced lag significantly – Immortal Dude Jun 6 '14 at 21:09


If you open stream.ini, you'll see a tag indicating how much memory is allocated to streaming content

I doubt you can achieve anything else than performance improvements by modifying the file. If you want to raise or remove some limits entirely, use Open Limit Adjuster mod. Variables:

 Buildings on the building pool
 Building is anything placed by a IPL that is not a object (see Dummys or Objects to see what is a object)

 Peds on the peds pool
 Note this does not increase the amount of peds roaming, but increases the maximum number of peds can be created

Vehicles on the vehicles pool
Note this does not increase the amount of vehicles roaming, but increases the maximum number of vehicles can be created

Dynamic objects (i.e. registed in objects.dat) near/visible to the player
See also: Dummys

Dynamic objects (i.e. registed in objects.dat) spawned at once in the entire world

Ped AI instances
**MUST** be the same value as Peds

 ColModel [CanBeUnlimited]
Collision models loaded at once
Notice this is not the same as one .col file, .col files might be collision archives which contain many ColModels.

 PtrNodeSingle [CanBeUnlimited]
Nodes for the pool of singly linked lists
Directly related to the amount of entities spawned in the world and values stored in quad trees.

 PtrNodeDouble [CanBeUnlimited]
Nodes for the pool of double linked lists
Directly related to the amount of entities spawned in the world

Mix of PtrNodeSingle and PtrNodeDouble (see PtrNodeSingle and PtrNodeDouble)

 EntryInfoNode [CanBeUnlimited]
Directly related to the amount of collidable entities spawned in the world

 Task [CanBeUnlimited]
Running pedestrian tasks around the world

 Event [CanBeUnlimited]
Events notification around the world (vehicles collided, etc)

 PointRoute [CanBeUnlimited]
Related to AI routes (see scm command 05D7)

 PatrolRoute [CanBeUnlimited]
Related to AI patrol routes (see scm command 0755)

 NodeRoute [CanBeUnlimited]
Related to dynamic AI routes to go somewhere (for example, the command 05F5)

 TaskAllocator [CanBeUnlimited]
Allocator of tasks to organized group of peds

 PedAttractors [CanBeUnlimited]
Peds attracted to specific objects (e.g. ped using a cassino machine)

 VehicleStructs [CanBeUnlimited]
Loaded vehicles models information.

Animated buildings?

Script sounds (see scm command 018D)

 MatrixList [CanBeUnlimited]
Pool of transformation matrices, directly related to the amount of physical objects in the world

 AlphaEntityList [CanBeUnlimited]
List of entities (non-vehicle) to be rendered that contains alpha components 

 VisibleEntityPtrs [CanBeUnlimited]
List of visible non-lod entities

 VisibleLodPtrs [CanBeUnlimited]
List of visible lod entities

Amount of blocks outside the world boundaries to be rendered 
Fixes water flickering outside world bondaries

List of streamed in entities RwObjects (dff models)
Fixes buildings flickering when seeing too many of them

 AtomicModels [CanBeUnlimited]
Maximum amount of object definitions that aren't breakable (http://www.gtamodding.com/index.php?title=OBJS)

 DamageAtomicModels [CanBeUnlimited]
Maximum amount of object definitions that are breakable (http://www.gtamodding.com/index.php?title=OBJS)

 TimeModels [CanBeUnlimited]
Maximum amount of timed object definitions (http://www.gtamodding.com/index.php?title=TOBJ)

 ClumpModels [CanBeUnlimited]
Maximum amount of hierarchical object definitions (http://www.gtamodding.com/wiki/HIER and http://www.gtamodding.com/wiki/ANIM)

 VehicleModels [CanBeUnlimited]
Maximum amount of vehicle definitions (http://www.gtamodding.com/wiki/CARS_(IDE_Section))

 PedModels [CanBeUnlimited]
Maximum amount of ped definitions (http://www.gtamodding.com/wiki/PEDS)

 WeaponModels [CanBeUnlimited]
Maximum amount of weapon definitions (http://www.gtamodding.com/wiki/WEAP)

 EntitiesPerIpl [CanBeUnlimited]
Maximum amount of instantiated entities (in INST section) from a single IPL file.

 EntityIpl [CanBeUnlimited]
Maximum number of IPL files that creates entities.

Maximum amount of static shadows

Maximum amount of coronas

Maximum amount of searchlights that can be created with opcode 06B1

By default this is set to 30, which is actually 25fps. For 60fps, the value is 105.

Streaming memory available for streamed resources 
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.