-
-
Notifications
You must be signed in to change notification settings - Fork 5
Export iCommands from DCS
Jerker Dahlblom edited this page Nov 28, 2023
·
2 revisions
- Close DCS
- Open file
DCS World\Config\Input\Aircrafts\Default\keyboard\default.lua
In the very beginning of the file add the following code snippet :
local lfs = require("lfs")
local io = require("io")
local f = io.open(lfs.writedir() .. [[Logs\iCommands.txt]], "w")
if f then
f:write("\n\n*** fenv:\n")
for k, v in pairs(getfenv()) do
f:write(tostring(k))
f:write("\t")
f:write(tostring(v))
f:write("\n")
end
f:close()
end
- Save
default.lua
- Start DCS
- Go into
Settings -> Controls
(that is all you need to do, the file has now been created) - Go to
C:\Users\<username>\Saved Games\DCS\Logs
and you will findiCommands.txt
. - Copy
iCommands.txt
to thedcs-insight
client folder and replace old file.
These commands do not change often so this shouldn't be necessary but if you are unsure then do it and you can compare the files.
With your support, we're able to buy software/hardware related to these projects.