Add support for ".fullborder" cards

(to differentiate full image cards and full image cards with full borders,
so it will only crop full image cards with full borders)
This commit is contained in:
Anthony Calosa
2019-11-16 17:36:30 +08:00
parent f50ee0ba36
commit d0a23fbf14
5 changed files with 20 additions and 9 deletions

View File

@@ -111,7 +111,11 @@ public final class ImageKeys {
file = findFile(dir, TextUtil.fastReplace(filename, "AE", "Ae"));
if (file != null) { return file; }
}
//try fullborder...
if (filename.contains(".full")) {
file = findFile(dir, TextUtil.fastReplace(filename, ".full", ".fullborder"));
if (file != null) { return file; }
}
// some S00 cards are really part of 6ED
String s2kAlias = getSetFolder("S00");
if (filename.startsWith(s2kAlias)) {