The current generation of game consoles, PS4 and Xbox One, use x86-64 CPUs as well as non-custom GPUs which makes them very similar to PCs. Their graphics APIs are also extremely similar to DX11. I wondered whether it would be quite easy to run their binaries on a PC by writing a Wine-like compatibility layer instead of emulating the hardware. Turns out there actually is such a project at least for the PS4:
https://github.com/AlexAltea/orbital
So, what tasks does such a compatibility layer have to fullfil?
From what i understand its
<Correctly responding to / remapping syscalls
<Providing substitutes or "adaptor" includes that the binaries link against
For example, Wine needs to provide a substitute for kernel32.lib
So really, what else is there to do? Im sure it's a lot, or if not, that these two tasks are not as simple as i think they are.