Emulators with support for integer scaling

An emulator is an application that allows to run software (e. g. a game) intended to run on one platform (e. g. a game console) on another platform (e. g. a computer).

SNES (Super Nintendo, Super Famicom)

  • Snes9x — a SNES emulator — since the version 1.56.2 () supports integer scaling: “Video” → “Display Configuration” (“Display Settings”) → “General” → “Integer Scaling”. To disable blur, uncheck the “Video” → “Bilinear Filtering” checkbox, and to prevent other distortions of original image, set both dropdowns “Video” → “Display Configuration” (“Display Settings”) → “Output Image Processing” to “None”. Output method (“Video” → “Display Configuration” (“Display Settings”) → “General” → “Output Method”) must be set to “Direct3D” or “OpenGL”; the feature does not work in the “DirectDraw” mode. Limitation: when using the “Scanlines” filter, an even scale is forced, so screen height may be used less entirely than without the filter: for example, on a 4K monitor, the ratio used is 8 instead of 9.
  • Snes9x EX+ — a SNES emulator for Android — since the version 1.4.4 () supports integer scaling: “Options” → “Video” → “Screen Shape” → “Content Zoom” → “Integer-only”. To disable blur, switch the “Options” → “Video” → “Visuals” → “Image Interpolation” option to the “None” value instead of the default “Linear” value.
  • Mesen-S — a SNES emulator — supports integer scaling: “Options” → “Video” → “General” → “Use integer scale values when entering fullscreen mode”. To disable blur, the checkbox “Picture” → “Use bilinear interpolation when scaling” should be unchecked (unchecked by default). The emulator supports precise per-side cropping of the original image, which allows to utilize screen space fuller: “Options” → “Video” → “Overscan”.
  • bsnes-mt (improved version of bsnes) — a SNES emulator for Windows — has the “Pixel-Perfect” mode: “Settings” → “Output” → “Pixel-Perfect”. Unlike the “Center” mode in original bsnes, the “Pixel-Perfect” mode in bsnes-mt results in that scales are integer both vertically and horizontally, even with aspect-ratio correction enabled. Thanks to this, all pixels have exactly the same size, so there is no pixel shimmering (a.k.a. ripple effect, or jitter). Also, the user interface of bsnes-mt is available in multiple languages (English is also available), and screen­shots are saved in the compressed PNG format instead of BMP.
  • bsnes — a SNES emulator — since the version 107 (), automatically uses integer scaling in the “Center” mode (“Settings” → “Output” → “Center”). To disable blur, switch the “Settings” → “Shader” option to the “None” value instead of the default “Blur” value. Limitation: when using the “Scanlines” filter at an odd scale (e. g. 9 at the 4K native resolution) in conjunction with the rendering backend “OpenGL 3.2” (“Settings” → “Drivers” → “Video” → “Driver”), scanlines are rendered unevenly: for example, on a 4K monitor, each 7th line is thicker by 1 pixel than other scanlines.

NES (Nintendo, Famicom)

  • Mesen — a NES emulator — since the version 0.9.1 () supports integer scaling: “Options” → “Video” → “General” → “Use integer scale values when entering fullscreen mode”. To disable blur, the checkbox “Picture” → “Use bilinear interpolation when scaling” should be unchecked (unchecked by default). The emulator supports precise per-side cropping of the original image, including per-game settings, which allows to utilize screen space fuller: “Options” → “Video” → “Overscan”.
  • FCEUX — a NES emulator — supports full X+Y integer scaling in windowed mode, and it’s enabled by default: “Config” → “Video…” → “Windowed Settings” → “Force integral scaling factors”. Aspect-ratio correction can be enabled with the “Aspect ratio” → “TV Aspect” checkbox. In full-screen mode, integer scaling is not supported.
  • puNES — a NES emulator — since the version 0.105 () supports integer scaling: “Settings” → “Video” → “Misc” → “Use integer scaling in full­screen”. To disable blur, uncheck the “Interpolation” checkbox.

Game Boy, Game Boy Advance

  • mGBA — an emulator of portable game systems Game Boy, Game Boy Color and Game Boy Advance — since the version 0.6 () supports integer scaling: “Audio/Video” → “Force integer scaling”. To disable blur, the checkbox “Audio/Video” → “Bilinear filtering” should be unchecked (unchecked by default).
  • SameBoy — an emulator of the portable game systems Game Boy and Game Boy Color — since the version 0.9 () supports integer scaling: “Graphic Options” → “Scaling Mode” → “Retain Integer Factor”. To disable blur, make sure the option “Graphic Options” → “Scaling Filter” is set to the “Nearest Neighbor” value.

