XQEMU

From Emulation General Wiki
Revision as of 08:39, 5 January 2019 by Emulation issues (talk | contribs)
Jump to navigation Jump to search
XQEMU
Developer(s) espes, mborgerson, JayFoxRox and XQEMU Community
Latest version N/A
Active Yes
Platform(s) Windows
macOS
Linux
Emulates Xbox, Sega Chihiro (Arcade. WIP)
Website XQEMU.com
Source code GitHub

XQEMU is an open-source, low-level, multi-platform Xbox and Sega Chihiro (WIP) emulator based off of QEMU, a general-purpose computer emulator and hypervisor. What makes this emulator different from other attempts at Xbox emulation is the use of low-level emulation, while previous attempts at Xbox emulation used high-level emulation. This comes with its own benefits and downsides in comparison, but it has quickly lead to higher accuracy and greater compatibility.

Downloads

Unofficial builds are also available:

Frontends

XQEMU does not come with an Xbox specific GUI and needs a separate frontend for GUI features.

Unofficial frontends are also available:

  • XQEMU-Frontend by Voxel9 (Builds available; GUI only)
  • xqemu-gui by BigBrainAFK (Builds available; GUI only)
  • XQEMURun by illwieckz (Python script; Command-Line interface only)

Overview

XQEMU is under active development, and is accepting contributions by anyone.

Emulator

XQEMU is the most accurate and most compatible open-source Xbox emulator. Many games work correctly in XQEMU, but there are performance issues in most some games. Due to the small number of contributors, development focus has always been accuracy, but there's occasional performance improvements. As more developers contribute to the project and emulation matures, focus will shift to performance.

mborgerson has, since March 24, 2018,[1] begun work on rebasing XQEMU on the latest QEMU tag, "[bringing] many years of performance enhancements to xqemu including support for native virtualization APIs."[2] The rebase branch, which was merged into Master on June 2018, incorporated over 30,000 commits from QEMU that were never merged over the years. Work continues to reinstate 3D rendering. Shortly after, the codebase was rebased to QEMU 3.0.0.

XQEMU supports CPU virtualization to improve emulation performance, at a minor loss of compatibility:

  • Windows: WHPX (broken, awaiting fixes by Microsoft), HAXM (broken, awaiting fixes by Intel)
  • macOS: HVF (broken, awaiting fixes by Apple), HAXM (broken, awaiting fixes by Intel)
  • Linux: KVM (working)

KVM has been supported since 2013 and is the only stable CPU virtualization at the moment. With the rebase to QEMU 2.x and 3.x in 2018, support for other CPU virtualization became possible. HVF changes were contributed by espes. Additionally, active development of HAXM, WHPX and HVF made them more compatible with XQEMU, but problems remain. Problems were reported to the respective projects and testing continues. Throughout September 2018 and later, mborgerson has been showcasing KVM for Linux-based systems and HAXM for Windows & macOS systems in XQEMU. They provide decent performance boosts to games such as Halo: Combat Evolved but still weren't enough to run at full frame rate speeds.

In June 2018, mborgerson created a new website for XQEMU at xqemu.com; xbox7887 contributed xqemu.org as alternative domain.

In June 2018, JayFoxRox released nv2a-trace, to debug and compare Xbox GPU behaviour, to XQEMU graphics emulation. This has quickly lead to bug-fixes and allows other developers to gain a better understanding about the Xbox GPU.

In July 2018, JayFoxRox improved XQEMUs controller emulation. More than 20 games were affected by this change. The standard controllers are emulated with no known issues now.

In 2018, a trivial bug in the network emulation was identified by JayFoxRox and mborgerson. Since this patched, System-Link is supported. System-Link has been tested between different instances of XQEMU, and XQEMU and physical Xbox consoles.

In late 2018, mborgerson introduced a new texture cache, which improves the performance of XQEMU.

In December 2018, JayFoxRox has started integration of audio emulation for XQEMU. This work is based on his 2017 research and prototypes. Additionally, many DSP related tools to assist further development were created, to attract more developers.

In December 2018, mborgerson made a prototype for performance changes. This included a prototype for surface-caching, which greatly enhances visual quality and performance. That work has not been integrated into the official version yet.


Official Frontend

In May 2018, mborgerson created XQEMU-Manager, the official frontend for XQEMU. This was done to make XQEMU easier to use, and to combat the rise of many competing unofficial user interfaces. XQEMU-Manager is accepting contributions by anyone.

In October 2018, Thrimbor added support for adding custom command line options for running XQEMU. This was primarily done to work-around lack of input configuration options, it was based on earlier concepts by JayFoxRox and dracc.

In October 2018, Thrimbor added an option to enable CPU virtualization. It only allows HAXM on Windows / macOS, and KVM on Linux. HVF and WHPX are not supported, due to stability issues.

In November 2018, Thrimbor added support for basic input configuration.

In December 2018, Thrimbor added support for configuring emulated memory units.

Related projects

In June 2018, mborgerson created a copyright-free Xbox HDD Image. It is fully functional for most use-cases and an alterantive to real Xbox HDD images.

In October 2018, mborgerson made xqemu-kernel, an attempt at an open-source Xbox kernel as HLE alternative. It is currently considered a prototype and not functional. It is currently not hosted as part of the offical XQEMU ecosystem either.

espes and JayFoxRox initiated XboxDev, an organization dedicated to researching and documenting original Xbox and Chihiro. Many XQEMU developers are also active members and contributors to XboxDev projects. As a result, most development tools developed for XQEMU, are hosted by XboxDev.

Running

Follow the latest official instructions at xqemu.com.

References

  1. mborgerson. Add hw/xbox from xqemu. GitHub.
  2. README.md. GitHub.

External links