Tutorial  Updated

How to install Retrix (Retroarch/Libretro port) for Xbox One

Prerequisite - Requires Dev mode to be activated so you can sideloadd apps. If you don't already have it you can find more information here. https://www.windowscentral.com/how-activate-dev-mode-your-xbox-one-console


libretro_logo.jpg



Retrix(LibretroRT) is a massive project aimed at porting all libretro cores to UWP. It currently supports Nes,Snes,Sega Master System,Sega Game gear, Sega CD, sg 1000, Playstation, Gameboy, Gameboy advance, and many more to be ported soon. This guide will cover installing Retrix for your xbox one console.


[1.] Download ProjectPgeasus (If you already have ProjectPegasus this step doesn't apply)
https://github.com/wiired24/ProjectPegasus/raw/master/ProjectPegasusSetup.exe





[2.] Once Installed just open it up and select RetriX. Now just wait for it to download. All you have to do now is Sideload Retrix on to your Xbox One (If you don't know how, follow the full guide here https://github.com/wiired24/ProjectPegasus/blob/master/binaries/Installing APPX Packages.pdf )

[3.] Enjoy! :yayone:

TEcaQY6.png


Retrix brings with it support for local 2 player something we have not had until now. It also opens the floodgates to every single emulator that is currently inside the scope of the libretro project. You can see a full list here https://github.com/libretro

I had been sitting on releasing Retrix for quite a bit now but it has finally reached a point where it is stable enough for release. Credit goes to Albertofustonini for creating and maintaining the Retrix Project. Credit also goes to @kingtut for advocating for a Libretro/Retroarch port for Xbox One. You can follow current development on the official github page https://github.com/Aftnet/LibretroRT

 
Last edited by wiired24,

Absestos

Well-Known Member
Newcomer
Joined
Jun 24, 2017
Messages
73
Trophies
0
Website
www.aftnet.net
XP
288
Country
Italy
Hello everyone.
I have been silent for a while now, but I finally have *some* news.

As @dominater01 has found out, there is a new RetriX build.
Bad news: it does nothing for stability.
Good news: I have reworked the in game overlay to be usable with just a gamepad (one of the major pain points on the Xbox) - this means there should be no need for @wiired24 to make custom builds that enable the on screen cursor.
Also, added Nintendo DS support via MelonDS. The core itself is early in development, so it's slow and has graphical glitches - but games like Pokemon Black play reasonably well on a PC with good CPU.

To show the in game overlay, press the view button and without releasing it quickly press the menu button as well - this will pause the game as well.
The same button combination hides the overlay and resumes the game.
Choosing to reset the game or saving/loading a save state will also hide the overlay and resume the game.

If using a keyboard, the space bar does the same thing as the gamepad button combination above.
I just noticed the settings/bios selection menu also needs reworking for proper gamepad support, and it's what I plan on fixing next.

As for stability issues, I am baffled: I just tried myself and the very same code/game roms (genesis and Gameboy advance) that work fine on the PC randomly crash on the Xbox.
I'll try to see if I can get a crash with a debugger attached, but in the worst case scenario it may be that RetriX is crashing when bumping against the 1GB ram limit - and that is something I can't really fix...
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,811
Trophies
2
XP
7,805
Country
United Kingdom
Hello everyone.
I have been silent for a while now, but I finally have *some* news.

As @dominater01 has found out, there is a new RetriX build.
Bad news: it does nothing for stability.
Good news: I have reworked the in game overlay to be usable with just a gamepad (one of the major pain points on the Xbox) - this means there should be no need for @wiired24 to make custom builds that enable the on screen cursor.
Also, added Nintendo DS support via MelonDS. The core itself is early in development, so it's slow and has graphical glitches - but games like Pokemon Black play reasonably well on a PC with good CPU.

To show the in game overlay, press the view button and without releasing it quickly press the menu button as well - this will pause the game as well.
The same button combination hides the overlay and resumes the game.
Choosing to reset the game or saving/loading a save state will also hide the overlay and resume the game.

If using a keyboard, the space bar does the same thing as the gamepad button combination above.
I just noticed the settings/bios selection menu also needs reworking for proper gamepad support, and it's what I plan on fixing next.

As for stability issues, I am baffled: I just tried myself and the very same code/game roms (genesis and Gameboy advance) that work fine on the PC randomly crash on the Xbox.
I'll try to see if I can get a crash with a debugger attached, but in the worst case scenario it may be that RetriX is crashing when bumping against the 1GB ram limit - and that is something I can't really fix...

What Firmware.bin did you use?

Still crashes as expected :(
 
Last edited by ploggy,

dominater01

Well-Known Member
Member
Joined
Mar 13, 2009
Messages
1,278
Trophies
1
Age
33
XP
2,881
Country
United States
tried 2 games so far for gameboy color and got farther in them and no crash maybe its just luck but idk

wendy every witch way and wario 3

on xbox one

edit:
bust a move millennium crashed
donkey kong country crashed

weird how some games seem to be fine and then random crash out of nowhere
 
Last edited by dominater01,

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,448
Country
United States
Hello everyone.
I have been silent for a while now, but I finally have *some* news.

As @dominater01 has found out, there is a new RetriX build.
Bad news: it does nothing for stability.
Good news: I have reworked the in game overlay to be usable with just a gamepad (one of the major pain points on the Xbox) - this means there should be no need for @wiired24 to make custom builds that enable the on screen cursor.
Also, added Nintendo DS support via MelonDS. The core itself is early in development, so it's slow and has graphical glitches - but games like Pokemon Black play reasonably well on a PC with good CPU.

To show the in game overlay, press the view button and without releasing it quickly press the menu button as well - this will pause the game as well.
The same button combination hides the overlay and resumes the game.
Choosing to reset the game or saving/loading a save state will also hide the overlay and resume the game.

If using a keyboard, the space bar does the same thing as the gamepad button combination above.
I just noticed the settings/bios selection menu also needs reworking for proper gamepad support, and it's what I plan on fixing next.

As for stability issues, I am baffled: I just tried myself and the very same code/game roms (genesis and Gameboy advance) that work fine on the PC randomly crash on the Xbox.
I'll try to see if I can get a crash with a debugger attached, but in the worst case scenario it may be that RetriX is crashing when bumping against the 1GB ram limit - and that is something I can't really fix...


Thanks for the update. Glad to hear the Xbox One controller is now fully supported with RetriX. With regards to stability, you brought up the 1GB Ram Limit. I don't understand why RetriX would need to use even close to, let alone over 1GB of Memory. If you look at Nesbox Universal Emulator for instance which is similar to RetriX (Emulates NES,SNES,GB,GBC,SEGA etc) it also works within the bounds of the 1GB Ram limit and has no crashing issues at all. PPSSPP a very graphically heavy Emulator which requires at least 1GB of Ram (Per the recommended Specs) runs perfectly fine for the most part and doesn't crash at all. My Point is if RetriX is using over 1GB in memory then something isn't adding up. What I might try doing to see if this theory is correct is get a Windows 10 Benchmarking Tool and run it while RetriX is running and see how much RAM RetriX is taking up. As I said previously though I cannot understand why RetriX would need that much memory in order to run.
 

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,448
Country
United States
@Absestos I Just did some benchmarking and I can now confirm that RetriX doesn't even get close to the 1GB Limit. Here's proof

67 MB Is all RetriX is taking in memory for the SNES Core

PnwosvF.jpg


I also ran another test as well this time with the Megadrive core and I received very similar results

5DFXKu3.jpg


RetriX only uses 50-60 mb of Ram when running the Megadrive core, again nowhere even remotely close to the 1GB Threshold.

I can run more tests if you want, but I think it's pretty conclusive at this point
 
Last edited by wiired24,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,811
Trophies
2
XP
7,805
Country
United Kingdom
You can workaround the snes core crashes by editing the try-catch code to not throw an exception. I was able to complete street fighter II turbo this way.
you did this on the xbox version of retrix? have you tried with the other cores? and if you have a compiled build can you share it so we can test too?
 

dominater01

Well-Known Member
Member
Joined
Mar 13, 2009
Messages
1,278
Trophies
1
Age
33
XP
2,881
Country
United States
gonna test this and hope for the best, if this works i'll be so happy

edit: so far it hasnt crashed but of course it needs more testing

new crash @Absestos not just his fixed build but when stopping emulation from the retrix ui sometimes it crashes to dev menu dont know why

edit 2:

tested all systems except sg-1000 psx and nds but the crashing seems to have been eliminated

cant get psx games to work, nds i cant find the right firmware.bin crashes when trying to launch a game, sg-1000 i dont have roms for it
 
Last edited by dominater01,

Absestos

Well-Known Member
Newcomer
Joined
Jun 24, 2017
Messages
73
Trophies
0
Website
www.aftnet.net
XP
288
Country
Italy
New release, should make it possible to select things in the settings page and incorporates the fix by @ghgshellshock

I am curious to see if this is the magic bullet that makes the thing stable on Xbox.

For ds bios files, look in emuparadise.me. They have DS bios pack there and it's the one I am using (you will need to rename the files to the right extension)
 
Last edited by Absestos,

dominater01

Well-Known Member
Member
Joined
Mar 13, 2009
Messages
1,278
Trophies
1
Age
33
XP
2,881
Country
United States
hey @Absestos when you get the chance can you add a selection for gameboy color becuz some people might not know it emulates by going into just gameboy

edit: nds works just slow emulation and games gotta be extracted first also no cursur to use
 
Last edited by dominater01,

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,448
Country
United States
I bet your glad this is finally resolved @Absestos

Again Thanks for the fix @SheruShaku

--------------------- MERGED ---------------------------

Very fantastic news, thank you so much @SheruShaku. All I need is ps1 emulator core running fast and dreamcast and my summer is complete

Dreamcast is making it's way to RetriX soon :) It's in the development branch
 
  • Like
Reactions: wakabayashy

kingtut

Well-Known Member
Member
Joined
May 3, 2017
Messages
1,067
Trophies
0
Age
29
XP
1,354
Country
United States
I bet your glad this is finally resolved @Absestos

Again Thanks for the fix @SheruShaku

--------------------- MERGED ---------------------------



Dreamcast is making it's way to RetriX soon :) It's in the development branch
So did we discover the reason why the ps1 core runs well on pc but not on xbox one?

--------------------- MERGED ---------------------------

@Absestos you should update the readme file, it still says unstable in the current state section for the emulator cores
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Took along time to fit it in?