Atari800XL Posted May 4, 2024 Posted May 4, 2024 (edited) Ahoi, today I had a strange behavior in the ME, I could solve it and I'd like so share this problem and the solution with others! What did I do? I tried to implement a sound in the ME ( "repetetive action" , "Flag equals ("BEEP",1), "sound to all"). Normally then appears a filepicker-dialogue where you can pick a .ogg oder .wav file after pressing on "open". But in my case nothing happend and I found this failure in the DCS.log: 2024-05-04 16:28:38.462 ALERT LUACOMMON (Main): Error: GUI Error: [string "./MissionEditor/modules/SoundPlayer.lua"]:73: attempt to index field 'soundInfo' (a nil value) GUI debug.traceback: stack traceback: [C]: ? [string "./MissionEditor/modules/SoundPlayer.lua"]:73: in function 'setPathSound' [string "./MissionEditor/modules/FileDialog.lua"]:891: in function 'updateSoundPlayer' [string "./MissionEditor/modules/FileDialog.lua"]:466: in function 'onSelectFile_' [string "./MissionEditor/modules/FileDialog.lua"]:758: in function 'setInitPath_' [string "./MissionEditor/modules/FileDialog.lua"]:921: in function <[string "./MissionEditor/modules/FileDialog.lua"]:904> (tail call): ? [string "./MissionEditor/modules/me_predicates.lua"]:2529: in function <[string "./MissionEditor/modules/me_predicates.lua"]:2525> (tail call): ? [string "./MissionEditor/modules/me_predicates.lua"]:1932: in function 'onChange' [string "./dxgui/bind/Button.lua"]:22: in function 'callback' [string "./dxgui/bind/Widget.lua"]:368: in function <[string "./dxgui/bind/Widget.lua"]:363> A typical LUA-Stacktrace but when I digged a bit deeper I found this entry in the DCS.log: 2024-05-04 17:35:20.821 ERROR ED_SOUND (Main): sf_open_virtual(C:\Users\Andreas\Saved Games\DCS.openbeta\Missions\DCS-TRAINING\07-Random-Stationkeeping-Trainer\beep_good.wav) failed: File contains data in an unknown format. File contains data in an unknown format? Ok, here is the problem: the pointer of the last .wav I picked showed on a not correct .wav-file, don't ask me how I made this but this file is damaged. So I deleted the beep_good.wav where the last picked-file pointer pointed at. After the deletion my file-picker dialogue was back in business and no more errors in the DCS.lua occured. This should help others with the same problem if the file-picker for sound files won't appear. best regards, stay healthy and fly safe! Edited May 4, 2024 by Atari800XL DCS MT, all maps except channel, FC3, F-16C Viper, F-15E, F/A-18C, AH-64D, F-5E, F-4E, P-51D, Spitfire, Fw-190D, MiG-21bis, L-39, AJS-37 Supercarrier, WWII-AP, CA, TrackIR5, F/A-18-Stick + Thrustmaster 16000, Stream Deck 8x4, 2x MFD Cougar Ryzen9 5950X SMT off, 64GB RAM, RTX 4070 SUPER TI, UWQHD 3440x1440, Win11+DCS from separate M.2
Recommended Posts