Skip to content

Commit

Permalink
Update all
Browse files Browse the repository at this point in the history
  • Loading branch information
iMrShadow committed Jul 28, 2024
1 parent b535d2d commit 845005f
Show file tree
Hide file tree
Showing 100 changed files with 2,617 additions and 1,375 deletions.
Binary file removed Archive/Builds/DDS_D3DTX_Converter.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,105 changes: 0 additions & 1,105 deletions Archive/Builds/DDS_D3DTX_Converter_v2.0.0/DDS_D3DTX_Converter.deps.json

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed Archive/Builds/DDS_D3DTX_Converter_v2.0.0/ExCSS.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions TelltaleTextureTool/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"cSpell.words": [
"PVRTC",
"SNORM",
"SRGB",
"UNORM",
"Volumemap"
]
}
713 changes: 713 additions & 0 deletions TelltaleTextureTool/TelltaleTextureTool/Common/BlowFish.cs

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions TelltaleTextureTool/TelltaleTextureTool/Common/ByteFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ public static string ReadString(BinaryReader reader)
return value;
}

public static string ReadNullTerminatedString(BinaryReader reader)
{
StringBuilder sb = new();

// If files names longer than 256 characters exist, then I woudld be impressed.
for (int i = 0; i < 256; i++)
{
char c = reader.ReadChar();
if (c != '\0')
{
break;
}

sb.Append(c);
}

return sb.ToString();
}

public static string ReadFixedString(BinaryReader reader, int length)
{
string value = "";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -7,19 +8,20 @@ namespace TelltaleTextureTool;

public class WorkingDirectoryFile : IEquatable<WorkingDirectoryFile>
{
public string? FileName { get; set; }
public string? FileType { get; set; }
public DateTime FileLastWrite { get; set; }
public string? FilePath { get; set; }
public string FileName { get; set; } = string.Empty;
public string FileType { get; set; }= string.Empty;
public DateTime FileLastWrite { get; set; } = DateTime.MinValue;
public string FilePath { get; set; } = string.Empty;

public bool Equals(WorkingDirectoryFile? other)
public bool Equals(WorkingDirectoryFile other)
{
return FileName == other.FileName &&
FileType == other.FileType &&
FilePath == other.FilePath;
}
}


public class WorkingDirectory
{
public string WorkingDirectoryPath = string.Empty;
Expand Down
Loading

0 comments on commit 845005f

Please sign in to comment.