Difference between revisions of "Xenia"

From Emulation General Wiki
Jump to navigation Jump to search
(Configuration)
 
(37 intermediate revisions by 18 users not shown)
Line 4: Line 4:
 
|logowidth = 160
 
|logowidth = 160
 
|active = Yes
 
|active = Yes
|platform = Windows, Linux
+
|version      = {{Version|Xenia}}
 +
|platform = [[Emulators on Windows|Windows]]<br>[[Emulators on Xbox One|Xbox One]]
 
|target = [[Xbox 360 emulators|Xbox 360]]
 
|target = [[Xbox 360 emulators|Xbox 360]]
 
|orig-developer = [https://github.com/benvanik Ben Vanik] <small>(Initial work. [https://github.com/xenia-project/xenia/pull/562 Retired 2016].)</small>
 
|orig-developer = [https://github.com/benvanik Ben Vanik] <small>(Initial work. [https://github.com/xenia-project/xenia/pull/562 Retired 2016].)</small>
 
|developer = [https://github.com/DrChat DrChat] <small>(Also worked with B. Vanik)</small>, [https://github.com/gibbed Rick Gibbed] and Xenia community
 
|developer = [https://github.com/DrChat DrChat] <small>(Also worked with B. Vanik)</small>, [https://github.com/gibbed Rick Gibbed] and Xenia community
|website = [http://xenia.jp/ Xenia.jp]
+
|compatibility = [http://xenia.jp/compatibility 18% playable], possibly more
|support = [https://www.patreon.com/xenia_project Patreon], [https://www.patreon.com/gibbed Patreon (gibbed)]
+
|website = [http://xenia.jp Xenia.jp]
 +
|support = [https://www.patreon.com/xenia_project Patreon]<br/>[https://www.patreon.com/gibbed Patreon (gibbed)]<br/>[https://github.com/sponsors/gibbed GitHub Sponsor (gibbed)]<br/>[https://github.com/sponsors/JoelLinn GitHub Sponsor (JoelLinn)]<br/>[https://github.com/sponsors/Razzile GitHub Sponsor (Razzile)]
 
|source = [https://github.com/xenia-project/xenia GitHub]
 
|source = [https://github.com/xenia-project/xenia GitHub]
 +
|license = BSD license
 
}}
 
}}
'''Xenia''' is an experimental, open-source [[Xbox 360 emulators|Xbox 360 emulator]] for Windows and Linux that is under regular development.<ref>https://github.com/xenia-project/xenia/commits/master</ref> It was the very first open-source Xbox 360 emulator to achieve the feat of running a commercial Xbox 360 game, Frogger 2.<ref name="Ben Vanik">{{cite web|url=https://www.youtube.com/watch?v=oAk0_jidpA0|title=Xenia Xbox 360 Emulator: Frogger 2 first run|publisher=Youtube|accessdate=2018-05-23|date=2014-03-24}}</ref>
+
 
 +
'''Xenia''' is an experimental, free and open-source [[Xbox 360 emulators|Xbox 360 emulator]] for Windows and Xbox One/Series and, to a lesser extent, other OSs (through [[Wine]]). Outside of Microsoft's own backward compatibility on successive consoles, Xenia is the first and only unofficial Xbox 360 emulator that exists.
  
 
==Download==
 
==Download==
* [https://ci.appveyor.com/project/benvanik/xenia/build/artifacts '''Official Builds''']
+
{| cellpadding="4"
* [http://www.emucr.com/search/label/Xenia?&max-results=12 Dev Builds]
+
|-
 +
|align=center|{{Icon|Win-big}}
 +
|'''[https://github.com/xenia-project/release-builds-windows/tags Official Dev builds]'''
 +
|-
 +
|align=center|{{Icon|Win-big}}
 +
|'''[https://github.com/xenia-canary/xenia-canary/tags Latest Canary Dev build]'''<br/><small>Experimental testing branch</small>
 +
|}
  
 
==Overview==
 
==Overview==
'''Xenia''' started in development sometime around 2013<ref>https://github.com/xenia-project/xenia/graphs/contributors</ref> as a side project by Ben Vanik. It is currently the first and only Xbox 360 emulator available (barring the official for Xbox One).
+
Xenia originally began development in early 2013 as a side project by Ben Vanik.<ref>[https://github.com/xenia-project/xenia/commit/30bde439f7db22a35595689ca434756707bb8391 Ben Vanik's first commit]. Jan 10, 2013.</ref> It was the first emulator to run a commercial Xbox 360 game, Frogger 2.<ref name="Ben Vanik">{{cite web|url=https://www.youtube.com/watch?v=oAk0_jidpA0|title=Xenia Xbox 360 Emulator: Frogger 2 first run|publisher=Youtube|accessdate=2018-05-23|date=2014-03-24}}</ref> Up until 2018, progress continued steadily until the developers hit a roadblock in accurately emulating Xenos, the GPU of the Xbox 360.
  
A programmer called '[https://github.com/xenia-project/xenia/commits?author=Triang3l Triang3l]' has been working on a brand new DirectX 12 graphics API backend for Xenia since July 18, 2018, which is totally different from the old code in their emulation quality. This new solution is able to emulate the 360's 10MB EDRAM memory for frame buffers which the older code didn't cover. Triang3l is also building a different, faster and more accurate memory emulation, which should lead to less broken vertices and textures being seen in-game.
+
For the next three years, an active contributor named Triang3l completely rewrote the GPU implementation with the primary goal of addressing this. Once implemented, it more than doubled performance.<ref name="xenia">{{cite web|url=https://xenia.jp/updates/2021/04/27/leaving-no-pixel-behind-new-render-target-cache-3x3-resolution-scaling.html|title=Leaving No Pixel Behind: New Render Target Cache, 3x3 Resolution Scaling & Three Years in Xenia’s GPU Emulation|author=Triang3l}}.</ref> Triang3l also built a different, faster and more accurate memory emulation, which should lead to fewer broken vertices and textures being seen in-game.
  
*[http://xenia.jp/compatibility/ Compatibility list]
+
For proper handling of the GPU's capabilities, Xenia now requires a specific feature of Direct3D 12 called Rasterizer-Ordered Views, which is limited only to newer cards.<ref>Margen67. [https://github.com/xenia-project/xenia/wiki/FAQ#what-is-rov FAQ]. ''§ What is ROV?'' "Using the Rasterizer-Ordered Views (ROV) feature of Direct3D 12 allows Xenia to overcome [slow performance and unfixable transparency issues] by doing blending and depth/stencil testing manually in pixel shaders, rendering directly to the 10 MB buffer. This allows for much higher performance since there's no expensive data copying and better accuracy because of no pixel format limitations. [...] However, this is a hardware feature, and thus on older graphics cards, Xenia is limited to the RT path."</ref> Xenia is capable of 3x3 upscaling, but such a feature is resource intensive and can only be accomplished with high-end GPUs at the moment.
*[https://obk.ee/xenia/ Daily compatibility chart] Chart is updated daily and easy to read.
 
*[https://docs.google.com/spreadsheets/d/1xxOJqDuGUS0lPb9s_Fw9cC45YaT-1QEL8g29jdXKFx8/edit?usp=sharing Unofficial Compatibility list]. This compatibility list gets updated with DirectX12 builds.
 
  
 
==System requirements==
 
==System requirements==
* OS: Windows 8 or 10 (64-bit)
+
See [[Computer_specifications#Xenia]]
* CPU: AVX or AVX2 support (Sandy Bridge or newer)
+
 
* GPU: [http://vulkan.gpuinfo.org/ Vulkan compatible]
+
==Features==
* Misc.: XInput compatible controller
+
[[File: Xenia UI and Screens.png|300px|thumb|left|Some of Xenia's settings and game screenshots. View picture to enlarge.]]
 +
 
 +
*'''Video Upscaling'''
 +
Up to 3x, depending on the game. Accessible via the text config file.
 +
 
 +
 
 +
*'''Post Processing'''
 +
Including Nvidia FAA and/or AMD Fidelty FX resampling.
 +
 
 +
 
 +
*'''Controller Binding'''
 +
Accessible via the text config file.
 +
 
 +
 
 +
*'''Individual Game Patching'''
 +
A key feature of the Canary Fork only.
 +
 
 +
 
 +
==Configuration==
 +
Most configuration options usually found in the GUI are instead found in the file '''xenia.config.toml''' ''(xenia-canary.config.toml for canary builds, xenia-canary-netplay.config.toml for canary-netplay builds)''. The file can be opened and edited with any text editor without having to change the file extension and can be found under the filepath "...\Users\User\Documents\Xenia" along with shader cache and per-game files when using windows (but you can make it portable if you place portable.txt in the same folder as xenia.exe, canary builds portable by default). GPU options such as v-sync, resolution scale, and much more can be found in the xenia.config.toml file.
 +
 
 +
If you are trying to emulate Xbox Live Arcade titles, then the line "license_mask = 0" should be changed to "license_mask = 1". The demo mode and full game files for XBLA titles are actually identical, and this option allows the games to exit demo mode.
 +
 
 +
If you are experiencing various sound issues with specific titles try latest canary build and set in config: use_new_decoder true and use_dedicated_xma_thread false and also try changing apu_max_queued_frames from 64 to 16. It might be better or worse.[https://discord.com/channels/308194948048486401/701111856600711208/1222135060879114332]
 +
 
 +
For checking if your games work and any fixes, tweaks, or settings, see compatibility list.
 +
 
 +
==Linux and SteamOS/Steam Deck==
 +
:For emulation on Linux; you need to use [[Compatibility_layer|proton experimental compatibility layer]] and Vulkan backend; though it's heavily incomplete at the moment, see [[Xbox_360_emulators#Emulation_issues|Xbox 360 emulation issues section]] for more information for Vulkan backend.
 +
:You can use [[Wrappers#2000s_and_later_APIs|vkd3d wrapper]] instead of using Vulkan backend for xenia with your SteamOS; recently vkd3d had some improvements for xenia that can allow you to play with D3D12 backend and some working titles on linux-based operating systems. Keep in mind that if you are using proton experimental compatibility layer; [https://old.reddit.com/r/SteamDeck/comments/16jh4b4/i_got_xenia_canary_fully_working_on_steamos_no/ vkd3d-proton wrapper already comes with it].
  
 
==References==
 
==References==
Line 37: Line 74:
  
 
==External links==
 
==External links==
*[https://discordapp.com/invite/Q9mxZf9 Discord channel]
+
*[https://discordapp.com/invite/Q9mxZf9 Official Discord Server]
 
*[https://www.reddit.com/r/xenia/ r/Xenia reddit]
 
*[https://www.reddit.com/r/xenia/ r/Xenia reddit]
 
*[http://www.noxa.org/blog/category/projects/xenia/ Informative overview on building an emulator (Xenia blog)]
 
*[http://www.noxa.org/blog/category/projects/xenia/ Informative overview on building an emulator (Xenia blog)]
 
*[https://www.youtube.com/watch?v=vE32Z9ytbgU A-Train HX running at 60 FPS on Xenia]
 
*[https://www.youtube.com/watch?v=vE32Z9ytbgU A-Train HX running at 60 FPS on Xenia]
*[https://www.youtube.com/watch?v=TgFXbhuL_5M&index=9&list=PLEtk6GvDeuAUEj344hzSrG4oqzh_udleW&t=2s XENIA 1.05ML - Multi Test (Gameplay) Vulkan api #1] (Emulators for PC. Jun 26, 2018. 10 games.)
+
*[https://www.youtube.com/watch?v=h8aWpgPStuY&index=6&list=PLEtk6GvDeuAUEj344hzSrG4oqzh_udleW XENIA 1.06ML - XBLA Games. Part 1 (Multi Test) Vulkan api #1] (Emulators for PC. Jul 1, 2018.)
 
*[https://www.youtube.com/watch?v=PNl2KTJzTeQ&t=0s&index=8&list=PLEtk6GvDeuAUEj344hzSrG4oqzh_udleW XENIA - Vulkan VS DirectX 12 (Gameplay) Multi Test #1] (Emulators for PC. Published on Sep 20, 2018.)
 
 
 
 
[[Category:Emulators]]
 
[[Category:Emulators]]
 +
[[Category:Console emulators]]
 +
[[Category:Home console emulators]]
 +
[[Category:Xbox 360 emulators]]
 
[[Category:Windows emulation software]]
 
[[Category:Windows emulation software]]
[[Category:Linux emulation software]]
 
[[Category:Xbox 360 emulators]]
 

Latest revision as of 11:37, 26 March 2024

Xenia
Xenia.png
Original developer(s) Ben Vanik (Initial work. Retired 2016.)
Current developer(s) DrChat (Also worked with B. Vanik), Rick Gibbed and Xenia community
Latest version v1.0.2808 [+]
Active Yes
Platform(s) Windows
Xbox One
Emulates Xbox 360
Compatibility 18% playable, possibly more
Website Xenia.jp
Support ($) Patreon
Patreon (gibbed)
GitHub Sponsor (gibbed)
GitHub Sponsor (JoelLinn)
GitHub Sponsor (Razzile)
License BSD license
Source code GitHub

Xenia is an experimental, free and open-source Xbox 360 emulator for Windows and Xbox One/Series and, to a lesser extent, other OSs (through Wine). Outside of Microsoft's own backward compatibility on successive consoles, Xenia is the first and only unofficial Xbox 360 emulator that exists.

Download[edit]

Windows Official Dev builds
Windows Latest Canary Dev build
Experimental testing branch

Overview[edit]

Xenia originally began development in early 2013 as a side project by Ben Vanik.[1] It was the first emulator to run a commercial Xbox 360 game, Frogger 2.[2] Up until 2018, progress continued steadily until the developers hit a roadblock in accurately emulating Xenos, the GPU of the Xbox 360.

For the next three years, an active contributor named Triang3l completely rewrote the GPU implementation with the primary goal of addressing this. Once implemented, it more than doubled performance.[3] Triang3l also built a different, faster and more accurate memory emulation, which should lead to fewer broken vertices and textures being seen in-game.

For proper handling of the GPU's capabilities, Xenia now requires a specific feature of Direct3D 12 called Rasterizer-Ordered Views, which is limited only to newer cards.[4] Xenia is capable of 3x3 upscaling, but such a feature is resource intensive and can only be accomplished with high-end GPUs at the moment.

System requirements[edit]

See Computer_specifications#Xenia

Features[edit]

Some of Xenia's settings and game screenshots. View picture to enlarge.
  • Video Upscaling

Up to 3x, depending on the game. Accessible via the text config file.


  • Post Processing

Including Nvidia FAA and/or AMD Fidelty FX resampling.


  • Controller Binding

Accessible via the text config file.


  • Individual Game Patching

A key feature of the Canary Fork only.


Configuration[edit]

Most configuration options usually found in the GUI are instead found in the file xenia.config.toml (xenia-canary.config.toml for canary builds, xenia-canary-netplay.config.toml for canary-netplay builds). The file can be opened and edited with any text editor without having to change the file extension and can be found under the filepath "...\Users\User\Documents\Xenia" along with shader cache and per-game files when using windows (but you can make it portable if you place portable.txt in the same folder as xenia.exe, canary builds portable by default). GPU options such as v-sync, resolution scale, and much more can be found in the xenia.config.toml file.

If you are trying to emulate Xbox Live Arcade titles, then the line "license_mask = 0" should be changed to "license_mask = 1". The demo mode and full game files for XBLA titles are actually identical, and this option allows the games to exit demo mode.

If you are experiencing various sound issues with specific titles try latest canary build and set in config: use_new_decoder true and use_dedicated_xma_thread false and also try changing apu_max_queued_frames from 64 to 16. It might be better or worse.[1]

For checking if your games work and any fixes, tweaks, or settings, see compatibility list.

Linux and SteamOS/Steam Deck[edit]

For emulation on Linux; you need to use proton experimental compatibility layer and Vulkan backend; though it's heavily incomplete at the moment, see Xbox 360 emulation issues section for more information for Vulkan backend.
You can use vkd3d wrapper instead of using Vulkan backend for xenia with your SteamOS; recently vkd3d had some improvements for xenia that can allow you to play with D3D12 backend and some working titles on linux-based operating systems. Keep in mind that if you are using proton experimental compatibility layer; vkd3d-proton wrapper already comes with it.

References[edit]

  1. Ben Vanik's first commit. Jan 10, 2013.
  2. Xenia Xbox 360 Emulator: Frogger 2 first run. Youtube (2014-03-24)
  3. Triang3l. Leaving No Pixel Behind: New Render Target Cache, 3x3 Resolution Scaling & Three Years in Xenia’s GPU Emulation.
  4. Margen67. FAQ. § What is ROV? "Using the Rasterizer-Ordered Views (ROV) feature of Direct3D 12 allows Xenia to overcome [slow performance and unfixable transparency issues] by doing blending and depth/stencil testing manually in pixel shaders, rendering directly to the 10 MB buffer. This allows for much higher performance since there's no expensive data copying and better accuracy because of no pixel format limitations. [...] However, this is a hardware feature, and thus on older graphics cards, Xenia is limited to the RT path."

External links[edit]