Permalink
Browse files

- scroll speed tooltip

- fix album artwork tmp\*.dds 'Could not find file' error
  • Loading branch information...
cozy1 committed Jan 22, 2019
1 parent 16013f0 commit 10014e939bfeee3e05e3cdae6c8c7cc43885f4ac

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -29,5 +29,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.1.0")]
[assembly: AssemblyInformationalVersion("bb9b6035")]
[assembly: AssemblyInformationalVersion("16013f00")]
[assembly: AssemblyConfiguration("BETA")]
@@ -692,7 +692,7 @@ public static DLCPackageData LoadFromFolder(string unpackedDir, Platform targetP
bnkWemList.Add(bnkWemData);
}

// set volume from .bnk file
// get volume from .bnk file
if (bnkAudioVolume == null)
bnkAudioVolume = bnkWemList.Where(fn => !fn.BnkFileName.EndsWith("_preview.bnk")).Select(vf => vf.VolumeFactor).FirstOrDefault();

@@ -605,12 +605,13 @@ public static string ReadWemFileId(string srcPath, Platform platform)
var pnum = reader.ReadByte();

//we could do a toaster here to see where's volume value is
//but I'm solidly hopping they won't hange it's order...

This comment has been minimized.

@L0FKA

L0FKA Jan 22, 2019

Contributor

they could hang it as well 🗡

This comment has been minimized.

@cozy1

cozy1 Jan 22, 2019

Author Contributor

Nice find and fix, BTW.

//but I'm solidly hopping they won't change it's order...
//skip paramType section
reader.ReadBytes(pnum);

// fetch volume factor (Param0 value)
return reader.ReadSingle();
var volFactor = reader.ReadSingle();
return volFactor;
}

reader.ReadBytes((int)lenSection);
@@ -81,8 +81,9 @@ public static string GetDescription(this object value)
public static string GetTempFileName(string extension = ".tmp")
{
string re = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "tmp", Path.GetRandomFileName() + extension);
Directory.CreateDirectory(Path.GetDirectoryName(re));

// perma fix for album artwork tmp\*.dds 'Could not find file' error
IOExtension.MakeDirectory(Path.GetDirectoryName(re));

return re;
}

@@ -27,5 +27,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.1.0")]
[assembly: AssemblyInformationalVersion("bb9b6035")]
[assembly: AssemblyInformationalVersion("16013f00")]
[assembly: AssemblyConfiguration("BETA")]
@@ -29,5 +29,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.1.0")]
[assembly: AssemblyInformationalVersion("bb9b6035")]
[assembly: AssemblyInformationalVersion("16013f00")]
[assembly: AssemblyConfiguration("BETA")]
@@ -1,3 +1,3 @@
2.9.1.0
bb9b6035
16013f00
BETA

0 comments on commit 10014e9

Please sign in to comment.