From d1b1c87fc7453e914cbaadbe5571e06ba9be4413 Mon Sep 17 00:00:00 2001 From: Marek Rusinowski Date: Wed, 6 Dec 2023 01:15:42 +0100 Subject: [PATCH] Cleanup aspect ratio and solid archives whitelists (#229) All maps were fixed --- scripts/js/src/check_archive_not_solid.ts | 50 +--------------------- scripts/js/src/check_photo_aspect_ratio.ts | 6 +-- 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/scripts/js/src/check_archive_not_solid.ts b/scripts/js/src/check_archive_not_solid.ts index e6a0261..9094465 100644 --- a/scripts/js/src/check_archive_not_solid.ts +++ b/scripts/js/src/check_archive_not_solid.ts @@ -5,55 +5,7 @@ import { readMapList, fetchMapsMetadata } from './maps_metadata.js'; const maps = await readMapList(); const mapsMetadata = await fetchMapsMetadata(maps); -const whitelist = new Set([ - 'Altored Divide Bar Remake 1.6', - 'Angel Crossing 1.5', - 'Bismuth Valley v2.2', - 'Callisto v3', - 'Coastlines_Dry_V2.2', - 'Copper Hill v1', - 'Crater Islands Remake v1.0', - 'Death Valley v1', - 'Deeploria Fields v1.5', - 'Desolation v1', - 'EmainMacha Remake 2.1', - 'Eye Of Horus 1.7', - 'Flats and Forests v2.1', - 'Gecko Isle Remake v1.2', - 'Geyser Plains BAR v1.2', - 'Ghenna Rising 4.0', - 'Greenest Fields 1.3', - 'Heartbreak Hill v4', - 'Hooked 1.1', - 'Hotlips Remake v3.1', - 'Hotstepper 5 1.2', - 'Ice Scream v2.5', - 'Incandescence Remake 3.3', - 'Into Battle Redux v3', - 'Kolmogorov Remake 3.0', - 'Lake Carne v2', - 'Mariposa Island v2.4', - 'Melting Glacier v1.1', - 'Mithril Mountain v2', - 'Neurope_Remake 4.2', - 'Onyx Cauldron 2.2', - 'Point of No Return v1.0', - 'Red Rock Desert v1', - 'Requiem Outpost 1.0', - 'ReRaghnarok 1', - 'Sertagatta v6.0', - 'Seths Ravine Remake 1.3', - 'Shallow Straits v1', - 'Silent Sea v1', - 'Silveridge v1', - 'Sky Isle v1.1', - 'Sphagnum Bog v1.2', - 'Timna Island 1.0', - 'Tumult Remake v1.0', - 'Tundra Continents v2.3', - 'Valles Marineris 2.6', - 'Zed Remake 3.3', -]); +const whitelist: Set = new Set([]); let anySolid = false; for (const [rowyId, map] of Object.entries(maps)) { diff --git a/scripts/js/src/check_photo_aspect_ratio.ts b/scripts/js/src/check_photo_aspect_ratio.ts index de9e98a..d87b716 100644 --- a/scripts/js/src/check_photo_aspect_ratio.ts +++ b/scripts/js/src/check_photo_aspect_ratio.ts @@ -46,11 +46,7 @@ await Promise.all(requests); let allOk = true; -const whitelist = new Set([ - 'Heartbreak Hill v4', - 'Death Valley v1', - 'Fallendell_V4', -]); +const whitelist: Set = new Set([]); for (const [rowyId, map] of Object.entries(maps)) { const imgSizes = imageSize(path.join(photoCacheDir, photoUrlHash.get(rowyId) + '.webp'));