Running Xbox original games on Retropie (PC only)
-
@fadingrose @rogg23
Are you going to submit a pull request for this? If not I will gladly do so -
@Unknown I'm not sure I know how!
-
@rogg23 That's perfectly fine. I can work with you on that if you would like. We just need to write an install script for retro-pie to use. Please let me know if you would like to work with me on this.
-
Happy to help with this, but my input wouldn't be much more use that what I said in my earlier post, but willing to give it a go.
-
Once you have one made you can also open a PR over at
https://github.com/Exarkuniv/RetroPie-Extra
So it's somewhere that people can use it. Until it's accepted into the main Retropie.
If you want.
-
@rogg23 Good! Can you please provide me with the exact commands you used to install Xemu on your device? I’ll let you know if I need anything else
-
@ExarKunIv said in Running Xbox original games on Retropie (PC only):
Once you have one made you can also open a PR over at
https://github.com/Exarkuniv/RetroPie-Extra
So it's somewhere that people can use it. Until it's accepted into the main Retropie.
If you want.
True. I’ll do that.
-
@Unknown
So my install was on Ubuntu x64 using flatpak.:: Install Flatpak sudo apt install flatpak :: add flat hub repo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo :: install xemu using flatpak flatpak install -y app.xemu.xemu
-
@rogg23 Thanks. I’m a busy guy, but with any luck I can get this working in a few days.
-
Update on my progress. I am currently creating a virtual machine to conduct this experiment with. By the end of the day I will have retropie installed and functioning. Hopefully tomorrow I can start working on the install script.
-
Ok. Looking at the install scripts that retropie uses, they all seem to install from source and I can't find an existing example of something using "flatpack". However Xemu provides detailed instructions for building from source so stay tuned.
-
Ok here is the script I have made so far.
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="xemu" rp_module_desc"Xbox Emulator" rp_module_help="ROM Extensions: .iso .xiso \n\nCopy your xbox games to $romdir/xbox" rp_module_licence="https://github.com/xemu-project/xemu/blob/master/LICENSE" rp_module_repo="https://github.com/xemu-project/xemu.git" rp_module_section="exp" function depends_xemu() { local depends=( build-essential libsdl2-dev libepoxy-dev libpixman-1-dev libgtk-3-dev libssl-dev libsamplerate0-dev libpcap-dev ninja-build python3-yaml libslirp-dev) getDepends "${depends[@]}" } function sources_xemu() { gitPullOrClone }
The script is complete, but it's a start. If anyone has any input I would be happy to take advice.
-
Here is the complete script which runs without any errors as far as I can tell.
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="xemu" rp_module_desc="Xbox Emulator" rp_module_help="ROM Extensions: .iso .xiso \n\nCopy your xbox games to $romdir/xbox" rp_module_licence="https://github.com/xemu-project/xemu/blob/master/LICENSE" rp_module_repo="https://github.com/xemu-project/xemu.git" rp_module_section="exp" function depends_xemu() { local depends=( build-essential libsdl2-dev libepoxy-dev libpixman-1-dev libgtk-3-dev libssl-dev libsamplerate0-dev libpcap-dev ninja-build python3-yaml libslirp-dev) getDepends "${depends[@]}" } function sources_xemu() { gitPullOrClone } function install_xemu() { cd xemu ./build.sh } function configure_xemu() { mkRomDir "xbox" if [[ "$md_mode" == "install" ]]; then mkUserDir "$md_conf_root/xbox" mkUserDir "$md_conf_root/xbox/$md_id" moveConfigFile "$home/.$md_id" "$md_conf_root/xbox/$md_id" fi addEmulator 1 "$md_id" "xbox" "$md_inst/xbox -r 3 -i %ROM%" addSystem "xbox" }
I haven't tested the emulator itself yet because I don't currently have Bios or roms but we'll see soon.
-
This morning my virtual machine decided it wanted to crash my computer whenever I tried to start it. I have no idea why, except for a humorous theory that it became sentient and decided that it didn't want to exist. :D
Anyway I will be testing today and hopefully get Xemu running after I take care of this setback.
Thank God that I posted the script here because otherwise I don't know how I would get it back. -
@Unknown said in Running Xbox original games on Retropie (PC only):
became sentient and decided that it didn't want to exist
i hate when they do that. :D
-
@rogg23 said in Running Xbox original games on Retropie (PC only):
I've also recently been looking to do the same thing., on Ubuntu.
I installed Xemu via Flatpak, instructions on Xemu page.
Then I updated my es_systems.cfg to add xbox as follows:
<system> <name>xbox</name> <fullname>Xbox</fullname> <path>/home/retropie/RetroPie/roms/xbox</path> <extension>.iso</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ xbox %ROM%</command> <platform>xbox</platform> <theme>xbox</theme> </system>
I am currently to find my es_system.cfg file. You you tell me the directory?
-
Ok I figured out the es_system thing. I tried running a game and I got this error.
Parameters: Executing: /opt/retropie/emulators/xemu/xbox -r 3 -i "/home/retropie/RetroPie/roms/xbox/ATV Quad Power Racing 2.iso" /opt/retropie/supplementary/runcommand/runcommand.sh: line 1322: /opt/retropie/emulators/xemu/xbox: No such file or directory
I assume it is searching a BIOS. Does anyone know how I can redirect it to the RetroPie Bios folder?
-
@Unknown we had a similar issue with aethersx2
we just made a symbolic to where it was look it for. we didnt figure out how to change it in the config# Create a symbolic link for BIOS if [ ! -L "$home/.config/aethersx2/bios" ]; then ln -s "$biosdir/ps2" "$home/.config/aethersx2/bios" fi
thats the best i can give. i have not messed with this yet
-
@ExarKunIv
So I can run commands like that in the install script and it should look at the Retropie bios? -
@Unknown here is the aethersx2 script as a guide
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.