-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a subset of the code found in the sk-zk/TruckLib.HashFs repository; only specific minimal code needed to read the entry/meta tables, and be able to check paths and fetch .sii files off the .scs packages.
- Loading branch information
Heavenly Avenger
committed
Dec 14, 2024
1 parent
ec4efc5
commit 50dcddd
Showing
5 changed files
with
158 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Runtime.InteropServices; | ||
|
||
namespace ClutchFixer; | ||
|
||
[StructLayout(LayoutKind.Explicit)] | ||
internal struct SCSEntry | ||
{ | ||
[FieldOffset(0)] | ||
public ulong Hash; | ||
|
||
[FieldOffset(8)] | ||
public uint MetadataIdx; | ||
|
||
[FieldOffset(12)] | ||
public ushort MetadataCount; | ||
|
||
[FieldOffset(14)] | ||
public ushort Flags; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters