mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(YuzCrypt): added NamesSectionId property.
This commit is contained in:
parent
25ac10808d
commit
71fdcd32ec
@ -38,6 +38,8 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public virtual string NamesSectionId { get { return "sen:"; } }
|
||||||
|
|
||||||
internal virtual void ReadYuzNames (byte[] yuz, FilenameMap filename_map)
|
internal virtual void ReadYuzNames (byte[] yuz, FilenameMap filename_map)
|
||||||
{
|
{
|
||||||
using (var ystream = new MemoryStream (yuz))
|
using (var ystream = new MemoryStream (yuz))
|
||||||
@ -82,6 +84,8 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
m_random_seed = seed;
|
m_random_seed = seed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string NamesSectionId { get { return "dls:"; } }
|
||||||
|
|
||||||
internal override CxProgram NewProgram (uint seed)
|
internal override CxProgram NewProgram (uint seed)
|
||||||
{
|
{
|
||||||
return new CxProgramNana (seed, m_random_seed, ControlBlock);
|
return new CxProgramNana (seed, m_random_seed, ControlBlock);
|
||||||
@ -109,6 +113,8 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string NamesSectionId { get { return "yuz:"; } }
|
||||||
|
|
||||||
public override void Decrypt (Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
public override void Decrypt (Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
||||||
{
|
{
|
||||||
ProcessFirstBytes (entry, offset, buffer, pos, count);
|
ProcessFirstBytes (entry, offset, buffer, pos, count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user