Compare commits

..

2 Commits

Author SHA1 Message Date
morkt
0becd380e8 updated version. 2018-12-31 15:30:58 +04:00
morkt
686f844969 (PSB): fixed version 3 interpreter. 2018-12-31 15:27:50 +04:00
4 changed files with 11 additions and 7 deletions

View File

@@ -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

View File

@@ -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")]

View File

@@ -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")]

View File

@@ -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