Skip to content
Jerker Dahlblom edited this page Sep 15, 2023 · 1 revision

Tuning the Performance of DCS-BIOS


Used Modules

Open the BIOS.lua (for stable DCS found on this path: C:\Users\ "USER" \Saved Games\DCS\Scripts\DCS-BIOS) with an editor like Notepad or Notepad++

Now you see between the lines: ---Modules Start--- and ---Modules End--- the loading scripts for every plane.

You can deactivate modules which you do not fly and do not need support for by putting -- at the beginning of the line.


Example:

ALL ACTIVATED:

---------------------------------Modules Start---------------------------------------------------------------
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-4E-C.lua]]) -- ID = 6, ProperName = A-4E Skyhawk
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-10C.lua]]) -- ID = 5, ProperName = A-10C Thunderbolt/II
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-29B.lua]]) -- ID = 41, ProperName = A-29B Super Tucano
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\AH-6J.lua]]) -- ID = 7, ProperName = AH-6J Littlebird
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\AJS37.lua]]) -- ID = 8, ProperName = AJS-37 Viggen

A-10C and AH-6J DEACTIVATED:

---------------------------------Modules Start---------------------------------------------------------------
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-4E-C.lua]]) -- ID = 6, ProperName = A-4E Skyhawk
--dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-10C.lua]]) -- ID = 5, ProperName = A-10C Thunderbolt/II
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\A-29B.lua]]) -- ID = 41, ProperName = A-29B Super Tucano
--dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\AH-6J.lua]]) -- ID = 7, ProperName = AH-6J Littlebird
dofile(lfs.writedir()..[[Scripts\DCS-BIOS\lib\AJS37.lua]]) -- ID = 8, ProperName = AJS-37 Viggen

This causes DCS-BIOS to ignore and not process these modules.

Running DCS-BIOS with the minimum required files will result in less lag and better performance.

To reactivate the modules simply remove the -- at the beginning of the line.


DCS-BIOS DevMode

Also in BIOS.lua at line 4 is the BIOSdevMode setting

  • with 0 BIOS is in User Mode -> DCS-BIOS does no rewrite, just use the existing files

  • with 1 BIOS is in Dev mode -> every start on an flight the Json files would be rewritten. This is needed if you make changes in the modules lua files.