diff --git a/src/pug/mixed-input/_midb.yaml b/src/pug/mixed-input/_midb.yaml index 50d9843..7a9d77b 100644 --- a/src/pug/mixed-input/_midb.yaml +++ b/src/pug/mixed-input/_midb.yaml @@ -60,13 +60,12 @@ "Jump Space": {tier: NO, type: FPS, steamId: 1757300, altCover: f401ae1af25f31fdfed24f56cf98ea4a32d79997 } "Kingdom Come: Deliverance": {tier: PLAT, type: FPS, steamId: 379430 } "Left 4 Dead 2": {tier: GOLD, type: FPS, steamId: 550 } -"Marvel Rivals": {tier: NO, type: TP, steamId: 2767030 } "Metro Exodus": {tier: NO, type: FPS, steamId: 412020 } "Minecraft (Bedrock edition)": {tier: GOLD, type: FPS, steamId: null, altCover: /minecraft } "Mirror's Edge": {tier: GOLD, type: FPS, steamId: 17410 } "Necromunda: Hired Gun": {tier: GOLD, type: FPS, steamId: 1222370 } "Neon White": {tier: GOLD, type: FPS, steamId: 1533420 } -"Noita": {tier: NO, type: PLAT, steamId: 881100 } +"Noita": {tier: NO, type: TWIN, steamId: 881100 } "Once Human": {tier: NO , type: TP, steamId: 2139460 } "Outer Wilds": {tier: NO, type: FPS, steamId: 753640 } "Overload": {tier: GOLD, type: COCK, steamId: 448850 } @@ -104,8 +103,9 @@ "Witchfire": {tier: GOLD, type: FPS, steamId: 3156770, altCover: 20eb65d67b33ae31b48459ed226014231d3e4fe5 } # Games with additional notes. -"Fortnite": {tier: PLAT, type: TP, steamId: null, notes: 'User can force MKB UI, but not gamepad UI', altCover: /fortnite } -"Ghost Recon Breakpoint": {tier: PLAT, type: TP, steamId: 2231380, notes: 'User can force MKB UI, but not gamepad UI' } +"Fortnite": {tier: PLAT_, type: TP, steamId: null, notes: 'User can force MKB UI, but not gamepad UI', altCover: /fortnite } +"Ghost Recon Breakpoint": {tier: PLAT_, type: TP, steamId: 2231380, notes: 'User can force MKB UI, but not gamepad UI' } +"Marvel Rivals": {tier: PLAT_, type: TP, steamId: 2767030, notes: 'User can force MKB UI, but not gamepad UI' } "I Am Your Beast": {tier: PLAT, type: FPS, steamId: 1876590, notes: 'Mixed input must be enabled in settings' } "Kingdom Come: Deliverance 2": {tier: SILV, type: FPS, steamId: 1771300, notes: 'Inconsistent behavior between modes (Quick potions)' } "Deep Rock Galactic": {tier: SILV, type: FPS, steamId: 548430, notes: 'Inconsistent behavior between modes (Resupply)' } @@ -113,8 +113,9 @@ "Stellar Blade": {tier: SILV, type: TP, steamId: 3489700, notes: 'Inconsistent behavior between modes (Look sensitivities)', altCover: header } "No Man's Sky": {tier: SILV, type: FPS, steamId: 275850, notes: 'Gamepad with mouse-look works, but keyboard or mouse-buttons break mixed input' } "Grand Theft Auto V": {tier: BRON, type: TP, steamId: 271590, notes: 'Needs mods to unpack and edit control XML files' } -"Returnal": {tier: BRON, type: TP, steamId: 1649240, notes: 'Sound glitch that can be fixed by modifying game files' } +"Returnal": {tier: BRON, type: TP, steamId: 1649240, notes: 'Inconsistent behavior between modes (Alt-fire toggle). Sound glitch that can be fixed by modifying game files.' } "Star Wars Outlaws": {tier: BRON, type: TP, steamId: 2842040, notes: 'UI flickering has a small impact on performance', altCover: header } +"Nobody Wants to Die": {tier: BRON, type: FPS, steamId: 1939970, notes: 'UI flickering has a small impact on performance'} "The Elder Scrolls V: Skyrim": {tier: BRON, type: FPS, steamId: 489830, notes: 'Mixed input works with DirectInput, but not with XInput' } "Dusk": {tier: NO, type: FPS, steamId: 519860, notes: 'Almost works, but input is interrupted each few seconds' } diff --git a/src/pug/mixed-input/db.pug b/src/pug/mixed-input/db.pug index dcf7e83..cd7b28a 100644 --- a/src/pug/mixed-input/db.pug +++ b/src/pug/mixed-input/db.pug @@ -11,6 +11,7 @@ block page - const TierNames = { PLAT: 'Platinum', + PLAT_: 'Platinum↓', GOLD: 'Gold', SILV: 'Silver', BRON: 'Bronze', @@ -22,15 +23,16 @@ block page TP: 'Third Person', COCK: 'Cockpit', TWIN: 'Twin Sticks', - PLAT: 'Platformer', + PL2D: 'Platformer', } const TierSort = { PLAT: 1, - GOLD: 2, - SILV: 3, - BRON: 4, - NO: 5, - _: 6, + PLAT_: 2, + GOLD: 3, + SILV: 4, + BRON: 5, + NO: 6, + _: 7, } div.boxes.wiki @@ -63,7 +65,7 @@ block page option(value='TP' )= CategoryNames['TP' ] option(value='COCK')= CategoryNames['COCK'] option(value='TWIN')= CategoryNames['TWIN'] - option(value='PLAT')= CategoryNames['PLAT'] + //- option(value='PLAT')= CategoryNames['PLAT'] include ./_sidebar.pug @@ -90,7 +92,6 @@ block page if (id && game.altCover) return `https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/${id}/${game.altCover}/header.jpg` } - const limit = 1000 let count = 0 @@ -105,7 +106,7 @@ block page .replaceAll('(', '') .replaceAll(')', '') .toLowerCase() - const badgeUrl = TierNames[game.tier].toLowerCase().replace(' ', '_') + const badgeUrl = TierNames[game.tier].toLowerCase().replace(' ', '_').replace('↓', '_') const categoryName = CategoryNames[game.type] const permalink = PATH + '?game=' + nameId diff --git a/src/pug/mixed-input/tiers.pug b/src/pug/mixed-input/tiers.pug index 668713c..98ce227 100644 --- a/src/pug/mixed-input/tiers.pug +++ b/src/pug/mixed-input/tiers.pug @@ -28,6 +28,8 @@ block page ul li Allowing to choose which input device prompts are displayed (not just which flavor of gamepad icons). li Allowing to remove unused keybinds, eliminating any ambiguity about which prompt should be displayed. + br + i #[b *Platinum↓ (Lesser platinum):] The setting to lock UI has some kind of limitation. div.tier div.badge diff --git a/src/static/img/badge_platinum_.png b/src/static/img/badge_platinum_.png new file mode 100644 index 0000000..44371cd Binary files /dev/null and b/src/static/img/badge_platinum_.png differ diff --git a/src/static/midb.js b/src/static/midb.js index 162dd52..0f0d8df 100644 --- a/src/static/midb.js +++ b/src/static/midb.js @@ -34,7 +34,7 @@ class MIDB { elements.forEach(element => { const match = ( (name === '' || element.id.includes(name)) && - (tier === '' || element.dataset.tier == tier) && + (tier === '' || element.dataset.tier.replace('_', '') == tier) && (category === '' || element.dataset.category == category) ) const reachedLimit = count > this.filterState.limit