mirror of
https://github.com/4sval/FModel.git
synced 2026-08-13 12:46:30 -05:00
MotoGP25 and Days Gone support
Some checks are pending
FModel QA Builder / build (push) Waiting to run
Some checks are pending
FModel QA Builder / build (push) Waiting to run
This commit is contained in:
Submodule CUE4Parse updated: ce5c025816...784b39afce
@@ -1,4 +1,4 @@
|
||||
using CSCore;
|
||||
using CSCore;
|
||||
using CSCore.DSP;
|
||||
using CSCore.SoundOut;
|
||||
using CSCore.Streams;
|
||||
@@ -558,6 +558,7 @@ public class AudioPlayerViewModel : ViewModel, ISource, IDisposable
|
||||
switch (SelectedAudioFile.Extension)
|
||||
{
|
||||
case "adpcm":
|
||||
case "xvag":
|
||||
case "opus":
|
||||
case "wem":
|
||||
case "at9":
|
||||
|
||||
@@ -584,6 +584,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
case "manifest":
|
||||
case "uplugin":
|
||||
case "archive":
|
||||
case "dnearchive": // Banishers: Ghosts of New Eden
|
||||
case "vmodule":
|
||||
case "uparam": // Steel Hunters
|
||||
case "verse":
|
||||
@@ -592,6 +593,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
case "ini":
|
||||
case "txt":
|
||||
case "log":
|
||||
case "lsd": // Days Gone
|
||||
case "bat":
|
||||
case "dat":
|
||||
case "cfg":
|
||||
@@ -654,7 +656,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
{
|
||||
var archive = entry.CreateReader();
|
||||
var wwise = new WwiseReader(archive);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(wwise, Formatting.Indented), saveProperties, updateUi);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(wwise, Formatting.Indented), saveProperties, updateUi);
|
||||
foreach (var (name, data) in wwise.WwiseEncodedMedias)
|
||||
{
|
||||
SaveAndPlaySound(entry.Path.SubstringBeforeWithLast('/') + name, "WEM", data);
|
||||
@@ -662,10 +664,12 @@ public class CUE4ParseViewModel : ViewModel
|
||||
|
||||
break;
|
||||
}
|
||||
case "xvag":
|
||||
case "at9":
|
||||
case "wem":
|
||||
{
|
||||
var data = Provider.SaveAsset(entry);
|
||||
SaveAndPlaySound(entry.Path, "WEM", data);
|
||||
SaveAndPlaySound(entry.PathWithoutExtension, entry.Extension, data);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user