Skip to content

Commit

Permalink
v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ividyon committed May 21, 2023
1 parent 88d1387 commit f78f79f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* Fixed embarassing bug preventing binders from being repacked.
* Added more graceful handling of failed TPF repacking for console TPFs.
* Fixed regulation.bin repacking as regulation.bin.dcx.
4 changes: 0 additions & 4 deletions SoulsFormats/Util/SoulsFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ public void Write(string path, DCX.Type compression)
throw ex;

Directory.CreateDirectory(Path.GetDirectoryName(path));
if (compression != DCX.Type.None && path.Split('.')[^1] != "dcx")
{
path += ".dcx";
}
using (FileStream stream = File.Create(path))
{
BinaryWriterEx bw = new BinaryWriterEx(false, stream);
Expand Down

0 comments on commit f78f79f

Please sign in to comment.