Actions

Template

Difference between revisions of "Bobscreen"

From Sega Retro

Line 8: Line 8:
 
#ifeq: {{#mediadimensions:{{{1}}}}} | 248 × 192 |{{#vardefine:xratio|31}}{{#vardefine:yratio|24}}|}}
 
#ifeq: {{#mediadimensions:{{{1}}}}} | 248 × 192 |{{#vardefine:xratio|31}}{{#vardefine:yratio|24}}|}}
 
}}
 
}}
 +
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 960 × 544 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
 
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,280 × 720 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
 
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,280 × 720 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
 
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,920 × 1080 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}
 
{{#ifeq:{{#mediadimensions:{{{1}}}}} | 1,920 × 1080 |{{#vardefine:xratio|16}}{{#vardefine:yratio|9}}|}}

Revision as of 06:12, 7 July 2018


This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.

Usage

{{bobscreen|MagicalPuzzlePopils title.png}}

returns












MagicalPuzzlePopils title.png

This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:

MagicalPuzzlePopils title.png

Options

{{bobscreen|MagicalPuzzlePopils title.png|width=120}}

returns












MagicalPuzzlePopils title.png

"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.

Height

In addition, this template corrects heights:

WinterHeat title.png ->












WinterHeat title.png


ClockworkKnightUSPAL Title.png ->












ClockworkKnightUSPAL Title.png


NiGHTS title.png ->












NiGHTS title.png


NiGHTS title.png ->












NiGHTS title.png

Anamorphic widescreen

widescreen VirtuaFighter 32X Widescreen2.png ->












VirtuaFighter 32X Widescreen2.png


widescreen VirtuaFighter 32X Widescreen2 PAL.png ->












VirtuaFighter 32X Widescreen2 PAL.png


widescreen w200 VirtuaFighter 32X Widescreen2 PAL.png ->












VirtuaFighter 32X Widescreen2 PAL.png


widescreen h200 VirtuaFighter 32X Widescreen2 PAL.png ->












VirtuaFighter 32X Widescreen2 PAL.png

Vertical monitors












Deep Scan.png












Deep Scan.png












Deep Scan.png

Master System

Alex Kidd in Miracle World Title.png ->












Alex Kidd in Miracle World Title.png

Widescreen












Vanquish title screen.png