mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-27 21:34:14 +08:00
(CabbageCxCrypt): new cx encryptor variation.
This commit is contained in:
parent
09f0c78c5e
commit
42611d2fa8
@ -73,23 +73,33 @@ namespace GameRes.Formats.KiriKiri
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class NanaCxCrypt : SenrenCxCrypt
|
||||
public class CabbageCxCrypt : SenrenCxCrypt
|
||||
{
|
||||
uint m_random_seed;
|
||||
|
||||
public uint[] YuzKey;
|
||||
|
||||
public NanaCxCrypt (CxScheme scheme, uint seed) : base (scheme)
|
||||
public CabbageCxCrypt (CxScheme scheme, uint seed) : base (scheme)
|
||||
{
|
||||
m_random_seed = seed;
|
||||
}
|
||||
|
||||
public override string NamesSectionId { get { return "dls:"; } }
|
||||
public override string NamesSectionId { get { return "cbg:"; } }
|
||||
|
||||
internal override CxProgram NewProgram (uint seed)
|
||||
{
|
||||
return new CxProgramNana (seed, m_random_seed, ControlBlock);
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class NanaCxCrypt : CabbageCxCrypt
|
||||
{
|
||||
public uint[] YuzKey;
|
||||
|
||||
public NanaCxCrypt (CxScheme scheme, uint seed) : base (scheme, seed)
|
||||
{
|
||||
}
|
||||
|
||||
public override string NamesSectionId { get { return "dls:"; } }
|
||||
|
||||
internal override void ReadYuzNames (byte[] yuz, FilenameMap filename_map)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user