Insurgency

Insurgency

Zobrazit statistiky:
Toto téma bylo uzamčeno
Bad performance? Get more FPS! This is Source engine!!! Tweak guide.
The Source Engine is highly customizable, there are many different Command Variables which can be used to alter everything from the way the game looks, the way it allocates memory to providing additional game information, to recording demos and running custom benchmarks. This gives us an excellent opportunity to tweak the game to its fullest potential, making it look and act exactly the way we want it.

I discover this when I was searching for competitive settings for CS:GO, and all was possible because it was Source engine.

Guess what?? Our beloved Insurgency game is made on Source Engine, this means we can tweak it as any other source game, to get better or lower graphics and get the game running smoother.

Source games hold many of the settings you select in the in-game options (along with a range of other custom variables) in a file called config.cfg
By default the Source Engine looks for autoexec.cfg at startup, and if it finds it, it will automatically load and execute all the valid commands in it along with those in config.cfg while starting up your game.

Creating autoexec.cfg

Go to:
"...\ProgramFiles\Steam\steamapps\common\insurgency2\insurgency\cfg\" directory.

Make a new notepad document, open it, then save it as "autoexec.cfg" with the file type selection box on "All files (*.*)"

Open this blank document in notepad and that's it, you have a blank autoexec.cfg file.
Fill it with the commands you wish to run every time the game starts.

My autoexec for high graphics (my pc) nominidumps dxlevel 98 snd_mix_async 1 cl_forcepreload 1 cl_detaildist 2400 cl_detailfade 0 r_fastzreject -1 r_threaded_particles 1 r_threaded_renderables 1 r_shadowrendertotexture 1 mat_picmip -1 mat_hdr_level 0 mat_queue_mode -1 mat_disable_bloom 1 mat_filterlightmaps 1 mat_forcemanagedtextureintohardware 0

The Commands

nominidumps - Don't creat minidumps, crash related.

dxlevel - changes the DirectX mode used within a Source game. The player is only able to use modes that their hardware supports.
The format is:

dxlevel 80 - DirectX 8.0
dxlevel 81 - DirectX 8.1
dxlevel 90 - DirectX 9 (Shader Model 2)
dxlevel 95 - DirectX 9 (Shader Model 3)
dxlevel 98 - DX9Ex (DX9 on DX10 hardware (SM 4)

snd_mix_async [0,1] - If set to 1, this command will allow multi-core CPUs to run most of the sound engine in parallel with the renderer, which can improve performance and reduce stuttering.

cl_forcepreload [0,1] - If set to 1 forces all information to preload, reducing loading pauses and stuttering by not loading information on the fly.

cl_detaildist [0-2400] - Determines the range at which detail props are shown (e.g. grass). Reducing this setting can increase performance, and conversely increasing this setting will improve image quality through more detail at the cost of performance.

cl_detailfade [0-10000] - Determines the range at which detail props fade into view. Increasing this value can raise performance.

r_fastzreject [-1,0,1] - If set to 1 activates a fast z-setting algorithm which takes advantage of hardware fast z reject for improved performance. If set to -1 detects your default hardware setting for this option. Initially this should be set to -1.

r_threaded_particles [0,1] - Determines whether the particle system is multi-threaded. This should be set to 1 on systems with multi-core CPUs.

r_threaded_renderables [0,1] - Determines whether part of the rendering system is multi-threaded. This can be set to 1 on systems with multi-core CPUs to potentially improve performance.

shadow details:
r_shadowrendertotexture 0 - low

r_shadowrendertotexture 1 - medium

r_shadowrendertotexture 1 - high
r_flashlightdepthtexture 1 - high (plus this command to get high)

mat_picmip [-1/1/2/3/4] - This variable is the same as the Texture Detail in-game setting, controls how detailed textures appear in Source games. You can raise this value to further reduce the quality of the textures and possibly improve performance.

mat_hdr_level [0/1/2] - Set to 0 for no HDR, 1 for LDR and bloom on HDR maps, and 2 for full HDR and bloom on HDR maps.

mat_queue_mode:

-1=default
0=synchronous single thread
1=queued single thread
2=queued multithreaded

mat_disable_bloom [0,1] - Set 1 to disable bloom

mat_filterlightmaps [0,1] - If set to 1, static lightmaps are rendered correctly. If set to 0, all areas of pre-rendered lighting will be blocky and unrealistic, but performance will be improved slightly at the cost of realism.

mat_forcemanagedtextureintohardware [0,1] - If set to 1, attempts to force texture information into your Video RAM at the start of a level, alleviating any stuttering in the game. Also note that in my experience this setting can reduce FPS by up to 50%. Setting this variable to 0 may improve performance on some machines.

Much more commands can be added, note that is just I trying to help someone who can't enjoy the game as much as I can.
Try to learn about Source Engine and it's capabilites and the game will run great for everyone.
Google for autoexec.cfg in CS:GO and you all will find several examples of this.

The game was not performing good with me without the autoexec, now runs smoother and with better graphic qualiy.

I hope it helps someone.

Here are some screenshots:
http://imgur.com/d7JeOtb.jpg
http://imgur.com/8NAgn3t.jpg
http://imgur.com/bj3rlBb.jpg
http://imgur.com/SkETpD2.jpg
http://imgur.com/ub4Ibyj.jpg
http://imgur.com/kIDh5CE.jpg
http://imgur.com/Ep2ua16.jpg

If you guys see some scratches in the screenshots, it's the rain falling.
Naposledy upravil LashPT; 3. kvě. 2015 v 5.51
< >
Zobrazeno 17 z 7 komentářů
I'm surprised nobody has commented of the wealth of info you provided above?
I appreciate it. :)
This was in the "Technical Support" section fo the forum, someone had apreciated this info, and had advise me to put it here.
I erase it from there and created it here, I think it has more visibility in this section.
Naposledy upravil LashPT; 3. kvě. 2015 v 7.58
For one, this has helped me already. I was too lazy to check the plethora of information available on the TweakGuide site, then I found this. So yeah, thanks a bunch!
most when entered says unknown command in console lol
..FUBAR.. původně napsal:
most when entered says unknown command in console lol
And that, my friend, is why you should make an autoexec.cfg file. It might not change anything for you, but it's likely that you will get tricked into believing that it has improved your game's performance.

The human brain is amazing, isn't it?
Naposledy upravil ˗ˏˋKAIDONˎˊ˗; 4. kvě. 2015 v 5.57
This is for creating autoexec.cfg file, all the commands can be put in the Steam launch options of the game, but not like this, because it needs to have before the command itself the signal "+" or "-" and this depends of the command you are putting.

Example: -console -novid -high -threads 4 +exec autoexec.cfg -tickrate 128
(disable video, open console, 128tick local server, etc.)

I find that is easier to create or copy/paste this autoexec, instead of creating all of this in the launch options, in one single line. More organization and better visibility this way, for me at least.

And this actually improves the game performance.
Naposledy upravil LashPT; 4. kvě. 2015 v 12.37
Dop 4. zář. 2016 v 18.29 
love you mate
< >
Zobrazeno 17 z 7 komentářů
Na stránku: 1530 50

Datum zveřejnění: 3. kvě. 2015 v 4.04
Počet příspěvků: 7