Dalamud-VFXEditor icon indicating copy to clipboard operation
Dalamud-VFXEditor copied to clipboard

SCD sound replacement crash

Open Kurochi51 opened this issue 2 years ago • 0 comments
trafficstars

I tried to replace the sound in an existing .scd file made with vfxeditor with a .wav that was extracted from an scd file with ff14 voice creator pack, and that led to this error and then crash.

Warning: INVALID format chunk in wav header. Trying to read anyway (may not work)... Skipping chunk of type "fact", length 4 ERROR: Wav file is unsupported type (must be standard PCM or type 3 floating point PCM)

the log for the crash:

2023-05-05 11:16:15.422 +03:00 [FTL] Unhandled exception on AppDomain
System.IO.FileNotFoundException: Could not find file 'C:\Users\andre\AppData\Roaming\XIVLauncher\pluginConfigs\VFXEditor\temp_out.ogg'.
File name: 'C:\Users\andre\AppData\Roaming\XIVLauncher\pluginConfigs\VFXEditor\temp_out.ogg'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at VfxEditor.ScdFormat.Music.Data.ScdVorbis.ImportOgg(String path, ScdAudioEntry oldEntry) in /work/repo/VFXEditor/ScdFormat/Music/Data/ScdVorbis.cs:line 188
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at VfxEditor.ScdFormat.ScdFile.Import(String path, ScdAudioEntry music) in /work/repo/VFXEditor/ScdFormat/ScdFile.cs:line 177
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Kurochi51 avatar May 05 '23 08:05 Kurochi51