mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(MblOpener): manually assign "image" type to *.prs entries.
This commit is contained in:
parent
2da5ed1961
commit
eb5392a16b
@ -104,6 +104,10 @@ namespace GameRes.Formats.Marble
|
||||
entry = new Entry { Name = name, Type = "script" };
|
||||
contains_scripts = true;
|
||||
}
|
||||
else if (name.EndsWith (".prs"))
|
||||
{
|
||||
entry = new Entry { Name = name, Type = "image" };
|
||||
}
|
||||
else
|
||||
{
|
||||
entry = new AutoEntry (name, () => {
|
||||
@ -125,7 +129,7 @@ namespace GameRes.Formats.Marble
|
||||
return null;
|
||||
if (contains_scripts)
|
||||
{
|
||||
var options = Query<MblOptions> ("Archive contains encrypted scripts.\nChoose encryption scheme or enter a passphrase.");
|
||||
var options = Query<MblOptions> (arcStrings.MBLNotice);
|
||||
if (options.PassPhrase.Length > 0)
|
||||
return new MblArchive (file, this, dir, options.PassPhrase);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user