Skip to content

Commit

Permalink
Fixed g2a/g1a file detection
Browse files Browse the repository at this point in the history
  • Loading branch information
VelouriasMoon committed Nov 20, 2020
1 parent 44b69a3 commit c1294f7
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
Binary file modified .vs/THAT/v16/.suo
Binary file not shown.
8 changes: 4 additions & 4 deletions Formats/KTGL/Bin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public static string GetMagic(byte[] inbytes)
{
return ".data";
}
else if (magic == "47-32-41-5f")
else if (magic == "5f-41-32-47")
{
return ".rigb";
return ".g2a";
}
else if (magic == "47-31-41-5f")
else if (magic == "5f-41-31-47")
{
return ".rigb";
return ".g1a";
}
else if (magic == "00-00-01-00")
{
Expand Down
Binary file modified bin/Debug/THAT.exe
Binary file not shown.
Binary file modified bin/Debug/THAT.pdb
Binary file not shown.
Binary file modified bin/Release/THAT.exe
Binary file not shown.
Binary file modified bin/Release/THAT.pdb
Binary file not shown.
Binary file modified obj/Debug/THAT.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Debug/THAT.exe
Binary file not shown.
Binary file modified obj/Debug/THAT.pdb
Binary file not shown.
Binary file modified obj/Release/THAT.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Release/THAT.exe
Binary file not shown.
Binary file modified obj/Release/THAT.pdb
Binary file not shown.

0 comments on commit c1294f7

Please sign in to comment.