VoiceAttack 2 is a .NET 8 application, so you need the dotnetdesktop8 runtime when you create the prefix.
WINEPREFIX=/home/yourname/Games/DCS/Prefixes/voiceattack WINEDLLOVERRIDES=mscoree=d winetricks -q dotnetdesktop8
| -- Convert a lua table into a lua syntactically correct string | |
| function table_to_string(tbl) | |
| local result = "{" | |
| for k, v in pairs(tbl) do | |
| -- Check the key type (ignore any numerical keys - assume its an array) | |
| if type(k) == "string" then | |
| result = result.."[\""..k.."\"]".."=" | |
| end | |
| -- Check the value type |