2017-07-30 09:13:10 +00:00
# Cxbx-Reloaded - Original Xbox Emulator
2017-03-13 16:07:07 +00:00
[](https://img.shields.io/badge/License-GPL%20v2-blue.svg)
[](https://ci.appveyor.com/project/SoullessSentinel/cxbx-reloaded)
[](https://gitter.im/Cxbx-Reloaded/Lobby)
2018-07-24 18:33:04 +00:00
[](https://discord.gg/26Xjx23)
2016-08-24 19:55:47 +00:00
2016-09-09 20:44:08 +00:00
Cxbx-Reloaded is an emulator for running Microsoft Xbox (and eventually, Chihiro) games on Microsoft Windows.
2016-08-24 19:55:47 +00:00
2016-09-09 20:44:08 +00:00
## System Requirements
2017-07-30 09:13:10 +00:00
### Minimum
2018-05-16 09:12:03 +00:00
* OS: Windows 7+ x64. 32-bit installations are not supported.
2018-09-02 06:22:48 +00:00
* GPU: Anything that supports Direct3D 9 (HLE) and OpenGL 3.3 (LLE).
2017-07-31 08:01:48 +00:00
### Prerequisites
2019-05-25 17:25:20 +00:00
* 32-bit (x86) Visual C++ 2019 redistributable is required. Download it [here ](https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads ).
* Make sure to install the 32-bit (x86) version even if you're on a 64-bit machine, as the 64-bit build does not include both!
2019-03-01 09:01:26 +00:00
* Npcap (Used for Network emulation): Download the Installer [here ](https://nmap.org/npcap/#download ). Make sure to enable winpcap compatibility mode!
2019-05-13 22:06:13 +00:00
2017-03-22 09:11:25 +00:00
## Automated Builds
2018-06-18 07:24:45 +00:00
Cxbx-Reloaded is not yet ready for general release, but the latest development builds can be downloaded using the links below:
### Development Builds
2019-07-14 00:13:03 +00:00
* [Latest Development Build ](https://ci.appveyor.com/api/projects/SoullessSentinel/cxbx-reloaded/artifacts/Release.zip?branch=develop&job=Configuration:%20Release&pr=false )
2018-06-18 07:24:45 +00:00
2018-02-14 20:13:30 +00:00
* [Full build history ](https://ci.appveyor.com/project/SoullessSentinel/cxbx-reloaded/history )
2017-03-22 09:11:25 +00:00
2017-07-28 05:18:12 +00:00
## Compatibility
2018-05-16 09:12:03 +00:00
Cxbx-Reloaded has a [compatibility list ](https://github.com/Cxbx-Reloaded/game-compatibility/issues ).
2018-04-28 02:03:19 +00:00
2018-05-16 09:12:03 +00:00
If you have something to report on a title, please create or update the issue for it there.
2018-04-28 02:03:19 +00:00
2018-05-16 09:12:03 +00:00
Please read the [Readme file ](https://github.com/Cxbx-Reloaded/game-compatibility/blob/master/README.md ) first!
2017-07-28 05:18:12 +00:00
2016-09-30 07:33:33 +00:00
## Bug Reports
2018-03-05 05:14:56 +00:00
Game or software specific issues can be reported in the [compatibility list ](https://github.com/Cxbx-Reloaded/game-compatibility/issues ).
2017-08-15 12:23:28 +00:00
2018-05-16 09:12:03 +00:00
For emulation issues that are not specific to any single piece of software, a bug report can be submitted at [the Cxbx-Reloaded issue tracker ](https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/issues ).
2017-08-15 12:23:28 +00:00
2018-05-16 09:12:03 +00:00
Make sure bug reports contain:
2018-04-28 02:03:19 +00:00
* The build tested with, error message displayed (if any)
* Screenshots
2018-05-16 09:12:03 +00:00
* Xbe dump (created via [Edit > Dump Xbe Info To > File])
* Kernel Debug log (created when running a game with [View > Debug Output (Kernel) > File] selected).
2016-09-30 07:33:33 +00:00
2017-08-02 13:07:37 +00:00
## Additional information
2018-04-28 02:03:19 +00:00
Cxbx-Reloaded has a [wiki ](https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/wiki ) containing various subjects and background information.
Chat on [Gitter ](https://gitter.im/Cxbx-Reloaded/Lobby ), or [Discord ](https://discord.gg/26Xjx23 ).
2016-09-09 20:44:08 +00:00
2017-08-25 14:55:38 +00:00
## Contributing
2018-04-28 02:03:19 +00:00
We welcome contributions, large and small.
If you want to do some coding, be sure to read the [Developer notes ](https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/wiki/Developer-notes ).
2019-02-05 20:59:39 +00:00
**IMPORTANT: Pull-Requests containing code derived from XQEMU will _not_ be approved until an agreement is reached to make work mutually beneficial. this includes updates to existing xqemu derived code. We should not/will not become a hostile fork.**
2018-04-28 02:03:19 +00:00
Please contact us before you start working on something, so we can make sure your work is going to be accepted once finished.
2017-08-25 14:55:38 +00:00
2019-05-13 22:06:13 +00:00
### Main Prerequisites
2017-12-02 10:44:45 +00:00
1. [Git for Windows ](https://git-scm.com/ )
2019-05-13 22:06:13 +00:00
2. [CMake ](https://cmake.org/ )
2019-05-25 17:25:20 +00:00
* **REMARK:** Some IDEs already have CMake support, so this is optional.
2017-12-02 10:42:06 +00:00
### Fetching the code
2018-05-16 09:12:03 +00:00
Run the following command on the command line:
2018-04-28 02:03:19 +00:00
`git clone --recurse-submodules https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/`
Please note the `--recurse-submodules` parameter. This is required to fetch sub-modules.
2017-12-02 10:42:06 +00:00
2018-04-28 02:03:19 +00:00
Without this, Cxbx-Reloaded will fail to build.
If Cxbx-Reloaded was previously checked out without the submodules, they can be updated/fetched with the following command:
2019-05-25 17:07:17 +00:00
`git submodule update --init --recursive`
2017-12-02 10:42:06 +00:00
### Compiling
2019-05-13 22:06:13 +00:00
Please note that Debug builds are significantly slower, but may help diagnose a problematic title.
## Windows
2019-05-15 16:13:18 +00:00
**NOTE:** It's not recommended to open CMakeLists.txt from Visual Studio, as it won't generate files in the build directory.
2018-04-28 02:03:19 +00:00
2019-05-13 22:06:13 +00:00
### Prerequisites
2019-05-25 17:25:20 +00:00
1. [Visual Studio 2019 ](https://www.visualstudio.com/downloads/ ) or 2017
2019-05-13 22:06:13 +00:00
* Both C++ and C# desktop development
* Windows Universal CRT SDK
* C++ CMake tools for Windows ** (optional if CMake is installed on system)**
2. [Microsoft Child Process Debugging Power Tool ](https://marketplace.visualstudio.com/items?itemName=GreggMiskelly.MicrosoftChildProcessDebuggingPowerTool )
### Create Visual Studio generator files
1. Open "___ Native Tools Command Prompt for VS 20__" from Start Menu.
* Ignore this step if you have CMake installed on your system.
2. Navigate to downloaded Cxbx-Reloaded repo's directory as current working directory.
3. Then run these commands.
1. `mkdir build & cd build` - Requirement to create and go in the build directory.
* **REMARK:** You can use `build-x86` as your preferred directory as well.
2019-05-25 17:25:20 +00:00
2. `cmake .. -G "Visual Studio 16 2019" -A Win32` - Create generated files for Visual Studio 2019.
* Or use `"Visual Studio 15 2017"` for Visual Studio 2017.
2019-05-13 22:06:13 +00:00
* **REMARK:** CMake 1.14 or later is the requirement to support Visual Studio 2019 generator.
2019-05-25 18:23:26 +00:00
* Visual Studio **16.1** 2019 or later has CMake 1.14 bundled.
2019-05-13 22:06:13 +00:00
4. Open `Cxbx-Reloaded.sln` from build-x86 directory, select your configuration (Release or Debug), then hit Build.
## Linux / macOS
Currently not supported yet.
2017-12-02 10:42:06 +00:00
2017-06-24 16:46:33 +00:00
## Support
2018-04-28 02:03:19 +00:00
You can support [Luke Usher ](https://github.com/LukeUsher ), initiator of Cxbx-Reloaded, on [Patreon ](https://www.patreon.com/LukeUsher ).
2017-06-24 16:46:33 +00:00
2016-09-09 20:44:08 +00:00
## Special Thanks
2019-05-25 17:25:20 +00:00
* All contributors to the original Cxbx and [Dxbx ](https://github.com/PatrickvL/Dxbx ) projects. Without them Cxbx-Reloaded would not exist at all.
2019-03-26 09:18:15 +00:00
* [XQEMU ](https://github.com/xqemu/xqemu ) - While the majority of Cxbx-R is our own work (Kernel, HLE, etc), the NV2A LLE implementation and NVNet implementation are primarily the work of the XQEMU developers.
2019-02-05 21:17:58 +00:00
* [XboxDev ](https://github.com/xboxdev/ ) - Providing Xbox Hardware Research & Useful Tooling