Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenkai committed Feb 5, 2024
1 parent fc01107 commit c40224c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,5 @@ MigrationBackup/
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd
FodyWeavers.xsd
launchSettings.json
5 changes: 4 additions & 1 deletion GBFRDataTools/Archive/Archive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ public void ExtractFile(ulong hash, string? fileName = null)
throw new FileNotFoundException("File was not found in archive.");

FileToChunkIndexer fileToChunkIndex = Index.FileToChunkIndexerTable[index];
if (fileName is null) fileName = $"Unk_{index}";

if (string.IsNullOrEmpty(fileName))
fileName = $"Unk_{index:X16}";

ExtractInternal(fileToChunkIndex, fileName);
}

Expand Down
4 changes: 2 additions & 2 deletions GBFRDataTools/GBFRDataTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<FileVersion>0.1.0.0</FileVersion>
<AssemblyVersion>0.1.1.0</AssemblyVersion>
<FileVersion>0.1.1.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions GBFRDataTools/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace GBFRDataTools;

internal class Program
{
public const string Version = "0.1.0";
public const string Version = "0.1.1";

static void Main(string[] args)
{
Expand Down Expand Up @@ -90,7 +90,7 @@ public static void ExtractAll(ExtractAllVerbs verbs)
}
else
{

Console.WriteLine("Extracting unknown files is not yet supported.");
}
}

Expand Down

0 comments on commit c40224c

Please sign in to comment.