Those who own only ATS or only ETS2 are equally welcome.
Feel free to post techniques that you've found useful.
IMPORTANT: As with any user-config parameters, they are used at your own risk. Game crashes may occur. Most optimisation activity can be done through the Options in-game.
=======================================
Default values:
-mm_max_resource_size: 22
[in Megabytes. This is the memory allocation for any resource (Could be .pmg file or large .dds texture) If any of your mods' files are larger than 22Mb, the game simply allocates more 'blocks' of 22Mb.]
Maximal value: 100
-mm_max_tmp_buffers_size: 112
[Size of entire buffer array in Mb]
Maximal value: 1000
=======================================
Calculations:
mm_max_tmp_buffers_size / mm_max_resource_size = no. of temporary loading buffers (Can be checked by looking at "Allocated X temporary loading buffer(s)" message at start of the log).
But, you would think that with, say, buffers_size of 500 and resource size of 50 would result in 10 loading buffers but it doesn't, it shows 9. This is because there is some additional overhead for each buffer.
My original settings were:
-mm_max_resource_size 80 and -mm_max_tmp_buffers_size 240
but as Max pointed out, this actually reduced the number of loading buffers. So I changed settings to:
-mm_max_resource_size 44 -mm_max_tmp_buffers_size 484
Resulting in 10 loading buffers instead of the default 5.
I believe this actually speeds up game loading and even though I don't use those big poly trucks anymore, even with 'standard' game models, the settings work great.
=======================================
Usage:
1) Open the developer console in-game and type them directly. You will need to do this each time you play, afaik.
or
2) If you're a Steam user you can add them to your Launch Options by right-clicking the game in your Library, selecting "Settings" and then click the "Launch Options" button. This means the parameters are automatically included each time you play.
or
3)You can add them to your desktop shortcut by right-clicking it and select 'properties'. Add the parameters in the "Shortcut | Target" box. Thus:
Code: Select all
"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 227300 -nointro -unlimitedlog -rdevice dx11 -mm_max_resource_size 100 -mm_max_tmp_buffers_size 500 -homedir "D:\SCS\\"
Thanks to @xXCARL1992Xx for this snippet.
And @Max for his explanation about the double backslash (Page 30, post #294)
=======================================
Other Stuff:
* Read @cip's posts about traffic density and how to incorporate larger numbers of AI Traffic packs effectively.
* See Page 11, post #110 and read @MrTwisted's report on various buffer settings. Good info there.
* Read xXCARL1992Xx's posts about nvidia inspector and its various settings.
=======================================
Important info from Max: (post #273, page 28)
If any of the above information or quoting is incorrect, please let me know.Max wrote: ↑18 Jul 2019 21:05"as i wrote it is size of one buffer (max resource size) and size of whole buffers array (max tmp buffers). so the "count" of buffers is simple formula all buffers size divided by single buffer size (well, sometimes -1 because of some extra cost and rounding) ..
what is better? it depends. do you need to load big things or many of them fast (= at once)?
apparently, size of single buffer bigger than biggest resource is futile. default buffer size is 22M as our biggest texture has like ~20M. default size of whole buffer array is 112M which gives us 5 buffers for like 5 items asynchronously loading at single moment. if there is more of them needed, they must wait. if there is bigger item, warning is printed and game tries to allocate bigger buffer from heap (which may create slight lag).
so it depends on your mods - do you have bigger items (50M or 100M)? or need to load many of them at once (9 or 19)? ..