bunch of stuff.

This commit is contained in:
morkt
2023-08-24 01:33:50 +04:00
parent ea096c52ef
commit 77fde27d26
119 changed files with 11078 additions and 619 deletions

View File

@@ -23,9 +23,9 @@
// IN THE SOFTWARE.
//
using System;
using System.ComponentModel.Composition;
using System.IO;
using System.Windows.Media.Imaging;
using GameRes.Compression;
namespace GameRes.Formats.FrontWing
@@ -94,7 +94,7 @@ namespace GameRes.Formats.FrontWing
{
var fge_name = Path.ChangeExtension (file.Name, ".fge");
if (!VFS.FileExists (fge_name))
return null;
throw new OperationCanceledException("Required metadata file '"+Path.GetFileName(fge_name)+"' not found.");
using (var fg = OpenFg (file))
{
return Fwgi.Value.ReadMetaData (fg);