Difference between revisions of "BobscreenTest"

From Sega Retro

 
Line 1: Line 1:
<includeonly>{{let|imagedim={{#replace:{{#mediadimensions:{{{1|}}}}}|,|}}}}{{let|imagew={{#explode:{{#var:imagedim}}|×|0}}|imageh={{#explode:{{#var:imagedim}}|×|1}}}}
+
<includeonly>{{#if:{{{noresize|}}}|[[File:{{{1|}}}{{#if:{{{width|}}}{{{height|}}}|{{!}}}}{{#if:{{{width|}}}|{{{width|}}}}}{{#if:{{{height|}}}|x{{{height|}}}}}{{#if:{{{width|}}}{{{height|}}}|px}}]]|{{let|imagedim={{#replace:{{#mediadimensions:{{{1|}}}}}|,|}}}}{{let|imagew={{#explode:{{#var:imagedim}}|×|0}}|imageh={{#explode:{{#var:imagedim}}|×|1}}}}
 
{{let|bsparams={{#switch:{{#var:imagedim}}
 
{{let|bsparams={{#switch:{{#var:imagedim}}
 
<!--thumbnail width, display width, display height, crop (1=no, 2=show left half only)-->
 
<!--thumbnail width, display width, display height, crop (1=no, 2=show left half only)-->
Line 14: Line 14:
 
| 704 × 448 = 352,320,224,1 <!--Saturn-->
 
| 704 × 448 = 352,320,224,1 <!--Saturn-->
 
| 352 × 240
 
| 352 × 240
 +
| 352 × 256
 
| 704 × 480 = 352,320,240,1 <!--Saturn PAL-->
 
| 704 × 480 = 352,320,240,1 <!--Saturn PAL-->
 
| 224 × 224 = 224,320,224,1 <!--Bank Panic-->
 
| 224 × 224 = 224,320,224,1 <!--Bank Panic-->
Line 21: Line 22:
 
| 384 × 224 = 384,320,224,1 <!-- Capcom arcade -->
 
| 384 × 224 = 384,320,224,1 <!-- Capcom arcade -->
 
| 416 × 224 = 416,320,224,1 <!-- Burning Rival -->
 
| 416 × 224 = 416,320,224,1 <!-- Burning Rival -->
 +
| 224 × 320 = 224,224,320,1 <!--Vertical arcade (e.g. Time Scanner)-->
 
| 224 × 256 = 224,224,320,1 <!--Vertical arcade (e.g. Deep Scan)-->
 
| 224 × 256 = 224,224,320,1 <!--Vertical arcade (e.g. Deep Scan)-->
 
| 240 × 256 = 240,240,320,1 <!--Vertical arcade (e.g. Angel Kids)-->
 
| 240 × 256 = 240,240,320,1 <!--Vertical arcade (e.g. Angel Kids)-->
Line 39: Line 41:
 
| 256 × 384 = 256,256,384,1 <!--Nintendo DS-->
 
| 256 × 384 = 256,256,384,1 <!--Nintendo DS-->
 
| 400 × 480 = 320,320,384,1 <!--Nintendo 3DS-->
 
| 400 × 480 = 320,320,384,1 <!--Nintendo 3DS-->
| 800 × 480 = 640,640,384,2 <!--Nintendo 3DS 3D-->
+
<!--| 800 × 480 = 640,640,384,2 Nintendo 3DS 3D-->
 
| 480 × 272 = 320,320,181,1 <!--PlayStation Portable-->
 
| 480 × 272 = 320,320,181,1 <!--PlayStation Portable-->
 
| 960 × 544 = 320,320,181,1 <!--PlayStation Vita-->
 
| 960 × 544 = 320,320,181,1 <!--PlayStation Vita-->
 +
| 800 × 480 = 320,320,192,1 <!--Android-->
 +
| 480 × 800 = 240,240,400,1 <!--Android; vertical-->
 +
| 1792 × 828 = 320,320,147.857,1 <!--iOS -->
 
| 160 × 152 = 160,160,152,1 <!--NGPC-->
 
| 160 × 152 = 160,160,152,1 <!--NGPC-->
 
| 256 × 212 = 256,283,212,1 <!-- MSX2 -->
 
| 256 × 212 = 256,283,212,1 <!-- MSX2 -->
Line 60: Line 65:
 
| 352 × 184 = 352,320,240,1 <!-- VIC-20 -->
 
| 352 × 184 = 352,320,240,1 <!-- VIC-20 -->
 
| 360 × 240 = 360,320,240,1 <!-- VIC-20 -->
 
| 360 × 240 = 360,320,240,1 <!-- VIC-20 -->
 +
| 360 × 230 = 360,320,240,1 <!-- PC-6001 -->
 
| 320 × 210
 
| 320 × 210
 
| 320 × 214 = 320,320,240,1 <!-- Atari 2600 -->
 
| 320 × 214 = 320,320,240,1 <!-- Atari 2600 -->
Line 70: Line 76:
 
| 2560 × 1440
 
| 2560 × 1440
 
| 3840 × 2160 = 320,320,180,1 <!-- HD -->
 
| 3840 × 2160 = 320,320,180,1 <!-- HD -->
 +
| 720 × 1280
 +
| 1080 × 1920
 +
| 1440 × 2560
 +
| 2160 × 3840 = 320,180,320,1 <!--HD; vertical-->
 
| 320,320,224,1 <!--Default is Mega Drive NTSC-->
 
| 320,320,224,1 <!--Default is Mega Drive NTSC-->
 
}}}}{{let
 
}}}}{{let
Line 87: Line 97:
 
<div class="bobtransform" style="transform:scale({{#var:hscale}},{{#var:vscale}}); transform-origin:0% 0%; !important;">
 
<div class="bobtransform" style="transform:scale({{#var:hscale}},{{#var:vscale}}); transform-origin:0% 0%; !important;">
 
<div style="width:{{#expr:{{#var:thumbw}}*{{#var:scale}}}}px; height:{{#expr:{{#var:thumbh}}*{{#var:scale}}}}px;">
 
<div style="width:{{#expr:{{#var:thumbw}}*{{#var:scale}}}}px; height:{{#expr:{{#var:thumbh}}*{{#var:scale}}}}px;">
[[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px]]
+
[[File:{{{1|}}}|{{#expr:trunc({{#var:thumbw}}*{{#var:scale}})}}px|link={{{link|File:{{{1|}}}}}}]]
 
</div>
 
</div>
 
</div>
 
</div>
</div></includeonly><noinclude>
+
</div>}}</includeonly><noinclude>
 
{{BobTablePlus|
 
{{BobTablePlus|
 
{{BobRowPlus
 
{{BobRowPlus
Line 106: Line 116:
 
}}
 
}}
 
}}
 
}}
{{bobscreenTest|OutRun3D title.png|width=120}}
+
{{bobscreenTest|OutRun3D title.png|width=120|link=OutRun 3D}}
 
{{bobscreenTest|CosmicSpacehead SMS Title.png|keepwidth=yes}}
 
{{bobscreenTest|CosmicSpacehead SMS Title.png|keepwidth=yes}}
 
{{bobscreenTest|CosmicSpacehead SMS Title.png|keepwidth=yes|width=120}}
 
{{bobscreenTest|CosmicSpacehead SMS Title.png|keepwidth=yes|width=120}}
 +
{{bobscreenTest|ComixZone PC Cheat.png|noresize=yes}}
 +
{{bobscreenTest|ComixZone PC Cheat.png|noresize=yes|width=200}}
 +
{{bobscreenTest|ComixZone PC Cheat.png|noresize=yes|height=200}}
 
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
 
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
  

Latest revision as of 00:33, 13 February 2022

Sonic1 title.png

testing

OutRun3D title.png

CosmicSpacehead SMS Title.png

CosmicSpacehead SMS Title.png

ComixZone PC Cheat.png ComixZone PC Cheat.png ComixZone PC Cheat.png 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

{{BobscreenTest|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.

Examples

Code Raw image Output
{{bobscreen|BurningRival title.png}} BurningRival title.png

BurningRival title.png

{{bobscreen|Virtua Fighter Title.png}} Virtua Fighter Title.png

Virtua Fighter Title.png

{{bobscreen|AlteredBeast PS2 title.png}} AlteredBeast PS2 title.png

AlteredBeast PS2 title.png

{{bobscreen|BladeEagle title.png}} BladeEagle title.png

BladeEagle title.png

{{bobscreen|OutRun3D title.png}} OutRun3D title.png

OutRun3D title.png

{{bobscreen|Scd titlescreen.png}} Scd titlescreen.png

Scd titlescreen.png

{{bobscreen|WinterHeat title.png}} WinterHeat title.png

WinterHeat title.png

{{bobscreen|Clockwork Knight Title.png}} ClockworkKnightUSPAL Title.png

ClockworkKnightUSPAL Title.png

{{bobscreen|NiGHTS title.png}} NiGHTS title.png

NiGHTS title.png

{{bobscreen|VirtuaFighter 32X Widescreen2.png|forcewidescreen=yes}} VirtuaFighter 32X Widescreen2.png

VirtuaFighter 32X Widescreen2.png

{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes}} VirtuaFighter 32X Widescreen2 PAL.png

VirtuaFighter 32X Widescreen2 PAL.png

{{bobscreen|VirtuaFighter 32X Widescreen2 PAL.png|forcewidescreen=yes|width=200}} VirtuaFighter 32X Widescreen2 PAL.png

VirtuaFighter 32X Widescreen2 PAL.png

{{bobscreen|Deep Scan.png}} Deep Scan.png

Deep Scan.png

{{bobscreen|Deep Scan.png|width=200}} Deep Scan.png

Deep Scan.png

{{bobscreen|Alex Kidd in Miracle World Title.png}} Alex Kidd in Miracle World Title.png

Alex Kidd in Miracle World Title.png

{{bobscreen|Outrun2spsdxscreen.png|width=320}} Outrun2spsdxscreen.png

Outrun2spsdxscreen.png

{{bobscreen|OutRun IBMPC CGA Title.png|width=320}} OutRun IBMPC CGA Title.png

OutRun IBMPC CGA Title.png

{{bobscreen|OutRun IBMPC Hercules Title.png|width=320}} OutRun IBMPC Hercules Title.png

OutRun IBMPC Hercules Title.png

{{bobscreen|GoldenAxe IBMPC Hercules Title.png|width=320}} GoldenAxe IBMPC Hercules Title.png

GoldenAxe IBMPC Hercules Title.png

{{bobscreen|SpaceHarrier Amiga title.png|width=320}} SpaceHarrier Amiga title.png

SpaceHarrier Amiga title.png

{{bobscreen|FroggerII A8B Level1.png|width=320}} FroggerII A8B Level1.png

FroggerII A8B Level1.png

{{bobscreen|AfterBurnerII PCE Title.png}} AfterBurnerII PCE Title.png

AfterBurnerII PCE Title.png

{{bobscreen|Columns MSX2 Title2.png}} Columns MSX2 Title2.png

Columns MSX2 Title2.png

{{bobscreen|BuckRogers VIC20 Title.png}} BuckRogers VIC20 Title.png

BuckRogers VIC20 Title.png

{{bobscreen|BuckRogers VIC20 Gameplay.png}} BuckRogers VIC20 Gameplay.png

BuckRogers VIC20 Gameplay.png

{{bobscreen|Frogger 2600 Gameplay.png}} Frogger 2600 Gameplay.png

Frogger 2600 Gameplay.png

{{bobscreen|SuperZaxxon AppleII Gameplay.png}} SuperZaxxon AppleII Gameplay.png

SuperZaxxon AppleII Gameplay.png

{{bobscreen|Carnival 2600 Gameplay.png}} Carnival 2600 Gameplay.png

Carnival 2600 Gameplay.png

{{bobscreen|GLOC Amiga Title.png}} GLOC Amiga Title.png

GLOC Amiga Title.png

{{bobscreen|HotRod Amiga Title.png}} HotRod Amiga Title.png

HotRod Amiga Title.png

{{bobscreen|SpaceHarrier X68 JP SSBoss.png}} SpaceHarrier X68 JP SSBoss.png

SpaceHarrier X68 JP SSBoss.png

{{bobscreen|BonanzaBros_X68_JP_SSTitle.png}} BonanzaBros X68 JP SSTitle.png

BonanzaBros X68 JP SSTitle.png

{{bobscreen|AlienSyndrome X68 JP SSIngame.png}} AlienSyndrome X68 JP SSIngame.png

AlienSyndrome X68 JP SSIngame.png

{{bobscreen|LastBattle Amiga Title.png}} LastBattle Amiga Title.png

LastBattle Amiga Title.png

{{bobscreen|Doom SNES Title.png}} Doom SNES Title.png

Doom SNES Title.png

{{bobscreen|Flashback Amiga Title.png}} Flashback Amiga Title.png

Flashback Amiga Title.png

{{bobscreen|GhoulsnGhosts Arcade Title.png}} GhoulsnGhosts Arcade Title.png

GhoulsnGhosts Arcade Title.png

{{bobscreen|DarkCastle Amiga Title.png}} DarkCastle Amiga Title.png

DarkCastle Amiga Title.png

{{bobscreen|WBiML SMS Title.png|smsgg=yes}} WBiML SMS Title.png

WBiML SMS Title.png