Multi­system emulators

  • RetroArch — a frontend for game-console emulators — supports integer scaling: “Settings” → “Video” → “Integer Scale”. To disable blur, set the “Settings” → “Video” → “Bilinear Filtering” parameter to the “Off” value. Since version 1.20, dual-axis integer scaling is supported: “Settings” → “Video” → “Scaling” → “Integer Scale Axis” → “Y + X”.
  • BizHawk — an emulator of multiple game systems — supports integer scaling: “Config” → “Display” → “Scaling & Filtering” → “Expand pixels by integers only (e.g no 1.3333x)”. To disable blur, set the “Final Filter” parameter to the “None” value (default). But sometimes aspect ratio is wrong and pixel proportions are distorted.
  • MAME — an emulator of multiple game systems and old computers — supports integer scaling with no blur. Integer scaling can be enabled with the command-line parameter -nounevenstretch or its short version -noues. When game is running, integer scaling can be enabled via the menu opened with the Tab key: “Video Options” → “Screen #0” → “Non-Integer Scaling” → “Off”. Blur can be disabled with the command-line parameter -nofilter, or by setting the option “Configure Options” → “Video Options” → “Bilinear Filtering” in MAME settings to the “Off” value.

    The algorithm of integer scaling in MAME uses pixels of the same size, so at low scales, aspect ratio of the scaled image may be inaccurate if the game needs aspect-ratio correction. For example, in the arcade version of the “Mortal Kombat 3” game (the original resolution is 400×254, target aspect ratio is 4:3), the scaled image is noticeably too narrow horizontally on FHD displays (logical-pixel size is 3×4 physical pixels, an error is 11.42%), while such disproportion is unnoticeable on 4K displays (pixel size is 7×8, an error is 3.34%).

  • higan — an emulator of 8/16-bit game consoles — since the version 104 () supports integer scaling: “Settings” → “Video” → “Windowed Mode” / “Fullscreen Mode” → “Integral scaling”). To disable blur, uncheck the “Settings” → “Video Emulation” → “Blurring” checkbox, and switch the “Settings” → “Video Shader” option to the “None” value instead of the default “Blur” value.
  • Mednafen — an emulator of multiple game systems and old computers — supports integer scaling. Mednafen is a console application with no built-in GUI. To enable integer scaling, in the mednafen.cfg file, set the *.stretch parameter for the emulated system to the aspect_int value. To enable aspect-ratio correction, set *.correct_aspect to 1. To disable blur, make sure that *.videoip is set to 0 (default). For example, for SNES:

    snes.stretch aspect_int
    snes.correct_aspect 1
    snes.videoip 0

  • Mesen 2.0 — an in-development emulator of NES, SNES (Super Nintendo), Game Boy, PC Engine, Sega Master System, Sega Game Gear — supports integer scaling in full-screen mode: “Settings” → “Video” → “General” → “Use integer scale values when entering fullscreen mode”.

    To disable blur, the checkbox “Settings” → “Video” → “Picture” → “Use bilinear interpolation when scaling” should be unchecked (unchecked by default).

    The emulator supports precise per-side cropping of the original image, which allows to utilize screen space fuller: “Settings” → “NES / SNES / Game Boy / PC Engine / SMS” → “Video” → “Overscan”.

    In Windows build from , in SNES games, image is output at double resolution with width of 512 pixels, even if the game is using regular resolution with width of 256 pixels, so screen is used less fully than could be if real resolution of the game was used.

  • jgenesis — an emulator of SNES (Super Nintendo), Sega Mega Drive (Genesis), Sega CD, Sega Master System, Sega Game Gear — supports integer scaling: “Video” → “General” → “Force integer height scaling”.

    To disable blur, the “Filter mode” option should be switched to “Nearest neighbor” value instead of default “Linear interpolation”.

