mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 21:58:53 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0becd380e8 | ||
|
|
686f844969 |
@@ -358,13 +358,17 @@ namespace GameRes.Formats.Emote
|
||||
if (encrypted && m_version < 3)
|
||||
m_flags = 2;
|
||||
|
||||
int header_size = m_version > 3 ? 0x30 : 0x24;
|
||||
int header_size = m_version > 3 ? 0x30 : 0x20;
|
||||
var header = m_input.ReadBytes (header_size);
|
||||
if (encrypted && 0 != (m_flags & 1))
|
||||
{
|
||||
Decrypt (header, 0, 0x24);
|
||||
if (m_version > 3)
|
||||
{
|
||||
Decrypt (header, 0, 0x24);
|
||||
Decrypt (header, 0x24, 0xC);
|
||||
}
|
||||
else
|
||||
Decrypt (header, 0, 0x20);
|
||||
}
|
||||
|
||||
m_names = LittleEndian.ToInt32 (header, 0x04); // 0x08
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion ("1.2.45.2080")]
|
||||
[assembly: AssemblyFileVersion ("1.2.45.2080")]
|
||||
[assembly: AssemblyVersion ("1.2.46.2082")]
|
||||
[assembly: AssemblyFileVersion ("1.2.46.2082")]
|
||||
|
||||
@@ -51,5 +51,5 @@ using System.Windows;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion ("1.5.41.2805")]
|
||||
[assembly: AssemblyFileVersion ("1.5.41.2805")]
|
||||
[assembly: AssemblyVersion ("1.5.42.2807")]
|
||||
[assembly: AssemblyFileVersion ("1.5.42.2807")]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<GARbro>
|
||||
<Release>
|
||||
<Version>1.5.41</Version>
|
||||
<Version>1.5.42</Version>
|
||||
<Url>https://github.com/morkt/GARbro/releases/latest</Url>
|
||||
<Notes>New formats:
|
||||
- LNK archives, PRT images and WAF audio
|
||||
|
||||
Reference in New Issue
Block a user