This commit is contained in:
Timothy Baldridge 2021-07-11 16:23:44 -06:00
parent 13a567e705
commit ba3c3a43f1
6 changed files with 48 additions and 34 deletions

View File

@ -1,5 +1,10 @@
### Changelog ### Changelog
#### Version - 2.5.1.2 - 7/11/2021
* Fix issue with LL file upgrading
* Update GameFinder library to latest version
* Switch texture recompression to use TextConv for better compatability
#### Version - 2.5.1.1 - 7/9/2021 #### Version - 2.5.1.1 - 7/9/2021
* Fix a bug with INI path remapping, was using case sensitive replace * Fix a bug with INI path remapping, was using case sensitive replace

View File

@ -6,8 +6,8 @@
<AssemblyName>wabbajack-cli</AssemblyName> <AssemblyName>wabbajack-cli</AssemblyName>
<Company>Wabbajack</Company> <Company>Wabbajack</Company>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
<AssemblyVersion>2.5.1.1</AssemblyVersion> <AssemblyVersion>2.5.1.2</AssemblyVersion>
<FileVersion>2.5.1.1</FileVersion> <FileVersion>2.5.1.2</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright> <Copyright>Copyright © 2019-2020</Copyright>
<Description>An automated ModList installer</Description> <Description>An automated ModList installer</Description>
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>

View File

@ -79,11 +79,12 @@ namespace Wabbajack.ImageHashing
await ConvertImage(inFile, to.Parent, state.Width, state.Height, state.Format, ext); await ConvertImage(inFile, to.Parent, state.Width, state.Height, state.Format, ext);
} }
public static async Task<ImageState> GetState(AbsolutePath path) public static async Task<ImageState?> GetState(AbsolutePath path)
{ {
var ph = new ProcessHelper var ph = new ProcessHelper
{ {
Path = @"Tools\texdiag.exe".RelativeTo(AbsolutePath.EntryPoint), Arguments = new object[] {"info", path, "-nologo"}, Path = @"Tools\texdiag.exe".RelativeTo(AbsolutePath.EntryPoint),
Arguments = new object[] {"info", path, "-nologo"},
ThrowOnNonZeroExitCode = true, ThrowOnNonZeroExitCode = true,
LogError = true LogError = true
}; };
@ -92,7 +93,15 @@ namespace Wabbajack.ImageHashing
.Select(p => p.Line) .Select(p => p.Line)
.Where(p => p.Contains(" = ")) .Where(p => p.Contains(" = "))
.Subscribe(l => lines.Add(l)); .Subscribe(l => lines.Add(l));
try
{
await ph.Start(); await ph.Start();
}
catch (Exception ex)
{
return null;
}
var data = lines.Select(l => var data = lines.Select(l =>
{ {
var split = l.Split(" = "); var split = l.Split(" = ");

View File

@ -4,8 +4,8 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<AssemblyVersion>2.5.1.1</AssemblyVersion> <AssemblyVersion>2.5.1.2</AssemblyVersion>
<FileVersion>2.5.1.1</FileVersion> <FileVersion>2.5.1.2</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright> <Copyright>Copyright © 2019-2020</Copyright>
<Description>Wabbajack Application Launcher</Description> <Description>Wabbajack Application Launcher</Description>
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>

View File

@ -3,8 +3,8 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<AssemblyVersion>2.5.1.1</AssemblyVersion> <AssemblyVersion>2.5.1.2</AssemblyVersion>
<FileVersion>2.5.1.1</FileVersion> <FileVersion>2.5.1.2</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright> <Copyright>Copyright © 2019-2020</Copyright>
<Description>Wabbajack Server</Description> <Description>Wabbajack Server</Description>
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>

View File

@ -6,8 +6,8 @@
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier> <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<AssemblyVersion>2.5.1.1</AssemblyVersion> <AssemblyVersion>2.5.1.2</AssemblyVersion>
<FileVersion>2.5.1.1</FileVersion> <FileVersion>2.5.1.2</FileVersion>
<Copyright>Copyright © 2019-2020</Copyright> <Copyright>Copyright © 2019-2020</Copyright>
<Description>An automated ModList installer</Description> <Description>An automated ModList installer</Description>
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>