Skip to content

Commit

Permalink
v1.0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ividyon committed May 21, 2023
1 parent f78f79f commit e2dcd82
Show file tree
Hide file tree
Showing 21 changed files with 956 additions and 1,062 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<Authors>ividyon</Authors>
<Company>ividyon</Company>
<Version>1.0.4.0</Version>
</PropertyGroup>
</Project>
5 changes: 4 additions & 1 deletion NOTES.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
* Fixed regulation.bin repacking as regulation.bin.dcx.
* New attempt at GPARAM support, using decompiled code from a random YabberAvocado zip. Appears to do a byte-perfect roundtrip unlike all other versions. Testing needed.
* Project cleanup for less warnings.
* Moved to NuGet versioning format (1.0.4.0 instead of 1.0.4).
* Properly display assembly info data.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ New additions include:
* FXR support
* MATBIN support (by Avocado)
* MTD support (by Avocado)
* ELDEN RING GPARAM support (by Avocado and Pear)
* ELDEN RING GPARAM support (by Avocado)
* Console TPF unpacking (but not repacking)
* Minor fixes like ELDEN RING envmap TPF unpack

Expand Down
1 change: 0 additions & 1 deletion WitchyBND.DCX/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ static void Main(string[] args)
if (arg.Contains('*'))
{
var matcher = new Matcher();
int? idx = null;
var rootParts = arg.Split(Path.DirectorySeparatorChar).TakeWhile(part => !part.Contains('*')).ToList();
var root = string.Join(Path.DirectorySeparatorChar, rootParts);
var rest = arg.Substring(root.Length + 1);
Expand Down
10 changes: 7 additions & 3 deletions WitchyBND.DCX/WitchyBND.DCX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<OutputType>Exe</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>WitchyBND.DCX</RootNamespace>
<Company>ividyon</Company>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<RootNamespace>WitchyBND</RootNamespace>
<IsPackable>false</IsPackable>
<Title>WitchyBND.DCX</Title>
</PropertyGroup>
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Assets/icon.ico</ApplicationIcon>
Expand Down
489 changes: 249 additions & 240 deletions WitchyBND/Formats/WGPARAM.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WitchyBND/Formats/WPARAM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public static void PopulateParamdef(WBUtil.GameType game)
{
var patchParamdefPath = $@"{patchPath}\{Path.GetFileName(path)}";
if (!File.Exists(patchParamdefPath)) continue;
PARAMDEF? patchParamdef = PARAMDEF.XmlDeserialize(patchParamdefPath);
var patchParamdef = PARAMDEF.XmlDeserialize(patchParamdefPath);
if (patchParamdef == null) continue;
paramdef = patchParamdef;
break;
Expand Down
1 change: 0 additions & 1 deletion WitchyBND/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ static void Main(string[] args)
if (arg.Contains('*'))
{
var matcher = new Matcher();
int? idx = null;
var rootParts = arg.Split(Path.DirectorySeparatorChar).TakeWhile(part => !part.Contains('*')).ToList();
var root = string.Join(Path.DirectorySeparatorChar, rootParts);
var rest = arg.Substring(root.Length + 1);
Expand Down
10 changes: 6 additions & 4 deletions WitchyBND/WitchyBND.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<OutputType>Exe</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<RootNamespace>WitchyBND</RootNamespace>
<Company>ividyon</Company>
<IsPackable>false</IsPackable>
<Title>WitchyBND</Title>
<Authors>ividyon</Authors>
<Title>WitchyBND</Title>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\x64\Debug\</OutputPath>
Expand All @@ -28,6 +26,9 @@
<DebugType>embedded</DebugType>
<OutputPath>..\bin\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
Expand All @@ -53,5 +54,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Remove="SoulsFormats.dll" />
<None Remove="Yabber.dll" />
</ItemGroup>
</Project>
5 changes: 4 additions & 1 deletion WitchyFormats/Formats/Fxr3.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System.Xml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
using SoulsFormats;
Expand Down
Loading

0 comments on commit e2dcd82

Please sign in to comment.