__TOC__
= How to use =
# Run xenia if you haven't before.
# [https://social.technet.microsoft.com/wiki/contents/articles/1784.windows-how-to-view-file-name-extensions.aspx Show file name extensions in Explorer].
# Go to Documents\Xenia
and open xenia.config.toml
in a text editor like [https://notepad-plus-plus.org/download/ Notepad++].
#* The config should be saved while Xenia is closed to prevent it from being overwritten.
#* If a portable.txt
file is present in the same directory as xenia.exe it will be in the same directory as xenia.exe.
#* Per-game configs go in config\TitleID.config.toml
. Note that '''per-game configs are highly unstable''', only very few options can be changed from it safely or at all, as most emulator subsystems are initialized before per-game configs are loaded.
# For launchers/frontends like [https://github.com/quinton-ashley/bottlenose Bottlenose] you can use the --config
launch parameter to specify what config to use.
#* To launch specific games, add the path to the game before the launch options. For example: xenia.exe path/to/game/default.xex --vsync=false
= Master =
== Run games as full/activated ==
{|
! license_mask
=
! #
|-
| Deactivated/trial/demo mode ''(default)''
| 0
|-
| Activated/full mode
| -1
or 1
|}
== Game language ==
{|
! user_language
=
!align="center"| #
|-
| EN (English, ''default'')
|align="center"| 1
|-
| JA (Japanese/日本語)
|align="center"| 2
|-
| DE (German/Deutsche)
|align="center"| 3
|-
| FR (French/Français)
|align="center"| 4
|-
| ES (Spanish/Español)
|align="center"| 5
|-
| IT (Italian/Italiano)
|align="center"| 6
|-
| KO (Korean/한국어)
|align="center"| 7
|-
| ZH (Traditional Chinese/繁體中文)
|align="center"| 8
|-
| PT (Portuguese/Português)
|align="center"| 9
|-
| PL (Polish/Polski)
|align="center"| 11
|-
| RU (Russian/русский)
|align="center"| 12
|-
| SV (Swedish/Svenska)
|align="center"| 13
|-
| TR (Turkish/Türk)
|align="center"| 14
|-
| NB (Norwegian/Norsk)
|align="center"| 15
|-
| NL (Dutch/Nederlands)
|align="center"| 16
|-
| ZH (Simplified Chinese/简体中文)
|align="center"| 17
|}
== GPU ==
=== D3D12 ===
==== Render target path ====
[https://github.com/xenia-project/xenia/wiki/ROV What is ROV (rasterizer-ordered views)?]
Leave this option blank for auto-selection.
{|
! render_target_path_d3d12
=
! string
|-
| RTV ''(recommended for speed)''
| rtv
|-
| ROV ''(if available, for higher accuracy in certain cases)''
| rov
|}
==== Resolution scaling ====
This is a hack, and as such, '''bugs should be expected'''.
Horizontal scale (X):
{|
! draw_resolution_scale_x
=
! #
|-
| 1x (''default'', 1280x)
| 1
|-
| 2x (2560x)
| 2
|-
| 3x (3840x)
| 3
|-
| 4x (5120x)
| 4
|-
| 5x (6400x)
| 5
|-
| 6x (7680x)
| 6
|-
| 7x (8960x)
| 7
|}
Vertical scale (Y):
{|
! draw_resolution_scale_y
=
! #
|-
| 1x (''default'', x720)
| 1
|-
| 2x (x1440)
| 2
|-
| 3x (x2160)
| 3
|-
| 4x (x2880)
| 4
|-
| 5x (x3600)
| 5
|-
| 6x (x4320)
| 6
|-
| 7x (x5040)
| 7
|}
==== CPU readback after render target resolving ====
* This is needed for certain games, including but not limited to:
** https://github.com/xenia-project/game-compatibility/issues?q=is%3Aopen+is%3Aissue+label%3Agpu-readback
{|
! d3d12_readback_resolve
=
! bool
|-
| Off (''default'')
| false
|-
| On (''slower'')
| true
|}
=== Misc ===
==== Allow invalid fetch constants ====
Allow texture and vertex fetch constants with invalid type - generally unsafe because the constant may contain completely invalid values, but may be used to bypass fetch constant type errors in certain games until the real reason why they're invalid is found.
{|
! gpu_allow_invalid_fetch_constants
=
! bool
|-
| Off (''default'')
| false
|-
| On (hack)
| true
|}
==== Vsync ====
{|
! vsync
=
! bool
|-
| On ''(default)''
| true
|-
| Off ''(uncaps FPS)''
| false
|}
* ''This won’t improve the framerate if your PC can’t handle running the game at it’s native FPS.''
* Games that speed up have the [https://github.com/xenia-project/game-compatibility/issues?q=is%3Aopen+is%3Aissue+label%3Avsync-off-speedup vsync-off-speedup] label.
==== Renderer/Backend ====
{|
! gpu
=
! string
|-
| Any ''(default, '''recommended''')''
| any
|-
| Direct3D 12
| d3d12
|-
| Vulkan ''('''not''' recommended)''
| vulkan
|-
| Null ''(blank/nothing)''
| null
|}
== HID (Input) ==
{|
! hid
=
! string
|-
| Any ''(default)''
| any
|-
| SDL2* ''(needed for non-XInput controllers, '''DOES NOT REQUIRE DLL''')''
| sdl
|-
| XInput
| xinput
|-
| Keyboard
| winkey
|}
*When using SDL: If your game controller is not mapped correctly, [https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt download gamecontrollerdb.txt] and place it in the folder next to your Xenia executable.
== Hacks ==
=== Protect zero ===
{|
! protect_zero
=
! bool
|-
| True ''(default)''
| true
|-
| False (hack, needed for certain games)
| false
|}
* Certain games require this to set be set to false to work around crashes. This includes, but isn't limited to:
** https://github.com/xenia-project/game-compatibility/issues?q=is%3Aopen+is%3Aissue+label%3Arequires_protect_zero_false
=== Break on unimplemented instruction ===
{|
! break_on_unimplemented_instruction
=
! bool
|-
| True ''(default)''
| true
|-
| False (hack, needed for certain games)
| false
|}
* Certain games require this to set be set to false to work around crashes. This includes, but isn't limited to:
** https://github.com/xenia-project/game-compatibility/issues?q=is%3Aopen+is%3Aissue+label%3Acpu-unimplemented-instruction
= Canary =
Newer Canary versions always have the config in the same place as the executable.
{|
! Description
! Filename
|-
| Executable
| xenia_canary.exe
(older builds are called xenia-canary.exe
)
|-
| config
| xenia-canary-config.toml
|}
== Video ==
=== Vsync interval ===
If a game speeds up when vsync is disabled this will also affect game speed.
{|
! vsync_interval
=
! #
(frametime in milliseconds)
|-
| x1 ''(60 FPS, default)''
| 16
|-
| x2 ''(120 FPS; 60 FPS for 30 FPS games)''
| 8
|}
=== Internal display resolution ===
This is the same as changing the resolution on a real Xbox 360, and as such '''DOES NOT WORK WITH ALL GAMES!'''
{|
! internal_display_resolution
! #
|-
| 640x576
| 1
|-
| 720x480
| 2
|-
| 720x476
| 3
|-
| 800x600
| 4
|-
| 848x480
| 5
|-
| 1024x768
| 6
|-
| 1152x864
| 7
|-
| 1280x720 ''(default)''
| 8
|-
| 1280x768
| 9
|-
| 1280x960
| 10
|-
| 1280x1024
| 11
|-
| 1360x768
| 12
|-
| 1440x900
| 13
|-
| 1680x1050
| 14
|-
| 1920x540
| 15
|-
| 1920x1080 '''!ONCE AGAIN, THIS IS NOT GUARANTEED TO WORK!'''
| 16
|}
=== avpack (video mode) ===
{|
! avpack
=
! #
|-
| HDMI ''(default)''
| 8
|-
| TV PAL-60
| 7
|-
| VGA
| 6
|-
| PAL-60 Composite/S-Video
| 5
|-
| HDMI+A
| 4
|-
| 480p Component(HD)
| 3
|-
| PAL-60 SCART
| 2
|-
| Unused
| 1
|-
| PAL-60 Component(SD)
| 0
|}
== Hacks ==
=== Max queued frames ===
Allows changing max buffered audio frames to reduce audio delay.
{|
! apu_max_queued_frames
=
! #
''(16 minimum)''
|-
| Default
| 64
|}
=== Clear GPU cache ===
* Certain games require this to set be set to true to work around visual bugs. This includes, but isn't limited to:
** https://github.com/xenia-project/game-compatibility/issues?q=is%3Aopen+is%3Aissue+label%3Acpu-unimplemented-instruction
{|
! d3d12_clear_memory_page_state
=
! bool
|-
| Default
| false
|-
| Worsens performance, but can help reduce visual anomalies like polygon explosions or corrupted textures.
| true
|}