updated formats.

This commit is contained in:
morkt 2018-09-02 23:58:07 +04:00
parent 9cb100d0d2
commit 381f24ba7c
11 changed files with 39 additions and 7 deletions

View File

@ -355,6 +355,7 @@ namespace GameRes.Formats.NonColor
uint Extend8Bit (byte v)
{
// 0xFF -> -1 -> 0xFFFFFFFF
return ExtendByteSign ? (uint)(int)(sbyte)v : v;
}

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.42.1834")]
[assembly: AssemblyFileVersion ("1.2.42.1834")]
[assembly: AssemblyVersion ("1.2.42.1887")]
[assembly: AssemblyFileVersion ("1.2.42.1887")]

Binary file not shown.

View File

@ -76,6 +76,7 @@ Global
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Prerelease|Any CPU.ActiveCfg = Prerelease|Any CPU
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Prerelease|Any CPU.Build.0 = Prerelease|Any CPU
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C79E82A8-8D32-485D-8442-2D4F71FBB5D5}.Release|Any CPU.Build.0 = Release|Any CPU
{73B6C693-9846-4D33-8300-A80239FCFFF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU

View File

@ -27,6 +27,8 @@ using System.ComponentModel.Composition;
using System.IO;
using System.Windows.Media;
// [000623][Marimo] Setsunai
namespace GameRes.Formats.Dice
{
internal class RbpMetaData : ImageMetaData

View File

@ -127,8 +127,8 @@ namespace GameRes.Formats.KeroQ
Buffer.BlockCopy (buffer, 1, pixels, dst, stride);
dst += stride;
}
PixelFormat format = 24 == info.BPP ? PixelFormats.Bgr24 : PixelFormats.Bgr32;
return ImageData.Create (info, PixelFormats.Bgr24, null, pixels);
PixelFormat format = 24 == info.BPP ? PixelFormats.Bgr24 : PixelFormats.Bgra32;
return ImageData.Create (info, PixelFormats.Bgr24, null, pixels, stride);
}
}

View File

