Jump to content

Recommended Posts

Posted (edited)

Hi,

 

I'm trying to add a sound file under triggers but the "open" file selection button does nothing. This is only happening in 1.5.8 - 2.1.1 works without issues.

 

My log is attached. Tried repair but no luck with that.

 

Regards,

 

Gary

dcs.zip

Edited by Gary

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

  • ED Team
Posted

from the log

 

00115.179 ERROR SOUND: sf_open_virtual(D:\ATC Sounds\Testing.wav) failed: Error in WAV/W64/RF64 file. Malformed 'fmt ' chunk.

00115.179 ALERT LUACOMMON: 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"]:672: in function 'updateSoundPlayer'

[string "./MissionEditor/modules/FileDialog.lua"]:389: in function 'onSelectFile_'

[string "./MissionEditor/modules/FileDialog.lua"]:596: in function 'setInitPath_'

[string "./MissionEditor/modules/FileDialog.lua"]:700: in function <[string "./MissionEditor/modules/FileDialog.lua"]:684>

(tail call): ?

[string "./MissionEditor/modules/me_predicates.lua"]:2318: in function <[string "./MissionEditor/modules/me_predicates.lua"]:2314>

(tail call): ?

[string "./MissionEditor/modules/me_predicates.lua"]:1796: in function 'onChange'

[string "./dxgui/bind/Button.lua"]:22: in function 'callback'

[string "./dxgui/bind/Widget.lua"]:330: in function <[string "./dxgui/bind/Widget.lua"]:325>

 

I would remove all unofficial modifications ( if any )

 

run a cleanup and repair

 

and try a different audio format like .ogg ?

 

just a guess from me sorry.

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Posted

Thanks for the suggestions Bignewy.

 

I already removed all my MODs and tried a repair without luck.

 

Strange that 2.1.1 works without issues even with my MODs still active.

 

No big deal really. My 1.5 beta install is probably several years old now so I'll completely delete and do a new installation when 2.5 hits the streets.

 

Although if anyone else has any suggestions I'm happy to try these too in the meantime.

 

Thanks again,

 

Gary

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

Posted (edited)
from the log

 

 

 

I would remove all unofficial modifications ( if any )

 

run a cleanup and repair

 

and try a different audio format like .ogg ?

 

just a guess from me sorry.

 

I know how to run a repair but what's a clean up please? and how to do this?

Edited by Gary
typo

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

  • ED Team
Posted
I know how to run a repair but what's a clean up please? and how to do this?

 

I have a little guide in my signature that may help

 

also if you are doing a repair via command prompt it is the same but with cleanup as a command.

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Posted

Thanks. Done and still no joy. Clean up did however remove a load of modded files for me. So all good.

 

Thanks again.

 

Gary

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

Posted

00115.179 ERROR SOUND: sf_open_virtual(D:\ATC Sounds\Testing.wav) failed: Error in WAV/W64/RF64 file. Malformed 'fmt ' chunk.

 

That error makes me think its a sound file issue. Could you upload the sound file to see if we can get the same error.

 

If you have audacity, try to re-export the file in GSM 6.10 for Wav.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Grimes,

 

Thanks. I'm pretty sure it isnt the file as it works fine in 2.1.1 and in previous 1.5 missions. I've also converted it to .ogg.

 

As mentioned the "open" file selection button does nothing so I'm confussed how the log file even "knows" which file I would be choosing anyway?

 

Obviously if the file selection function worked I would try other files but I can't get to choose.

 

Regards,

 

Gary

Testing.zip

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

Posted

I think it may be having an error immediately upon opening because it usually keeps the last used file location and file selected. The problem is definitely with the wav file as it can't figure out how long the audio file is. Weirdly Audacity couldn't open the file either.

 

To fix it try:

 

Delete the trigger with the sound file. Save mission. Go into file browser and delete the .wav file or at least move it to a different directory. Recreate trigger and use the .ogg file.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Tested both the wav and ogg files in audition , both are working fine , I did notice that both files were 32bit 11025 hz mono , you could try converting them to a more standard 16bit 44100 hz and see if that works , if you dont have the software to do this let me know and ill do it for you.

 

Thats a great idea.

Jafa

[sIGPIC]picture.php?albumid=1526&pictureid=9861[/sIGPIC]

Posted
I think it may be having an error immediately upon opening because it usually keeps the last used file location and file selected. The problem is definitely with the wav file as it can't figure out how long the audio file is. Weirdly Audacity couldn't open the file either.

 

To fix it try:

 

Delete the trigger with the sound file. Save mission. Go into file browser and delete the .wav file or at least move it to a different directory. Recreate trigger and use the .ogg file.

 

Grimes,

 

Thank you Sir - all fixed now and working fine.

 

Jafa,

 

Thank you for your kind offer. Ogg file working fine.

 

I'm oblidged to you both.

 

Regards,

 

Gary

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

Posted
I think it may be having an error immediately upon opening because it usually keeps the last used file location and file selected. The problem is definitely with the wav file as it can't figure out how long the audio file is. Weirdly Audacity couldn't open the file either.

 

To fix it try:

 

Delete the trigger with the sound file. Save mission. Go into file browser and delete the .wav file or at least move it to a different directory. Recreate trigger and use the .ogg file.

 

Same problem I have.

 

Even in a new mission , trigger, sound to coalition .... click to open .... you cant. There is no windo to choose even a sound.

 

Some people reported it in 2.2 too. It works fine in my 2.2. It was after last fix in the 1.5, i sent you my log too.

Posted

I can confirm for definate that it was my sound file (referenced in the log file) that was causing the problem.

 

Moving it to a different directory on my hard drive solved the problem for me.

I5 - 1TB SSHD, 256 SSD - Nvidia 1070 - 16gb ram - CV1

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...