Difference between revisions of "Compatibility layers"

From Emulation General Wiki
Jump to navigation Jump to search
(Updates)
 
(132 intermediate revisions by 43 users not shown)
Line 1: Line 1:
While not strictly emulation ''per se'' (hence why [[Wine]] stands for "Wine Is Not an Emulator"), '''compatibility layers''' allow software written for one operating system to run on a different OS, often by translating API and system calls made by an application to their equivalent calls in the host operating system. In theory, this should allow for near-native performance since no processor emulation takes place, but in practice some software such as games will tend to run a bit slower due to other bottlenecks that occur as a result of [[Emulation Accuracy|replicating the correct behavior]], such as accounting for graphics APIs like Direct3D that aren't supported on non-Microsoft platforms. Additionally, compatibility layers may also use emulation in order to run software built for a different architecture.
+
While not strictly emulation ''per se'' (hence why [[Wine]] stands for "Wine Is Not an Emulator"), '''compatibility layers''' allow software written for one operating system to run on a different OS, often by translating API and system calls made by an application to their equivalent calls in the host operating system. In theory, this should allow for near-native performance since no processor emulation takes place, but in practice some software such as games will tend to run a bit slower due to other bottlenecks that occur as a result of [[Emulation accuracy|replicating the correct behavior]], such as accounting for graphics APIs like Direct3D that aren't supported on non-Microsoft platforms. Additionally, compatibility layers may also use emulation in order to run software built for a different architecture, see [[Emulation Accuracy]] page for more information about terms like "[[Hypervisors|hypervisors]]", "[[Simulators|simulators]]", "[[Compatibility_layers|compatibility layers]]", "[[Wrappers|wrappers]]", "[[FPGA|FPGA-based hardware cloning]]" and "[[:Category:Emulators|software emulators]]".
  
 
==Compatibility layers==
 
==Compatibility layers==
 
