Changes

Jump to navigation Jump to search

Compatibility layers

6,248 bytes added, 06:03, 9 July 2019
m
no edit summary
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 be 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 certain 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 in the case of OpenGL to accounting for graphics APIs like Direct3D translation as done through Winethat aren't supported on non-Microsoft platforms. Additionally, compatibility layers may also use emulation in order to run software built for a different architecture. ''This page is a WIP. Feel free to help out!''
==Compatibility layers==
|-
|[[Wine]]
|Unix and POSIX-compliantLinux, macOS
|[https://wiki.winehq.org/Download {{WineVer}}]
|{{✓}} ||{{✓}}
|Windows applications and games
|-
|[[Wineskin]]
|macOS
|[http://wineskin.urgesoftware.com/tiki-index.php?page=Downloads 1.7]
|{{✓}} ||{{✓}}
|Windows applications and games
|[[TeknoParrot]]
|Windows
|[https://teknoparrot.com/ {{TeknoVer}}]
|{{✓}} ||{{✓}}
|Windows-based arcade games
|-
|[[Darling]]
|Linux
|[https://github.com/darlinghq/darling Git]
|{{✓}} ||{{✗}} <small>(WIP)</small>
|macOS software
|-
|[[WineVDM]]
|{{✓}} ||{{✗}}
|16-bit Windows apps and games
|-
|[[Wineskin]]
|macOS
|[http://wineskin.urgesoftware.com/tiki-index.php?page=Downloads 1.7]
|{{✗}} ||{{✗}}
|Windows applications and games
|-
|[[WoW]]
|{{✗}} ||{{✗}}
|Classic Mac OS software up to System 6
|-
|[[Darling]]
|Linux
|[https://github.com/darlinghq/darling Git]
|{{✓}} ||?
|Mac OS X Software
|-
!colspan="6"|Mobile
|-
|[[Wine]]
|[[Android emulators|Android]]
|[https://wiki.winehq.org/Download {{WineVer}}]
|{{✓}} ||{{}}<small>(WIP)</small>
|Windows applications and games
|}
===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.
==Graphics APIs==There are also compatibility layers To understand why this is needed for graphics APIsolder games, sometimes refered it's important to as wrappers. They enable software written understand that during the 90s the graphics card market for a specific graphics API to run on another. This can be used to run older software on more modern hardware [[Intel CPUs|IBM PCs and operating systemscompatibles]] was in its infancy, such as and Direct3D wasn't an automatic choice for developers. Some games were often designed for the 3Dfx 's Glide API without the need for having 3Dfx so that it would run with their Voodoo graphics card. Or running modern Windows 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 on Linux by translating with hardware acceleration, or if we're lucky the Direct3D calls game gets [[Game engine recreations/Source Ports|a port]] to Vulkanother APIs instead.
{| class="wikitablesortable" style="text-align:center;"
|-
! scope="col"|Name
! scope="col"|Operating System(s)
! scope="col"|Latest Version
! scope="col"|Translates
! scope="col"|Into
! scope="col"|Active
! scope="col"|[[Recommended Emulators|Recommended]]
! scope="col"|Translates from
! scope="col"|To
|-
!colspan="7"|PC90's APIs
|-
|[http://www.zeus-software.com/downloads/nglide nGlide]
|Windows
|[http://www.zeus-software.com/downloads/nglide 2.010]|Glide|Vulkan, Direct3D 9
|{{✓}} ||{{✓}}
|-
|[[Wine|Wine DirectX]]
|Windows, Linux, macOS
|[https://wiki.winehq.org/Download {{WineVer}}] <small>(Linux, macOS)</small><br /> [https://fdossena.com/?p=wined3d/index.frag 4.8] <small>Windows</small>
|DirectX 1-7
|OpenGL
|{{✓}} ||{{✓}}
|-
|[http://dege.freeweb.hu/ dgVoodoo 2]
|Windows
|[http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2.html 2.6]
|Glide, DirectX 1-9
|Direct3D 11
|{{✓}} ||{{✓}}
|-
|[https://www.dxgl.org/ DXGL]
|Windows
|[https://www.dxgl.org/downloads/ 0.5.16]
|DirectX 1-7
|OpenGL
|{{✓}} ||{{✗}} <small>WIP</small>
|-
|[http://www.glidos.net/ Glidos]
|Windows
|[http://www.glidos.net/download.html 1.53b]
|Glide <small>(DOS)</small>
|?
|{{✗}} ||?
|-
|[http://openglide.sourceforge.net/ OpenGlide]
|Windows
|[https://sourceforge.net/projects/openglide/files/latest/download 0.09 Alpha]
|Glide
|OpenGL|{{✗}} ||?|-|[https://sourceforge.net/projects/psvoodoo/ psVoodoo]|Windows|[https://sourceforge.net/projects/psvoodoo/files/latest/download 0.13]|Glide|Direct3D, Vulkan9|{{✗}} ||?|-! colspan="7"|2000's and later APIs
|-
|[https://github.com/doitsujin/dxvk DXVK]
|Linux
|[https://github.com/doitsujin/dxvk/releases 01.952]|Direct3D 10-11|Vulkan
|{{✓}} ||{{✓}}
|-|[[Wine|Wine Direct3D 10 & ]]|Windows, Linux, macOS|[https://wiki.winehq.org/Download {{WineVer}}] <small>(Linux, macOS)</small><br /> [https://fdossena.com/?p=wined3d/index.frag 4.8] <small>Windows</small>|Direct3D 1-11|OpenGL|{{✓}} ||{{✓}}|-|[https://github.com/Joshua-Ashton/d9vk D9VK]|Linux|[https://github.com/Joshua-Ashton/d9vk Git]|Direct3D 9|Vulkan|{{✓}} ||{{~}} <small>WIP</small>|-|[https://github.com/iXit/wine-nine-standalone Gallium Nine]|Linux|[https://github.com/iXit/wine-nine-standalone 0.4]|Direct3D 9|Native|{{✓}} ||{{~}} <small>WIP</small>|-|[https://source.winehq.org/git/vkd3d.git/ vkd3d]|Linux|[https://source.winehq.org/git/vkd3d.git/ 1.1]|Direct3D 12
|Vulkan
|{{✓}} ||{{✗}} <small>WIP</small>
|-
|[httphttps://degegithub.freeweb.hucom/KhronosGroup/ dgVoodooMoltenVK MoltenVK]|WindowsmacOS, iOS|[httphttps://degegithub.freeweb.hucom/KhronosGroup/dgVoodoo2MoltenVK/dgVoodoo2releases 1.html 20.55.433]|Vulkan|Metal
|{{✓}} ||?
|DirectX 1-7|[https://github.com/Joshua-Ashton/dxup DXUP]|Windows, Linux|[https://github.com/Joshua-Ashton/dxup Git]|Direct3D 8.1, Glide9-10
|Direct3D 11
|{{{✗}} ||{{✗}}
|-
|[https://github.com/disks86/VK9 VK9]
|Windows, Linux
|[https://github.com/disks86/VK9/releases 0.29.0]
|{{✓}} ||?
|Direct3D 9
|Vulkan
|{{✗}} ||{{✗}}
|-
|}
===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. This is currently the best Glide wrapper. Has a [http://www.zeus-software.com/downloads/nglide/compatibility compatibility list].
===Comparisons===* [http://wwwdege.zeus-softwarefreeweb.comhu/downloads/nglide nGlidedgVoodoo 2] is a 3Dfx Voodoo Glide closed-source wrapper. It allows you to play games designed for 3Dfx Glide old graphics API without the need 's for having 3Dfx Voodoo graphics cardWindows. All three The API versions 's it currently can wrap are supported, : Glide 2.11, Glide 2.60 and 45, Glide 3.101, Glide 3. nGlide emulates Glide environment with 1 Napalm, DirectX 1-7 (all versions of DirectDraw and Direct3D up to version 7), Direct3D 8.1 and VulkanDirect3D 9. Glide This wrapper also supports high resolution modescan use Direct3D 11 with different device types as wrapping output such as hardware or software rendering. Has a  * [[http://wwwWine]] has an internal graphics API wrapper for Direct3D 1-11 using OpenGL.zeus-softwareIt works mostly well for older games, but is slower and has more bugs than newer wrappers using Vulkan, such as DXVK.com/downloads/nglide/compatibility compatibility list]It is possible to use Wine's wrapper in Windows using different forks.
* [httphttps://degesource.freewebwinehq.huorg/ dgVoodoo 2git/vkd3d.git/ vkd3d] is a an internal Wine 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 12 to version 7) and Direct3D 8Vulkan translation.1Sponsored by Valve. This wrapper can use Direct3D 11 with different device types as wrapping output such as hardware or software renderingCurrently 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==
{{Reflist}}
[[Category:Compatibility layers]]
2,117
edits

Navigation menu