LibXenon provides a bare-metal homebrew library for the Xbox 360 gaming console.
Check out (https://hub.docker.com/u/free60)
Example usage
host $ cd libxenon-homebrew-app/
host $ docker run -it -v $PWD:/app free60/libxenon:latest
docker $ cd /app
docker $ make
Dependencies for Linux distributions using the dnf
or apt
package managers will automatically be installed for you. These include:
- flex
- bison
- gcc-multilib
- libgmp3-dev
- libmpfr-dev
- libmpc-dev
- texinfo
- git-core
- build-essential
- wget
- file
If you are not using a Linux system with either the dnf
or apt
package manager, ensure the above equivalents are installed before running the main driving script to setup LibXenon, which is named toolchain/build-xenon-toolchain
. See below on how to use it.
By default the prefix is set to /usr/local/xenon
. If you want to choose your own prefix, prepend it to the ./build-xenon-toolchain
invocation, i.e. PREFIX="/home/username/xenon" ./build-xenon-toolchain toolchain
.
./build-xenon-toolchain toolchain
./build-xenon-toolchain libxenon
./build-xenon-toolchain libs
After installation of the toolchain, the following environment variables need to be populated:
DEVKITXENON="/usr/local/xenon"
PATH="${PATH:+${PATH}:}"$DEVKITXENON"/bin:"$DEVKITXENON"/usr/bin"
DEVKITXENON
depends on your chosen installation prefix location. The default value is /usr/local/xenon
unless you changed it.
You may edit your ~/.bashrc to set these in every shell automatically. Alternatively, you may execute ./build-xenon-toolchain env-cmd
to install a command named xenon-env
. When you run that command, it will set those variables in a new shell.