Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Version 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JKAnderson committed Mar 11, 2019
1 parent e57eb59 commit 108cd4d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Please see the included readme for detailed instructions.
*TKGP* - Everything else

# Changelog
### 1.2.2
* Fix not being able to repack bnds with roots

### 1.2.1
* Fix LUAINFO not working on files with 2 or fewer goals
* Fix LUAGNL not working on some files
Expand Down
4 changes: 2 additions & 2 deletions Yabber/Formats/Binder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void WriteBinderFiles(IBinder bnd, XmlWriter xw, string targetDir)
xw.WriteElementString("path", path);
xw.WriteEndElement();

path = $"{targetDir}\\{path}";
path = $@"{targetDir}\{path}";
Directory.CreateDirectory(Path.GetDirectoryName(path));
File.WriteAllBytes(path, file.Bytes);
}
Expand All @@ -61,7 +61,7 @@ public static void ReadBinderFiles(IBinder bnd, XmlNode filesNode, string source
if (Binder.HasName(bnd.Format))
name = root + path;

byte[] bytes = File.ReadAllBytes($@"{sourceDir}\{root}{path}");
byte[] bytes = File.ReadAllBytes($@"{sourceDir}\{path}");
bnd.Files.Add(new BinderFile(flags, id, name, bytes));
}
}
Expand Down
3 changes: 2 additions & 1 deletion Yabber/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Program
{
static void Main(string[] args)
{
args = new string[] { @"C:\Users\Joseph\Downloads\stayparam-parambnd-dcx-bak" };
if (args.Length == 0)
{
Assembly assembly = Assembly.GetExecutingAssembly();
Expand Down Expand Up @@ -47,7 +48,7 @@ static void Main(string[] args)
pause = true;
}
}
catch (Exception ex)
catch (InvalidOperationException ex)
{
Console.WriteLine($"Unhandled exception: {ex}");
pause = true;
Expand Down
4 changes: 2 additions & 2 deletions Yabber/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.2.2")]
5 changes: 4 additions & 1 deletion dist/readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

--| Yabber 1.2.1
--| Yabber 1.2.2
--| By TKGP
--| https://www.nexusmods.com/darksouls3/mods/305
--| https://github.com/JKAnderson/Yabber
Expand Down Expand Up @@ -82,6 +82,9 @@ TKGP - Everything else

--| Changelog

1.2.2
Fix not being able to repack bnds with roots

1.2.1
Fix LUAINFO not working on files with 2 or fewer goals
Fix LUAGNL not working on some files
Expand Down

0 comments on commit 108cd4d

Please sign in to comment.