MS-DOS

  • DOSBox-X — an improved unofficial version of the DOSBox emulator for running DOS applications — supports full integer scaling — with integer scales vertically and horizontally at the same time: “Video” → “Output” → “OpenGL Perfect”.

    Unlike the regular DOSBox, DOSBox-X features true scaling not based on filters, so integer scaling in full-screen mode is supported, and scale is calculated automatically and not limited to low values (3x in the official DOSBox).

    Windows version of DOSBox-X is not declared as a DPI-aware application, so for fuller screen-space usage and more precise aspect ratio, DPI mode should be overridden to “Application” manually via executable properties before launching DOSBox-X.

  • DOSBox ECE — an improved unofficial version of the DOSBox emulator for running DOS applications — supports integer scaling. Starting with the version r4318 (), the feature is unavailable, the latest version with support for integer scaling is r4301 ().

    Unlike the regular DOSBox, the ECE version features true scaling not based on filters, so integer scaling in full-screen mode is supported, and scale is calculated automatically and not limited to low values (3x in the official DOSBox).

    A value of openglpp or surfacepp should be used for the output parameter in the [sdl] section of the configuration file (*.conf) for the game, or the parameter should not be specified at all. To disable aspect-ratio correction (e. g. for stretching 320×200 to the height of 240 corresponding to the ratio of 4:3) and switching to perfect square pixels, use the aspect=false parameter in the [render] section of the configuration file. Vertical synchronization (V-Sync) at output=openglpp can be enabled with the glfullvsync=true parameter in the [sdl] section. For more details, see the readme for the pixel-perfect patch included also in the DOSBox ECE distribution (README for pixel-perfect patch.txt).

    Example of DOSBox ECE configuration file for the “Epic Pinball” game (click to expand)

    [sdl]
    fullscreen=true
    output=openglpp
    glfullvsync=true

    [cpu]
    cycles=4000

    [autoexec]
    mount C "."
    C:
    cd \EPICPIN
    PINBALL.EXE
    exit

  • DOSBox Staging — another DOSBox variant — supports integer scaling based on an implementation by the author of the patch used in DOSBox ECE. Compared with DOSBox ECE, performance of DOSBox Staging is lower. The feature is now removed, the latest version with support for both-axes pixel-perfect scaling is 0.80.1 ().

    The output parameter in the [sdl] section of the configuration file (*.conf) for the game, should be set to the openglpp or texturepp value. The scaler and glshader parameters in the [render] section should be set to the none value.

    Example of DOSBox Staging configuration file for the “Epic Pinball” game (click to expand)

    [sdl]
    fullscreen=true
    output=openglpp

    [render]
    scaler=none
    glshader=none

    [cpu]
    cycles=4000

    [autoexec]
    mount C "."
    C:
    cd \EPICPIN
    PINBALL.EXE
    exit

  • For DOSBox versions with support for shaders, there are shaders pixel_perfect.glsl and pixel_perfect-scanlines.glsl for full integer scaling — with integer scales vertically and horizontally at the same time, based on the author’s algorithm of the article author.

Other emulators

  • BlastEm — an emulator of the Sega Mega Drive (Genesis) game console — supports integer scaling. Can be enabled by setting the scaling option to the integer value instead of the default linear value in the configuration file C:\Users\USERNAMEAppData\Local\blastem\blastem.cfg.
  • DuckStation — an emulator of the Sony PlayStation (PSX) game console — supports integer scaling: “Settings” → “Display Settings” → “Screen Display” → “Integer Upscaling”. To disable blur, set the option “Settings” → “Enhancement Settings” → “Rendering Enhancements” → “Texture Filtering” to “Nearest-Neighbor” and make sure the option “Internal Resolution Scale” on the same settings’ page is set to “1x” (by default).
  • PCSX2 1.7+ (Qt version) — an emulator of the Sony PlayStation 2 game console — supports integer scaling: “Settings” → “Graphics” → “Display” → “Integer Scaling”.
  • Cemu — an emulator of the Wii U game console for Windows — since the version 1.15.2 () supports the “Nearest Neighbour” scaling algorithm: “Options” → “General settings” → “Graphics” → “Upscale filter” → “Nearest Neighbor”. A custom resolution can be set for some games via graphic packs: “Options” → “Graphic packs”.
  • WinUAE — an Amiga emulator — supports integer scaling: “Settings” → “Host” → “Filter” → the dropdown in the 3rd row, 3rd column → “Integer scaling” or “Auto Integer scaling”.
  • ScummVM — a modern software environment for running multiple old games like “Broken Sword” — since the version 2.1 () supports integer scaling: “Options” → “GFX” → “Stretch mode” → “Pixel-perfect scaling”. Blur can be disabled by unchecking the “Filter graphics” checkbox.

    There is also built-in scaling with the fixed integer ratios of 2x (200%) and 3x (300%) in windowed mode: “Options” → “GFX” → “Graphics mode”), but the global setting only applies to games with resolutions up to 320×240, while for games with higher resolutions, this should be specified per-game: “Edit Game” → “Graphics” → “Override global graphic settings”.

    The application is formally not DPI-aware, so to ensure nonblurriness and maximum screen-space utilization, it’s recommended to disable DPI scaling in its executable-file properties.

    In the graphics mode “OpenGL”, the app may switch 4K monitor to the Full HD resolution that may cause blur due to scaling by monitor or by GPU. A workaround is switching the app to a different graphics mode — e. g. “3x”.

    ScummVM is also available as a libretro core that can be used with frontends like RetroArch which have their own integer-scaling implementations.


See also the article about integer scaling.