Skip to content

Commit

Permalink
psd to pimg, Fix #109
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyssesWu committed May 30, 2023
1 parent b486f4c commit f9e8f04
Show file tree
Hide file tree
Showing 12 changed files with 303 additions and 31 deletions.
7 changes: 2 additions & 5 deletions FreeMote.Plugins/FreeMote.Plugins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,10 @@
<Version>2.1.0-CI00002</Version>
</PackageReference>
<PackageReference Include="K4os.Compression.LZ4.Streams">
<Version>1.2.16</Version>
<Version>1.3.5</Version>
</PackageReference>
<PackageReference Include="Paint.NET.PhotoShop">
<Version>2.5.0-CI00007</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>5.0.0</Version>
<Version>2.5.1.13</Version>
</PackageReference>
<PackageReference Include="VGAudio">
<Version>2.2.1-CI00002</Version>
Expand Down
289 changes: 269 additions & 20 deletions FreeMote.Plugins/Shells/PsdShell.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion FreeMote.PsBuild/FreeMote.PsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.2</Version>
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="System.ValueTuple">
<Version>4.5.0</Version>
Expand Down
2 changes: 1 addition & 1 deletion FreeMote.Psb/FreeMote.Psb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<Version>4.5.5</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="System.ValueTuple">
<Version>4.5.0</Version>
Expand Down
4 changes: 2 additions & 2 deletions FreeMote.Tests/FreeMote.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@
<Version>2.2.10</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.2</Version>
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="VGAudio">
<Version>2.2.1-CI00002</Version>
Expand Down
16 changes: 16 additions & 0 deletions FreeMote.Tools.EmtConvert/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ EmtConvert pack -s LZ4 sample.psb
{
ShellConvert(s, type);
}
else
{
Console.WriteLine($"Input path not found: {s}");
}
}
});
});
Expand Down Expand Up @@ -261,6 +265,10 @@ EmtConvert print -w 4096 -h 4096 sample.psb
{
Draw(s, width, height);
}
else
{
Console.WriteLine($"Input path not found: {s}");
}
}
});
});
Expand Down Expand Up @@ -347,6 +355,10 @@ EmtConvert fix -m MetadataBase sample.psb
Convert(key, s);
}
}
else
{
Console.WriteLine($"Input path not found: {s}");
}
}
});

Expand Down Expand Up @@ -433,6 +445,10 @@ EmtConvert mpack -s 1234567890absample.psb -l 131 sample.psb
{
ShellConvert(s, "MDF");
}
else
{
Console.WriteLine($"Input path not found: {s}");
}
}

return;
Expand Down
1 change: 1 addition & 0 deletions FreeMote.Tools.EmtMake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ static void Main(string[] args)
Console.ReadLine();
if (args.Length < 1 || !File.Exists(args[0]))
{
PrintHelp();
return;
}

Expand Down
4 changes: 4 additions & 0 deletions FreeMote.Tools.PsBuild/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ PsBuild port -p win sample.psb
{
Port(s, portSpec, enableResolution);
}
else
{
Console.WriteLine($"Input path not found: {s}");
}
}
});
});
Expand Down
4 changes: 4 additions & 0 deletions FreeMote.Tools.PsbDecompile/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ PsbDecompile unlink sample.psb
Console.WriteLine(e);
}
}
else
{
Console.WriteLine($"Input path not found: {psbPath}");
}
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion FreeMote.Tools.Viewer/FreeMote.Tools.Viewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<Version>3.0.0</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="System.ValueTuple">
<Version>4.5.0</Version>
Expand Down
1 change: 1 addition & 0 deletions FreeMote.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=krkr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=loopstr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=mpack/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pimg/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Tachie/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=timelines/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unswizzle/@EntryIndexedValue">True</s:Boolean>
Expand Down
2 changes: 1 addition & 1 deletion FreeMote/FreeMote.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream">
<Version>2.2.1</Version>
<Version>2.3.2</Version>
</PackageReference>
<PackageReference Include="System.Memory">
<Version>4.5.5</Version>
Expand Down

0 comments on commit f9e8f04

Please sign in to comment.