{| class="wikitable" style="text-align:center;"
 
{| class="wikitable" style="text-align:center;"
|-
 
 
! scope="col"|Name
 
! scope="col"|Name
 
! scope="col"|Operating System(s)
 
! scope="col"|Operating System(s)
 
! scope="col"|Latest Version
 
! scope="col"|Latest Version
 +
! scope="col"|<abbr title="Free/Libre and Open-Source Software">FLOSS</abbr>
 
! scope="col"|Active
 
! scope="col"|Active
! scope="col"|[[Recommended Emulators|Recommended]]
+
! scope="col"|[[Recommended emulators|Recommended]]
 
! scope="col"|Runs the following software
 
! scope="col"|Runs the following software
 
|-
 
|-
!colspan="6"|PC
+
!colspan="7"|x86,x86-64
 
|-
 
|-
 
|[[Wine]]
 
|[[Wine]]
|Linux, macOS
+
|align=left|{{Icon|Linux|macOS|FreeBSD|Haiku}}
|[https://wiki.winehq.org/Download {{WineVer}}]
+
|[https://wiki.winehq.org/Download {{WineVer}}<br />(Dev: {{WineDevVer}})]<br />[https://wiki.winehq.org/Haiku Haiku]
|{{✓}} ||{{✓}}
+
|{{✓}} ||{{✓}} ||{{✓}}
 
|Windows applications and games
 
|Windows applications and games
 
|-
 
|-
|[[Wineskin]]
+
|[[Proton]]<br/><small>(included with Steam)</small>
|macOS
+
|align=left|{{Icon|Linux}}
|[http://wineskin.urgesoftware.com/tiki-index.php?page=Downloads 1.7]
+
|[https://store.steampowered.com/about/ {{ProtonVer}}]<br/>[https://github.com/ValveSoftware/Proton/tags git]
|{{✓}} ||{{✓}}
+
|{{✓}} ||{{✓}} ||{{✓}}
 +
|Windows games
 +
|-
 +
|[[TeknoParrot]]
 +
|align=left|{{Icon|Windows}}
 +
|<abbr title="TPBootstrapper/Web Installer which downloads the latest versions of all components with TeknoParrot automatically for you.">[https://github.com/nzgamer41/TPBootstrapper/tags TPBootstrapper]</abbr><br/>[https://teknoparrot.com/download {{TeknoVer}}]
 +
|{{✗}} ||{{✓}} ||{{✓}}
 +
|PC-based arcade games
 +
|-
 +
|Rosetta
 +
|align=left|{{Icon|macOS}}
 +
|N/A
 +
|{{✗}} ||{{✗}} ||{{✓}}
 +
|PowerPC OS X apps on x86-64 based Macs. Support ended with OS X 10.7  
 +
|-
 +
|CrossOver
 +
|align=left|{{Icon|Linux|macOS|ChromeOS}}
 +
|[https://www.codeweavers.com/products 22.1]
 +
|{{✗}} ||{{✓}} ||{{✓}}
 
|Windows applications and games
 
|Windows applications and games
 
|-
 
|-
|[[Proton]]
+
|[https://mcpelauncher.readthedocs.io Minecraft Bedrock Launcher]
|Linux
+
|align=left|{{Icon|Linux|macOS}}
|[https://store.steampowered.com/about/ {{ProtonVer}}]
+
|[https://github.com/minecraft-linux/mcpelauncher-manifest v0.10.0]
|{{✓}} ||{{}}
+
|{{✓}} ||{{✓}} ||{{~}}
|Windows games
+
|Minecraft: Bedrock Edition (Android version)
 +
|-
 +
|[https://waydro.id/index.html WayDroid]
 +
|align=left|{{Icon|Linux}}
 +
|[https://waydro.id/#install git]<br />[https://github.com/casualsnek/waydroid_script Extras script]
 +
|{{✓}} ||{{✓}} ||{{~}}
 +
|Android software
 +
|-
 +
|libhoudini<br/>[https://groups.google.com/g/android-ndk-announce libndk]<br/>[https://www.intel.com/content/www/us/en/developer/topic-technology/bridge-technology.html Intel BT]
 +
|align=left|{{Icon|Android}}
 +
|[https://github.com/SGNight/Arm-NativeBridge#download-links-- 1], [https://github.com/Rprop/libhoudini#libhoudini 2], [https://archive.org/details/androidx86-houdini 3], [https://github.com/supremegamers/vendor_intel_proprietary_houdini 4], [https://github.com/m9rco/Genymotion_ARM_Translation 5], [https://github.com/ilhan-athn7/android_proprietary_native_bridge 6], [https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt 7]
 +
|{{✗}} ||{{TBD}} ||{{~}}
 +
|ARM apps
 +
|-
 +
|[[Anbox]]
 +
|align=left|{{Icon|Linux}}
 +
|[https://docs.anbox.io/userguide/install.html git]
 +
|{{✓}} ||{{✗}} ||{{✗}}
 +
|Android software
 
|-
 
|-
|[[TeknoParrot]]
+
|[https://www.gfdgdxi.top/uengine-runner/Help/ UEngine]
|Windows
+
|align=left|{{Icon|Linux}}
|{{TeknoVer}}
+
|[https://github.com/gfdgd-xi/uengine-runner git]
|{{✓}} ||{{}}
+
|{{~}} ||{{✓}} ||{{}}
|Windows-based arcade games
+
|Android software
 
|-
 
|-
 
|[[Darling]]
 
|[[Darling]]
|Linux
+
|align=left|{{Icon|Linux}}
|[https://github.com/darlinghq/darling Git]
+
|[https://github.com/darlinghq/darling git]
|{{✓}} ||{{✗}} <small>(WIP)</small>
+
|{{✓}} ||{{✓}} ||{{✗}} <small>(WIP)</small>
 
|macOS software
 
|macOS software
 +
|-
 +
|Linuxulator
 +
|align=left|{{Icon|FreeBSD}}
 +
|[https://wiki.freebsd.org/Linuxulator Wiki]<br />[https://docs.freebsd.org/en/books/handbook/linuxemu/ Docs]
 +
|{{?}} ||{{✓}} ||{{✗}}
 +
|Linux software
 +
|-
 +
|[https://www.linzhuotech.com/index.php/home/index/xdroid.html xDroid]
 +
|align=left|{{Icon|Linux}}
 +
|[https://www.linzhuotech.com/Product/download 11.1.51]
 +
|{{✗}} ||{{✓}} ||{{✗}}
 +
|Android software
 
|-
 
|-
 
|[[WineVDM]]
 
|[[WineVDM]]
|Windows
+
|align=left|{{Icon|Windows}}
|[https://github.com/otya128/winevdm/releases v0.6.0]
+
|[https://github.com/otya128/winevdm/releases git]<br />[https://ci.appveyor.com/project/otya128/winevdm/ Dev]
|{{✓}} ||{{}}
+
|{{✓}} ||{{✓}} ||{{✓}}
 
|16-bit Windows apps and games
 
|16-bit Windows apps and games
 +
|-
 +
|[[Wineskin]]
 +
|align=left|{{Icon|macOS}}
 +
|[http://wineskin.urgesoftware.com/tiki-index.php?page=Downloads 1.7]
 +
|{{✓}} ||{{✗}} ||{{✗}}
 +
|Windows applications and games
 +
|-
 +
|WineBottler
 +
|align=left|{{Icon|macOS}}
 +
|[https://winebottler.kronenberg.org/ 4.0.1.1 Dev]
 +
|{{✓}} ||{{✗}} ||{{✗}}
 +
|Windows applications and games
 
|-
 
|-
 
|[[WoW]]
 
|[[WoW]]
|Windows
+
|align=left|{{Icon|Windows}}
|?
+
|N/A
|{{✗}} ||{{✗}}
+
|{{✗}} ||{{✗}} ||{{✗}}
 
|Windows 9x apps and games
 
|Windows 9x apps and games
 
|-
 
|-
 
|[[Win3mu]]
 
|[[Win3mu]]
|Windows
+
|align=left|{{Icon|Windows}}
|?
+
|[http://bitbucket.org/toptensoftware/win3mu Source]
|{{✗}} ||{{✗}}
+
|{{✓}} ||{{✗}} ||{{✗}}
 
|Windows 3.x apps and games
 
|Windows 3.x apps and games
 +
|-
 +
|[[NTVDMx64]]
 +
|align=left|{{Icon|Windows}}
 +
|[https://github.com/leecher1337/ntvdmx64 git]
 +
|{{✓}} ||{{✓}} ||{{✗}}
 +
|DOS applications and games
 
|-
 
|-
 
|[[Ardi Executor]]
 
|[[Ardi Executor]]
|Multi-platform
+
|align=left|{{Icon|Windows|Linux|DOS}}
 
|[https://web.archive.org/web/20080404193445/http://www.ardi.com/ardi.php 2.1.17]
 
|[https://web.archive.org/web/20080404193445/http://www.ardi.com/ardi.php 2.1.17]
|{{✗}} ||{{✗}}
+
|{{✓}} ||{{✗}} ||{{✗}}
 
|Classic Mac OS software up to System 6
 
|Classic Mac OS software up to System 6
 
|-
 
|-
!colspan="6"|Mobile
+
|[http://dosemu.sourceforge.net/ DOSEmu]
 +
|align=left|{{Icon|Linux}}
 +
|[https://sourceforge.net/projects/dosemu/files/ 1.4.0]
 +
|{{✓}} ||{{✗}} ||{{✗}}
 +
|DOS software
 +
|-
 +
|[http://dosemu2.github.io/dosemu2/ DOSEmu2]
 +
|align=left|{{Icon|Linux}}
 +
|[https://github.com/dosemu2/dosemu2 git]
 +
|{{✓}} ||{{✓}} ||{{✗}}
 +
|DOS software
 
|-
 
|-
|[[Wine]]
+
|[https://learn.microsoft.com/en-us/windows/wsl/ Windows Subsystem for Linux '''1''']
|Android
+
|align=left|{{Icon|Windows}}
|[https://wiki.winehq.org/Download {{WineVer}}]
+
|[https://learn.microsoft.com/en-us/windows/wsl/install Install guide]
|{{}} ||{{✗}} <small>(WIP)</small>
+
|{{?}} ||{{?}} ||{{✗}}
|Windows applications and games
+
|Allows developers to run a Linux environment.
|}
 
 
 
===Comparisons===
 
*[[Wine]] is a free and open-source compatibility layer that aims to allow computer programs (application software and computer games) developed for Microsoft Windows to run on Unix-like operating systems, primarily Linux and macOS. Since late 2017 there is also an experimental build for Android. Wine is almost as old as the Linux project, starting in the summer of 1993. Today it's widely used, very popular and sponsored by companies such as CodeWeavers and Valve. The core Wine development aims at a correct implementation of the Windows API as a whole. In this regard it's similar to the [[MAME]] project in its focus on correctness over usability. There are a lot of versions/forks of Wine which focus of different goals, such as usability, compatibility, gaming, office applications, etc. A few are listed below, Wikipedia has [[wikipedia:Wine_(software)#Other_versions_of_Wine|a more complete list]].
 
**[[Proton]] is Valves one-click solution to play Windows games on Linux. It's included in the Steam Linux client by default. Simply click on a whitelisted game and it will launch without any configuration, or enable it for all games in the settings. Proton is based on a fork of Wine in combination with other components such as DXVK (explained below) and FAudio.
 
**[[Wineskin]] is an open-source compatibility layer which allows users to easily convert Windows software to macOS. The ports are in the form of Mac .app bundles with a self-contained Wine instance which are wrapped around the application to be converted.
 
* [[TeknoParrot]] is a compatibility layer for Windows PCs to run games originally made for Windows-based arcade systems. Has since version 1.51 also support for some games from the Linux-based Sega Lindbergh arcade board.
 
* [[Darling]] is a translation layer that allows you to run unmodified macOS binaries on Linux. In its nature, it is similar to the well-known [[Wine]] project. At this point, does not yet run macOS application with a GUI.
 
 
 
==Graphics APIs==
 
Compatibility layers may also make use of '''wrappers''', which translate a specific graphics API to another. How the user sets up the wrapper varies between each project but most involve a drop-in replacement of the original libraries.
 
 
 
To understand why this is needed for older games, it's important to understand that during the 90s the graphics card market for [[Intel CPUs|IBM PCs and compatibles]] was in its infancy, and Direct3D wasn't an automatic choice for developers. Some games were often designed for 3Dfx's Glide API so that it would run with their Voodoo card. With 3dfx going bankrupt however, support for Glide didn't stay around and the API was made open-source, but NVIDIA and AMD never incorporated it into their drivers. A wrapper is now needed to play these games with hardware acceleration, or if we're lucky the game gets [[Game engine recreations/Source Ports|a port]] to other APIs instead.
 
 
 
{| class="wikitable sortable" style="text-align:center;"
 
 
|-
 
|-
! scope="col"|Name
+
|[https://old.reddit.com/r/openKylin/comments/14u5kad/about_kmre/ KMRE]
! scope="col"|Operating System(s)
+
|align=left|{{Icon|Linux}}
! scope="col"|Latest Version
+
|[https://archive.ubuntukylin.com/ubuntukylin/pool/partner/kmre_2.4.6.8+22.04_amd64.deb 2.4.6.8]</br>[https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/k/kmre/kmre_2.4.8.7-0k0.9_amd64.deb 2.4.8.7-0k0.9]<ref group=A name=kmrex86>2.4.8.7 is untested-NeoKylin never announced nor shipped this with x86 releases</ref>
! scope="col"|Translates
+
|{{?}} ||{{~}} ||{{✗}}
! scope="col"|Into
+
|Allows openKylin/Ubuntu Kylin to run Android applications.
! scope="col"|Active
 
! scope="col"|[[Recommended Emulators|Recommended]]
 
 
|-
 
|-
! colspan="7"|90's APIs
+
!colspan="7"|ARM
 
|-
 
|-
|[http://www.zeus-software.com/downloads/nglide nGlide]
+
|Rosetta 2
|Windows
+
|align=left|{{Icon|macOS}}
|[http://www.zeus-software.com/downloads/nglide 2.0]
+
|N/A
|Glide
+
|{{✗}} ||{{✓}} ||{{✓}}
|Vulkan, Direct3D 9
+
|x86-64 macOS applications on Apple Silicon Macs
|{{✓}} ||{{✓}}
 
 
|-
 
|-
|[[Wine|Wine DirectX]]
+
|CrossOver
|Windows, Linux, macOS
+
|align=left|{{Icon|macOS}}
|[https://wiki.winehq.org/Download {{WineVer}}] <small>(Linux, macOS)</small><br /> [https://fdossena.com/?p=wined3d/index.frag 4.8] <small>Windows</small>
+
|[https://www.codeweavers.com/products 22.1]
|DirectX 1-7
+
|{{✗}} ||{{✓}} ||{{✓}}
|OpenGL
+
|Windows applications and games
|{{✓}} ||{{✓}}
 
 
|-
 
|-
|[http://dege.freeweb.hu/ dgVoodoo 2]
+
|Game Porting Toolkit
|Windows
+
|align=left|{{Icon|macOS}}
|[http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2.html 2.55.4.1]
+
|[https://gist.github.com/Frityet/448a945690bd7c8cff5fef49daae858e Installation guide]
|DirectX 1-7, Direct3D 8.1, Glide
+
|{{✗}} ||{{✓}} ||{{✓}}
|Direct3D 11
+
|Windows games
|{{✓}} ||{{✓}}
 
 
|-
 
|-
|[https://www.dxgl.org/ DXGL]
+
|[https://box86.org/ Box86/Box64]
|Windows
+
|align=left|{{Icon|LiA|Android|Pandora}}
|[https://www.dxgl.org/downloads/ 0.5.16]
+
|[https://github.com/ptitSeb/box86 git-86]/[https://github.com/ptitSeb/box64/ git-64]
|DirectX 1-7
+
|{{✓}} ||{{✓}} ||{{~}}
|OpenGL
+
|x86-64 Linux programs
|{{✓}} ||{{}} <small>WIP</small>
 
 
|-
 
|-
|[http://www.glidos.net/ Glidos]
+
|[[FEX-Emu]]
|Windows
+
|align=left|{{Icon|LinuxARM|Android}}
|[http://www.glidos.net/download.html 1.53b]
+
|[https://github.com/FEX-Emu/FEX git]
|Glide <small>(DOS)</small>
+
|{{✓}} ||{{}} ||{{~}}
|?
+
|x86-64 Linux programs
|{{}} ||?
 
 
|-
 
|-
|[http://openglide.sourceforge.net/ OpenGlide]
+
|[[Wine]]
|Windows
+
|align=left|{{Icon|LinuxARM|Android}}
|[https://sourceforge.net/projects/openglide/files/latest/download 0.09 Alpha]
+
|[https://dl.winehq.org/wine-builds/android/ Android builds]<br/>[https://wiki.winehq.org/ARM ARM support]
|Glide
+
|{{✓}} ||{{}} ||{{~}}
|OpenGL
+
|Windows applications and games
|{{}} ||?
 
 
|-
 
|-
|[https://sourceforge.net/projects/psvoodoo/ psVoodoo]
+
|[https://waydro.id/index.html WayDroid]
|Windows
+
|align=left|{{Icon|LinuxARM}}
|[https://sourceforge.net/projects/psvoodoo/files/latest/download 0.13]
+
|[https://waydro.id/#install git]
|Glide
+
|{{✓}} ||{{}} ||{{~}}
|Direct3D 9
+
|Android software
|{{}} ||?
 
 
|-
 
|-
! colspan="7"|2000's and later APIs
+
|[https://github.com/xerpi/vita2hos Vita2hos]
 +
|align=left|{{Icon|Switch}}
 +
|[https://github.com/xerpi/vita2hos/releases/tag/alpha-0.3 Alpha 0.3]
 +
|{{✓}} ||{{✓}} ||{{✗}}
 +
|runs PlayStation Vita applications natively
 
|-
 
|-
|[https://github.com/doitsujin/dxvk DXVK]
+
|[https://github.com/AndreRH/hangover Hangover]
|Linux
+
|align=left|{{Icon||LinuxARM|Android}}
|[https://github.com/doitsujin/dxvk/releases 1.2]
+
|[https://github.com/AndreRH/hangover/releases git]
|Direct3D 10-11
+
|{{✓}} ||{{✓}} ||{{}}
|Vulkan
+
|Windows applications and games
|{{✓}} ||{{}}
 
 
|-
 
|-
|[[Wine|Wine Direct3D]]
+
|[[Skyline]]
|Windows, Linux, macOS
+
|align=left|{{Icon|Android}}
|[https://wiki.winehq.org/Download {{WineVer}}] <small>(Linux, macOS)</small><br /> [https://fdossena.com/?p=wined3d/index.frag 4.8] <small>Windows</small>
+
|[https://github.com/skyline-emu/skyline/releases git]
|Direct3D 1-11
+
|{{✓}}
|OpenGL
+
|{{}}  
|{{}} ||{{}}
+
|{{}}
 +
|Nintendo Switch games and homebrew
 
|-
 
|-
|[https://github.com/Joshua-Ashton/d9vk D9VK]
+
|[[Anbox]]
|Linux
+
|align=left|{{Icon|LinuxARM}}
|[https://github.com/Joshua-Ashton/d9vk Git]
+
|[https://docs.anbox.io/userguide/install.html git]
|Direct3D 9
+
|{{✓}} ||{{}} ||{{}}
|Vulkan
+
|Android software
|{{}} ||{{~}} <small>WIP</small>
 
 
|-
 
|-
|[https://github.com/iXit/wine-nine-standalone Gallium Nine]
+
|[https://www.hikunpeng.com/document/detail/en/kunpengdevps/ug-exagear/usermanual/kunpengexagear_06_0002.html ExaGear-KunPeng]
|Linux
+
|align=left|{{Icon|LinuxARM}}
|[https://github.com/iXit/wine-nine-standalone 0.4]
+
|[https://www.hikunpeng.com/developer/devkit/exagear 3.0.0.1]
|Direct3D 9
+
|{{✗}} ||{{✓}} ||{{}}
|Native
+
|x86 Linux programs<abbr title="into Kunpeng platform instructions in real time">*</abbr>
|{{✓}} ||{{~}} <small>WIP</small>
 
 
|-
 
|-
|[https://source.winehq.org/git/vkd3d.git/ vkd3d]
+
|[https://old.reddit.com/r/openKylin/comments/14u5kad/about_kmre/ KMRE]
|Linux
+
|align=left|{{Icon|LinuxARM}}
|[https://source.winehq.org/git/vkd3d.git/ 1.1]
+
|[https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/k/kmre/kmre_2.4.8.7-0k0.9_arm64.deb 2.4.8.7-0k0.9]</br>[https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/k/kmre/kmre_2.5.0.2-0k0.1tablet3_arm64.deb 2.5.0.2-0k0.1tablet3]<ref group=A name=kmrearm>2.5.0.2 is only for some industrial tablets or similar devices with Phytium processors. Regular desktop devices should continue with 2.4.8.7 .</ref>
|Direct3D 12
+
|{{?}} ||{{~}} ||{{✗}}
|Vulkan
+
|Allows openKylin/NeoKylin (with supported processors) to run Android applications.
|{{}} ||{{✗}} <small>WIP</small>
 
 
|-
 
|-
|[https://github.com/KhronosGroup/MoltenVK MoltenVK]
+
!colspan="9"|Console
|macOS, iOS
 
|[https://github.com/KhronosGroup/MoltenVK/releases 1.0.33]
 
|Vulkan
 
|Metal
 
|{{✓}} ||?
 
 
|-
 
|-
|[https://github.com/Joshua-Ashton/dxup DXUP]
+
|[[Nintendont]]
|Windows, Linux
+
|align=left|{{Icon|Wii|WiiU}}
|[https://github.com/Joshua-Ashton/dxup Git]
+
|[https://github.com/FIX94/Nintendont git]
|Direct3D 9-10
+
|{{✓}} ||{{}} ||{{}}
|Direct3D 11
+
|GameCube games
|{{{✗}} ||{{}}
 
 
|-
 
|-
|[https://github.com/disks86/VK9 VK9]
+
!colspan="7"|Other
|Windows, Linux
 
|[https://github.com/disks86/VK9/releases 0.29.0]
 
|Direct3D 9
 
|Vulkan
 
|{{✗}} ||{{✗}}
 
 
|-
 
|-
 +
|LATX
 +
|align=left|{{Icon|Linux}}
 +
|[http://pkg.loongnix.cn/loongnix/pool/main/l/lat/ 1.4.3 Beta 2]
 +
|{{✗}} ||{{✓}} ||{{TBD}}
 +
|x86 Linux programs<abbr title="into LoongArch64 instruction set">*</abbr>
 
|}
 
|}
 
+
<references group=A />
 
===Comparisons===
 
===Comparisons===
* [http://www.zeus-software.com/downloads/nglide nGlide] is a 3Dfx Voodoo Glide wrapper. It allows you to play games designed for 3Dfx Glide API without the need for having 3Dfx Voodoo graphics card. All three API versions are supported, Glide 2.11, Glide 2.60 and Glide 3.10. nGlide emulates Glide environment with Direct3D 9 and version 2.0 implemented Vulkan support, which also makes it work under Linux using [[Wine]] Staging 2.10.0 or newer.<ref name="nglidevulkan">http://www.zeus-software.com/forum/viewtopic.php?f=2&t=2044</ref> Glide wrapper also supports high resolution modes. Has a [http://www.zeus-software.com/downloads/nglide/compatibility compatibility list].
+
*[[Wine]] is a free and open-source compatibility layer that aims to allow computer programs (application software and computer games) developed for Microsoft Windows to run on Unix-like operating systems, primarily Linux and macOS. Since late 2017 there is also an experimental build for Android. Wine is almost as old as the Linux project, starting in the summer of 1993. Today it's widely used, very popular and sponsored by companies such as CodeWeavers and Valve. The core Wine development aims at a correct implementation of the Windows API as a whole. In this regard it's similar to the [[MAME]] project in its focus on correctness over usability. There are a lot of versions/forks of Wine which focus of different goals, such as usability, compatibility, gaming, office applications, etc. A few are listed below, Wikipedia has [[wikipedia:Wine_(software)#Other_versions_of_Wine|a more complete list]].
 +
**[[Proton]] <small class="plainlinks" style="font-weight:normal;">[https://www.protondb.com/ (compatibility)]</small>: is Valve's one-click solution to play Windows games on Linux. It's included in the Steam Linux client by default. Simply click on a whitelisted game and it will launch without any configuration, or enable it for all games in the settings. Proton is based on a fork of Wine in combination with other components such as [[Wrappers|DXVK]] (which is a wrapper explained below) and FAudio.
 +
**[https://www.codeweavers.com/products/ CrossOver] is a commercialized, supported version of Wine from CodeWeavers. It uses additional patches on top of Wine to make it easy to use. They contribute all of their work on CrossOvers back to Wine and make up about two thirds of the commits made to Wine. CrossOver is available on macOS, Linux and Chrome OS.
 +
**[[Wineskin]] is an open-source compatibility layer which allows users to easily convert Windows software to macOS. The ports are in the form of Mac .app bundles with a self-contained Wine instance which are wrapped around the application to be converted.
 +
* [[TeknoParrot]] is a compatibility layer for Windows PCs to run games originally made for Windows-based arcade systems. Has since version 1.51 also support for some games running on Linux.
 +
* '''Rosetta''' was a compatibility layer for running PowerPC apps on x86-based Macs on OS X versions prior to 1.07. '''Rosetta 2''' is a comptibility layer on Apple silicon Macs allowing x86-64 apps to run on ARM-based Macs. Note that Rosetta 2 is not strictly limited to MacOS apps as software such as Crossover is able to call it to emulate x86 code in Windows binaries.
 +
* [[Darling]] is a translation layer that allows you to run unmodified macOS binaries on Linux. In its nature, it is similar to the well-known [[Wine]] project. At this point, does not yet run macOS application with a GUI.
 +
* [https://mcpelauncher.readthedocs.io/ Minecraft Bedrock Launcher] is a compatibility layer made specifically to run the Android version of Minecraft: Bedrock Edition on Linux and macOS. It is not compatible with any other Android apps.
 +
* [[Anbox]] is a project that aims to run Android applications on Ubuntu distributions. It is in alpha state and only known to work on Ubuntu 16.04. Anbox requires custom kernel modules to run because, unlike other emulators which emulate the whole Linux kernel, this one uses the host system's Linux kernel directly.
 +
* Windows Subsystem for Linux 1 is a compatibility layer and shouldn't be confused with WSL2. WSL2 introduced important changes such as a real Linux kernel, through a subset of '''Hyper-V features''', so it's not a compatibility layer like WSL1.
 +
* KMRE is a compatibility layer and it's the official solution to run Android applications on computers with Chinese homegrown Phytium/KunPeng ARM processors and NeoKylin Linux operating system, though later also available on x86-64 on [https://www.ubuntukylin.com/index-en.html Ubuntu Kylin]. KMRE is not designed with third-party applications outside its app store and in fact, force installing third-party apps breaks older versions of KMRE. It's the go-to solution if you are restricted to working with these kinds of computers due to national security reasons.
 +
* Vita2hos is an early compatibility layer for Nintendo Switch that runs PlayStation Vita applications natively. Only able to load simple test homebrews such as vita-8 as of December 2022. Appears to only be developed every once in a while.
  
* [http://dege.freeweb.hu/ dgVoodoo 2] is a closed source wrapper for old graphics API's for Windows Vista/7/8/10. The API's it currently can wrap are: Glide 2.11, Glide 2.45, Glide 3.1, Glide 3.1 Napalm, DirectX 1-7 (all versions of DirectDraw and Direct3D up to version 7) and Direct3D 8.1. This wrapper can use Direct3D 11 with different device types as wrapping output such as hardware or software rendering.
+
==Wrappers==
 
+
Compatibility layers may also make use of '''wrappers''', which translate a specific graphics API to another. How the user sets up the wrapper varies between each project but most involve a drop-in replacement of the original libraries.
* [[Wine]] has an internal graphics API wrapper for Direct3D 1-11 using OpenGL. It works mostly well for older games, but is slower and has more bugs than newer wrappers using Vulkan, such as DXVK. It is possible to use Wine's wrapper in Windows using different forks.
 
 
 
* [https://source.winehq.org/git/vkd3d.git/ vkd3d] is an internal Wine wrapper for Direct3D 12 to Vulkan translation. Sponsored by Valve. Currently a work in progress.
 
 
 
* [https://github.com/doitsujin/dxvk DXVK] is a Vulkan-based translation layer for Direct3D 10 & 11, which allows running Windows 3D applications on Linux using [[Wine]].
 
 
 
* [https://github.com/Joshua-Ashton/d9vk D9VK] is a  Direct3D 9 to Vulkan translation layer based off DXVK's codebase. Will be merged into DXVK if it matures enough <ref name="d9vktodxvk">https://www.gamingonlinux.com/articles/dxvk-102-is-out-with-some-bug-fixes-d9vk-seems-to-be-progressing-nicely.13868/comment_id=151909</ref>.
 
 
 
* [https://github.com/disks86/VK9 VK9] runs Direct3D 9 applications on Windows or Linux (with [[Wine]]) over Vulkan.
 
 
 
* [https://www.dxgl.org/ DXGL] is a free replacement for the Windows ddraw.dll library, running on OpenGL. It is designed to overcome driver bugs, particularly in Windows Vista and newer operating systems. It also adds various enhancements to the graphics output such as display scaling and filtering options. DXGL supports the DirectX 7.0 graphics APIs, however it is currently under development and does not work with many programs.
 
 
 
==External links==
 
[https://www.gamingonlinux.com/articles/dxvk-102-is-out-with-some-bug-fixes-d9vk-seems-to-be-progressing-nicely.13868/comment_id=151939 State of Direct3D 9-12 translation layers] by DXVK author YoRHa-2B (2019-04-02)
 
  
==References==
+
{{Main|Wrappers}}
{{Reflist}}
 
  
 
[[Category:Compatibility layers]]
 
[[Category:Compatibility layers]]
 +
[[Category:Not really emulators]]
 +
----
 +
{{NEL}}

Latest revision as of 01:32, 21 April 2024

While not strictly emulation per se (hence why Wine stands for "Wine Is Not an Emulator"), compatibility layers allow software written for one operating system to run on a different OS, often by translating API and system calls made by an application to their equivalent calls in the host operating system. In theory, this should allow for near-native performance since no processor emulation takes place, but in practice some software such as games will tend to run a bit slower due to other bottlenecks that occur as a result of replicating the correct behavior, such as accounting for graphics APIs like Direct3D that aren't supported on non-Microsoft platforms. Additionally, compatibility layers may also use emulation in order to run software built for a different architecture, see Emulation Accuracy page for more information about terms like "hypervisors", "simulators", "compatibility layers", "wrappers", "FPGA-based hardware cloning" and "software emulators".

Compatibility layers[edit]

Name Operating System(s) Latest Version FLOSS Active Recommended Runs the following software
x86,x86-64
Wine Linux macOS FreeBSD Haiku 9.0
(Dev: 9.7 )

Haiku
Windows applications and games
Proton
(included with Steam)
Linux 8.0-5
git
Windows games
TeknoParrot Windows TPBootstrapper
1.0.0.140
PC-based arcade games
Rosetta macOS N/A PowerPC OS X apps on x86-64 based Macs. Support ended with OS X 10.7
CrossOver Linux macOS Chrome OS 22.1 Windows applications and games
Minecraft Bedrock Launcher Linux macOS v0.10.0 ~ Minecraft: Bedrock Edition (Android version)
WayDroid Linux git
Extras script
~ Android software
libhoudini
libndk
Intel BT
Android 1, 2, 3, 4, 5, 6, 7 TBD ~ ARM apps
Anbox Linux git Android software
UEngine Linux git ~ Android software
Darling Linux git (WIP) macOS software
Linuxulator FreeBSD Wiki
Docs
? Linux software
xDroid Linux 11.1.51 Android software
WineVDM Windows git
Dev
16-bit Windows apps and games
Wineskin macOS 1.7 Windows applications and games
WineBottler macOS 4.0.1.1 Dev Windows applications and games
WoW Windows N/A Windows 9x apps and games
Win3mu Windows Source Windows 3.x apps and games
NTVDMx64 Windows git DOS applications and games
Ardi Executor Windows Linux MS-DOS 2.1.17 Classic Mac OS software up to System 6
DOSEmu Linux 1.4.0 DOS software
DOSEmu2 Linux git DOS software
Windows Subsystem for Linux 1 Windows Install guide ? ? Allows developers to run a Linux environment.
KMRE Linux 2.4.6.8
2.4.8.7-0k0.9[A 1]
? ~ Allows openKylin/Ubuntu Kylin to run Android applications.
ARM
Rosetta 2 macOS N/A x86-64 macOS applications on Apple Silicon Macs
CrossOver macOS 22.1 Windows applications and games
Game Porting Toolkit macOS Installation guide Windows games
Box86/Box64 Linux ARM Android Pandora git-86/git-64 ~ x86-64 Linux programs
FEX-Emu Linux ARM Android git ~ x86-64 Linux programs
Wine Linux ARM Android Android builds
ARM support
~ Windows applications and games
WayDroid Linux ARM git ~ Android software
Vita2hos Switch Alpha 0.3 runs PlayStation Vita applications natively
Hangover Linux ARM Android git Windows applications and games
Skyline Android git Nintendo Switch games and homebrew
Anbox Linux ARM git Android software
ExaGear-KunPeng Linux ARM 3.0.0.1 x86 Linux programs*
KMRE Linux ARM 2.4.8.7-0k0.9
2.5.0.2-0k0.1tablet3[A 2]
? ~ Allows openKylin/NeoKylin (with supported processors) to run Android applications.
Console
Nintendont Wii Wii U git GameCube games
Other
LATX Linux 1.4.3 Beta 2 TBD x86 Linux programs*
  1. 2.4.8.7 is untested-NeoKylin never announced nor shipped this with x86 releases
  2. 2.5.0.2 is only for some industrial tablets or similar devices with Phytium processors. Regular desktop devices should continue with 2.4.8.7 .

Comparisons[edit]

  • Wine is a free and open-source compatibility layer that aims to allow computer programs (application software and computer games) developed for Microsoft Windows to run on Unix-like operating systems, primarily Linux and macOS. Since late 2017 there is also an experimental build for Android. Wine is almost as old as the Linux project, starting in the summer of 1993. Today it's widely used, very popular and sponsored by companies such as CodeWeavers and Valve. The core Wine development aims at a correct implementation of the Windows API as a whole. In this regard it's similar to the MAME project in its focus on correctness over usability. There are a lot of versions/forks of Wine which focus of different goals, such as usability, compatibility, gaming, office applications, etc. A few are listed below, Wikipedia has a more complete list.
    • Proton (compatibility): is Valve's one-click solution to play Windows games on Linux. It's included in the Steam Linux client by default. Simply click on a whitelisted game and it will launch without any configuration, or enable it for all games in the settings. Proton is based on a fork of Wine in combination with other components such as DXVK (which is a wrapper explained below) and FAudio.
    • CrossOver is a commercialized, supported version of Wine from CodeWeavers. It uses additional patches on top of Wine to make it easy to use. They contribute all of their work on CrossOvers back to Wine and make up about two thirds of the commits made to Wine. CrossOver is available on macOS, Linux and Chrome OS.
    • Wineskin is an open-source compatibility layer which allows users to easily convert Windows software to macOS. The ports are in the form of Mac .app bundles with a self-contained Wine instance which are wrapped around the application to be converted.
  • TeknoParrot is a compatibility layer for Windows PCs to run games originally made for Windows-based arcade systems. Has since version 1.51 also support for some games running on Linux.
  • Rosetta was a compatibility layer for running PowerPC apps on x86-based Macs on OS X versions prior to 1.07. Rosetta 2 is a comptibility layer on Apple silicon Macs allowing x86-64 apps to run on ARM-based Macs. Note that Rosetta 2 is not strictly limited to MacOS apps as software such as Crossover is able to call it to emulate x86 code in Windows binaries.
  • Darling is a translation layer that allows you to run unmodified macOS binaries on Linux. In its nature, it is similar to the well-known Wine project. At this point, does not yet run macOS application with a GUI.
  • Minecraft Bedrock Launcher is a compatibility layer made specifically to run the Android version of Minecraft: Bedrock Edition on Linux and macOS. It is not compatible with any other Android apps.
  • Anbox is a project that aims to run Android applications on Ubuntu distributions. It is in alpha state and only known to work on Ubuntu 16.04. Anbox requires custom kernel modules to run because, unlike other emulators which emulate the whole Linux kernel, this one uses the host system's Linux kernel directly.
  • Windows Subsystem for Linux 1 is a compatibility layer and shouldn't be confused with WSL2. WSL2 introduced important changes such as a real Linux kernel, through a subset of Hyper-V features, so it's not a compatibility layer like WSL1.
  • KMRE is a compatibility layer and it's the official solution to run Android applications on computers with Chinese homegrown Phytium/KunPeng ARM processors and NeoKylin Linux operating system, though later also available on x86-64 on Ubuntu Kylin. KMRE is not designed with third-party applications outside its app store and in fact, force installing third-party apps breaks older versions of KMRE. It's the go-to solution if you are restricted to working with these kinds of computers due to national security reasons.
  • Vita2hos is an early compatibility layer for Nintendo Switch that runs PlayStation Vita applications natively. Only able to load simple test homebrews such as vita-8 as of December 2022. Appears to only be developed every once in a while.

Wrappers[edit]

Compatibility layers may also make use of wrappers, which translate a specific graphics API to another. How the user sets up the wrapper varies between each project but most involve a drop-in replacement of the original libraries.

Main article: Wrappers