feat: support AGES mkII archive and audio

TODO: epk decrypt, raw PCM support
This commit is contained in:
scientificworld
2026-01-19 15:12:35 +08:00
parent 87195d8673
commit 8c2746084b
5 changed files with 197 additions and 0 deletions

View File

@@ -113,6 +113,11 @@ namespace GameRes.Utility
return GetCString (data, index, length_limit, Encodings.cp932);
}
public static string GetCString (byte[] data, int index, Encoding enc)
{
return GetCString (data, index, data.Length - index, enc);
}
public static string GetCString (byte[] data, int index)
{
return GetCString (data, index, data.Length - index, Encodings.cp932);