mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
Compare commits
25 Commits
GARbro-Mod
...
GARbro-Mod
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
836afd036d | ||
|
|
c5ed1cda41 | ||
|
|
2746d3697b | ||
|
|
6e2adb4134 | ||
|
|
01d52314d5 | ||
|
|
c656fb676a | ||
|
|
a2e6bd97db | ||
|
|
0e1296c3e5 | ||
|
|
9f6e917751 | ||
|
|
9293739704 | ||
|
|
635f1b4d1c | ||
|
|
d37a33c7f5 | ||
|
|
8d8f9021bc | ||
|
|
6f3bc6d069 | ||
|
|
0ec607a49f | ||
|
|
cfdcf8b8f2 | ||
|
|
c0202a568b | ||
|
|
00812cd024 | ||
|
|
538e865146 | ||
|
|
d5ae2bb780 | ||
|
|
7045f0c502 | ||
|
|
207e223e47 | ||
|
|
ac940f8906 | ||
|
|
c5b5e97938 | ||
|
|
5c1b07f27a |
@@ -287,6 +287,8 @@ namespace GameRes.Formats.Malie
|
||||
int offset = LittleEndian.ToInt32 (m_index, current_offset+0x18);
|
||||
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
|
||||
current_offset += 0x20;
|
||||
if (name.StartsWith("/"))
|
||||
name = name.Substring(1);
|
||||
name = Path.Combine (root, name);
|
||||
if (0 == (flags & 0x30000))
|
||||
{
|
||||
|
||||
Binary file not shown.
@@ -67,6 +67,12 @@ namespace GARbro
|
||||
*/
|
||||
}
|
||||
|
||||
ImageFormat FindFormat(string format)
|
||||
{
|
||||
var range = FormatCatalog.Instance.LookupExtension<ImageFormat>(format);
|
||||
return range.FirstOrDefault();
|
||||
}
|
||||
|
||||
void Run (string[] args)
|
||||
{
|
||||
int argn = 0;
|
||||
@@ -131,7 +137,7 @@ namespace GARbro
|
||||
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
|
||||
continue;
|
||||
}
|
||||
var arc = (ArchiveFileSystem)VFS.Top;
|
||||
var arc = ((ArchiveFileSystem)VFS.Top).Source;
|
||||
if (args.Length > argn+1)
|
||||
{
|
||||
for (int i = argn+1; i < args.Length; ++i)
|
||||
|
||||
Reference in New Issue
Block a user