Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowth117 committed Dec 29, 2022
1 parent 015ecec commit ffac323
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 36 deletions.
4 changes: 2 additions & 2 deletions CharFileLibrary/CharFileLibrary.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
Expand All @@ -18,7 +18,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pfim" Version="0.10.0" />
<PackageReference Include="Pfim" Version="0.11.1" />
<PackageReference Include="Reloaded.Memory" Version="4.1.1" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.5.21301.5" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CharFileLibrary/Character_Making_File_Tool/IceHandler.cs
Expand Up @@ -205,7 +205,7 @@ public unsafe static BitmapSource GetFirstImageFromIce(string fileName)

private unsafe static BitmapSource GetDDSBitMapSource(byte[] trueFile)
{
using (var image = Pfim.Pfim.FromStream(new MemoryStream(trueFile)))
using (var image = Pfim.Pfimage.FromStream(new MemoryStream(trueFile)))
{
PixelFormat format;

Expand Down
Expand Up @@ -627,7 +627,7 @@ public static TransformSet InterpolateTransforms(TransformSet tfmMin, TransformS
{
for (int j = 0; j < data.vector4Keys.Count; j++)
{
int frame = data.frameTimings[j] / 0x10;
int frame = (int)(data.frameTimings[j] / 0x10);
TransformSet tfm;
if (!propTransforms[frame].ContainsKey(i))
{
Expand Down Expand Up @@ -725,7 +725,7 @@ public static TransformSet InterpolateTransforms(TransformSet tfmMin, TransformS
{
for (int j = 0; j < data.vector4Keys.Count; j++)
{
int frame = data.frameTimings[j] / 0x10;
int frame = (int)(data.frameTimings[j] / 0x10);
TransformSet tfm;
if (!propTransforms[frame].ContainsKey(i))
{
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file modified CharFileLibrary/Libraries/AquaLib/AquaModelLibrary.dll
Binary file not shown.
Binary file modified CharFileLibrary/Libraries/AquaLib/ZamboniLib.dll
Binary file not shown.
Binary file modified CharFileLibrary/Libraries/AquaLib/ZamboniLib.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Character Making File Tool/PSO2 Salon Tool.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>PSO2_Salon_Tool</RootNamespace>
Expand Down
1 change: 1 addition & 0 deletions NGS Salon Tool/MainWindow.xaml.cs
Expand Up @@ -73,6 +73,7 @@ public unsafe MainWindow()
#if !DEBUG
menu.Items.Remove(debugOptions);
#endif
Debug.WriteLine($"test");

//Disable unused items
saveButton.IsEnabled = false;
Expand Down
6 changes: 3 additions & 3 deletions NGS Salon Tool/NGS Salon Tool.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<RootNamespace>NGS_Salon_Tool</RootNamespace>
<UseWPF>true</UseWPF>
</PropertyGroup>
Expand All @@ -25,8 +25,8 @@
<ItemGroup>
<PackageReference Include="Extended.Wpf.Toolkit" Version="4.1.0" />
<PackageReference Include="Microsoft-WindowsAPICodePack-ShellExtensions" Version="1.1.4" />
<PackageReference Include="Pfim" Version="0.10.0" />
<PackageReference Include="Reloaded.Memory" Version="4.1.2" />
<PackageReference Include="Pfim" Version="0.11.1" />
<PackageReference Include="Reloaded.Memory" Version="8.0.1" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.5.21301.5" />
</ItemGroup>

Expand Down

0 comments on commit ffac323

Please sign in to comment.