@ -28,6 +28,8 @@ using System.IO;
using System.Windows.Media;
using System.Windows.Media.Imaging;
// [010719][Studio Jikkenshitsu] Shin Gekka Bijin ~Hitori Shizuka
namespace GameRes.Formats.Speed
{
internal class SpMetaData : ImageMetaData
@ -46,7 +48,7 @@ namespace GameRes.Formats.Speed
public SpDatFormat ()
{
Extensions = new string[0];
Signatures = new uint[] { 0x010003, 0x010007, 0 };
Signatures = new uint[] { 0x010003, 0x010007, 0x01000B, 0 };
}
public override ImageMetaData ReadMetaData (IBinaryStream file)
@ -55,7 +57,7 @@ namespace GameRes.Formats.Speed
if (header.ToInt32 (4) != 0)
return null;
int flags = header.ToUInt16 (0);
if ((flags & ~7) != 0)
if ((flags & ~0xF) != 0)
return null;
return new SpMetaData {
Width = header.ToUInt16 (0x16),

View File

@ -29,6 +29,8 @@ using System.ComponentModel.Composition;
using System.IO;
using System.Windows.Media;
// [000331][WEAPON] Seido Techou
namespace GameRes.Formats.Weapon
{
internal class CgEntry : Entry

View File

@ -27,6 +27,7 @@ using System.ComponentModel.Composition;
using System.IO;
using System.Windows.Media;
// [000421][Sepia] Rinjin Mousou ~Danchizoku no Hirusagari~
// [000623][Sweet] Depaga ~Service Angel~
namespace GameRes.Formats.Hmp

View File

@ -307,6 +307,7 @@ Crime Rhyme series<br/>
Damegane<br/>
Dare mo ga Kanojo o Neratteru<br/>
Distance<br/>
Ero Mangaka-san to Binbou Shimai<br/>
ExE<br/>
Fair Child<br/>
Fantasical<br/>
@ -374,6 +375,7 @@ Riddle Joker<br/>
Riding Incubus<br/>
Royal Garden ~Otome ni Koi Suru Ouji no Gikyoku~<br/>
Rui wa Tomo o Yobu<br/>
Ryuukishi Bloody†Saga<br/>
Sakura Sakura<br/>
Sanoba Witch<br/>
Se-kirara<br/>
@ -485,6 +487,7 @@ Ren no Koi<br/>
<tr class="odd"><td>*.ald</td><td>-</td><td></td><td rowspan="8">Alice Soft</td><td rowspan="8">
Boku dake no Hokenshitsu<br/>
Daiteikoku<br/>
Hisui no Hitomi<br/>
Majo no Shokuzai<br/>
Momoiro Guardian<br/>
Pastel Chime 3 Bind Seeker<br/>
@ -617,6 +620,7 @@ Re: Rem Plus <span class="footnote">ShiinaRio v2.50</span><br/>
Ryoumaden ~Houkago no Rakuen~ <span class="footnote">ShiinaRio v2.47</span><br/>
Sabae no Ou <span class="footnote">ShiinaRio v2.36</span><br/>
Saimin Seikatsu ~Kousoku Dakara Shikatanai!?~ <span class="footnote">ShiinaRio v2.47</span><br/>
Sensei! Shite Ageru <span class="footnote">ShiinaRio v2.48</span><br/>
Shinigami no Testament <span class="footnote">ShiinaRio v2.49</span><br/>
Shinseki no Oba-san ~Hanare no Netsujo, Honke no Gosai~ <span class="footnote">ShiinaRio v2.36</span><br/>
Shojo Mama<span class="footnote">ShiinaRio v2.49</span><br/>
@ -755,6 +759,7 @@ Chijoku no Kankei ~Inkou Kyoushi~<br/>
Chijoku no Kankei 2<br/>
Jii -Nozoki no Houshuu-<br/>
Keibiin 2<br/>
Iinari Aneiro ~Onee-chan sae Ireba Ii!~<br/>
Itazura ZERO<br/>
Mariko-sanchi no Seijijou ~Oba-san wa Boku no Mono~<br/>
Oira wa Bandai 2<br/>
@ -863,6 +868,7 @@ RPG Gakuen<br/>
<tr class="odd"><td>*.crm</td><td><tt>CRXB</tt></td><td></td></tr>
<tr class="odd last"><td>*.pcm</td><td><tt>XPCM</tt></td><td></td></tr>
<tr><td>*.pak</td><td><tt>CHERRY PACK 2.0</tt><br/><tt>CHERRY PACK 3.0</tt><br/>-</td><td></td><td>Cherry</td><td>
Angel's Lesson<br/>
Double<br/>
Exile ~Blood Royal 2~<br/>
Gakuen ~Nerawareta Chitai~<br/>
@ -1055,6 +1061,7 @@ Saikyou Goshujin-sama! -Mighty My Master-<br/>
Saiminjutsu Re<br/>
Soredemo Tsuma o Aishiteru<br/>
Summoner Princess Artemina 2 -Tatakae! Apologue-<br/>
Wanko no Yomeiri ~Inu no Shippo e Youkoso!~<br/>
Wizard Links<br/>
</td></tr>
<tr class="last"><td>*.med</td><td><tt>MD</tt></td><td></td></tr>
@ -1117,6 +1124,7 @@ Uchi no Kanojo<br/>
<tr class="last"><td>*.grp</td><td><tt>AiFS</tt></td><td></td></tr>
<tr class="odd"><td>*.dat<br/>*.cg</td><td>-</td><td></td><td>ACTGS</td><td>
Bin Can Darling<br/>
Niji o Mitsuketara Oshiete.<br/>
Oreiro Ganbou<br/>
Otome Smile<br/>
Tadashiki Himehajime<br/>
@ -1202,6 +1210,7 @@ Shiawase Kazoku-bu<br/>
<tr><td>*.msk</td><td><tt>MSK0</tt></td><td></td></tr>
<tr class="last"><td>*.mv2</td><td><tt>MV2X</tt></td><td></td></tr>
<tr class="odd"><td>*.g2<br/>*.stx</td><td>-</td><td></td><td rowspan="2">GLib2</td><td rowspan="2">
Aniyome Dakara!<br/>
Hikikomori Muke Hitozuma-sensei<br/>
Hitozuma Net Auction<br/>
</td></tr>
@ -1668,6 +1677,7 @@ Ura Seitokai yo, Koumon o Seiatsu Seyo!<br/>
Idol★Harem<br/>
Inkou Karen Doukoukai<br/>
Minami-kun no Junan ~Kyousei Seitenkan Gorankou~<br/>
Nami no Mani Mani ~Sazanami Shinryoujo~<br/>
</td></tr>
<tr class="odd last"><td>*.mgd</td><td><tt>MGD</tt></td><td></td></tr>
<tr><td>*.dat+*.db</td><td>-</td><td></td><td>IGS</td><td>
@ -1676,6 +1686,7 @@ Maou no Ingu<br/>
<tr class="odd"><td>*.bin</td><td><tt>KAR</tt></td><td></td><td rowspan="4">Cadath</td><td rowspan="4">
DA Pantsu!!<br/>
Doreijou<br/>
Hiretsu<br/>
</td></tr>
<tr class="odd"><td>*.kgf</td><td><tt>KGF</tt></td><td></td></tr>
<tr class="odd"><td>*.arc</td><td><tt>DAF\x1A</tt></td><td></td></tr>
@ -1750,6 +1761,7 @@ Ryoujoku Joshi Gakuen<br/>
<tr class="odd"><td>*.wsm</td><td><tt>WSM1</tt><br/><tt>WSM2</tt><br/><tt>WSM3</tt><br/><tt>WSM4</tt></td><td></td></tr>
<tr class="odd last"><td>*</td><td><tt>BC</tt></td><td></td></tr>
<tr><td>*.pak</td><td><tt>Graphic PackData</tt></td><td></td><td rowspan="2">cromwell</td><td rowspan="2">
Anagan Oyako<br/>
Ikenie Reijou<br/>
Keraku no Ou<br/>
Tremolo<br/>
@ -1926,6 +1938,9 @@ Ryoujoku Ukeoinin Tsuboshi<br/>
<tr><td>*.mma</td><td><tt>ARC!</tt></td><td></td><td>MNP</td><td>
Izayoi Renka<br/>
</td></tr>
<tr><td>*.red</td><td><tt>RE0</tt></td><td></td><td>Ocarina</td><td>
Stay ~Anata no Tonari ni~<br/>
</td></tr>
</table>
<p><a name="note-1" class="footnote">1</a> Non-encrypted only</p>
</body>

View File

@ -17,10 +17,18 @@
</Release>
<FormatsData>
<FileVersion>122</FileVersion>
<Url>https://github.com/morkt/GARbro/raw/master/ArcFormats/Resources/Formats.dat</Url>
<Url>https://github.com/morkt/GARbro/raw/7778b1c8206caadddba9a3dcb2e93d099c28f286/ArcFormats/Resources/Formats.dat</Url>
<Requires>
<Assembly Name="ArcFormats" Version="1.2.41.1815"/>
<Assembly Name="GameRes" Version="1.4.26.238"/>
</Requires>
</FormatsData>
<FormatsData>
<FileVersion>123</FileVersion>
<Url>https://github.com/morkt/GARbro/raw/master/ArcFormats/Resources/Formats.dat</Url>
<Requires>
<Assembly Name="ArcFormats" Version="1.2.42.1850"/>
<Assembly Name="GameRes" Version="1.4.26.238"/>
</Requires>
</FormatsData>
</GARbro>