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
When I select Nes Nintendo it says you haven't opened any files recently....I presume you have to have a Roms folder somewhere unless you have every Rom in the app which is doubtful

Are you on Xbox or PC? You should be able to see "Computer" or a list of drives you can browse for rom files. That window is the standard Windows file picker
 

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,474
Country
United States
Can some kind fellow help me on how to install roms to RetriX? A video tutorial or easy step by step tutorial would be appreciated...

I private messaged you but in case you haven't seen it it's very simple.

1. Put the roms onto a USB Storage Device and plug it into your Xbox One device

2. Open up Retrix, select the system you wish to play (SNES,GENESIS,NES etc).

3. Lastly just choose the rom and your done.

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

Btw, I Just donated $15 USD to the gofundme campaign @Absestos Hopefully others will follow suit
 
Last edited by wiired24,
  • Like
Reactions: EspadaDGuerra

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,818
Trophies
2
XP
7,848
Country
United Kingdom
Hello everyone: I joined the forum yesterday and just found out about this thread.

First of all, I would like to thank everyone for the level of interest/support, and in particular I'd like to shout out to @wiired24, @kingtut and @ploggy for the awesome job they did helping people where I couldn't.

I started a gofundme campaign to raise money to buy the stuff I need for continued development, but I'm very much open to suggestions to alternatives if you know something that works better/with less hassles.

I think it's appropriate for me to give a bit of a status update and try to answer some of the doubts I've gleaned from reading so far.

Since releasing the version of Retrix shown on the video and managing to get BeetlePSX to compile to UWP, I had to find a solution to the fact that Libretro cores for newer systems try to access files directly.
This is a problem because UWP enforces sandboxing (apps only get access to the files that have been selected using Windows's file picker and nothing else) and because UWP does not work with file paths.
It took a while, but in the end I managed to come up with a way to virtualize file system access which both works and seems to be accepted by the Libretro maintainers (essential since the Libretro cores themselves need to be modified).
Hopefully this continues to be the case and I'll have a Libretro blessed way of porting cores to UWP going forward, since I do not really have the resources to maintain forks of Libretro cores.

I then had to work on the UI to allow installation of BIOS files for cores that need them, since those, just like ROMs, are copyrighted work and cannot be included with RetriX itself.

An early feature gain made because of this work is RetriX's new ability to run Mega CD games and ROMs in Zip files (this is handled by the front end, the core is unaware the data it is loading comes from RAM instead of a physical file).

I am aware that the in-game overlay doesn't work on Xbox: my plan to solve the issue would be to have a button combination (maybe start+menu?) that is unused in games and doesn't trigger the Xbox dash pause the game (the way RetriX pauses games independently of a game's own pause functionality) and bring up a modal menu with the same options as the overlay.
How exactly this should look/work is something is something I'd need an actual Xbox for to figure out: I need to be able to experience the dashboard and see how it interacts with games/apps run on the console to understand how to design the UI, even before testing and debugging on the actual device.

About the second issue, instability, the honest answer is that my options are limited: beyond the changes described above to support file system virtualization, I am doing my best not to touch the Libretro cores themselves and stay upstream (I lack the expertise and the time to maintain them; it's the reason why I use git submodules even though they can be a pain). It could be that the instability (so far I only had the GB/GBC core being unstable and unplayable) is caused by me getting the build configuration wrong or that it's an issue with the cores themselves.
The most I could do is to ask Libretro's members to help me set up a build, but I am not sure it would go down well: they are a very Linux centric community and helping me would not do anything for them. Keep in mind that sometimes Libretro being a Linux first project may cause Libretro cores to just not be portable to RetriX - some things refuse to build with Visual Studio's C/C++ compiler.

Development can move in a few directions from now on - I could:
  1. Continue the work I started to get PSX emulation working, with software rendering
  2. Look into developing the in game UI for the Xbox
  3. Do proper, official, signed binary releases to make RetriX easy to sideload for normal users
  4. Look into the stability issues, especially with the GB/GBC core, but I may be unable to fix them
Based on what I read so far, it seems the bigger issue would be the Xbox UI, since it stops people from using RetriX where they want to.

Beyond that, what I'd like to do is:
  1. Hardware acceleration for 3D cores (difficult, may not actually be possible or may be possible only for some cores - depends on how they use OpenGL ES and if those uses are covered by Microsoft's Angle for UWP.
  2. Shaders, at least something like hqnx to make 2D games look sharper
  3. More recent consoles, I'd love to be able to support as many systems as possible in RetriX
  4. Split RetriX (the front end) from LibretroRT (the cores converted to WinRT component and supporting framework), put LibretroRT in Nuget to make it easier for people to work on other front ends
Is it a lot? Yes. Can I really do it? I hope so, guess we'll see :)

Hi there, again thanks for taking this on and bringing some Emulator goodness to the Xboxone Scene ;)

When it comes to what path to take, I have to mirror what the others have said and say you should concentrate on the PS1 Core and stability.
 
  • Like
Reactions: wiired24

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,474
Country
United States
The accounts are the same but on Xbox Microsoft requires you pay $20 to activate Dev Mode

@Absestos could you post a Paypal link or something gofundme only supports cards :(

I think if you posted a paypal link here it would really help out the fundraiser as not everyone here has the luxury of credit/debit cards. I'm also working on a facebook page for Retrix as well which will help funnel traffic to the gofundme campaign
 
Last edited by wiired24,
  • Like
Reactions: ploggy

jirkawaggon

Well-Known Member
Newcomer
Joined
Jun 22, 2017
Messages
81
Trophies
0
Age
41
XP
166
Country
Czech Republic
Last edited by jirkawaggon,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,818
Trophies
2
XP
7,848
Country
United Kingdom
Has anyone here tried the Win 10 version of retrix? I installed the Appx correctly but for me the emulator closes when I choose a rom?
 

jirkawaggon

Well-Known Member
Newcomer
Joined
Jun 22, 2017
Messages
81
Trophies
0
Age
41
XP
166
Country
Czech Republic
If I can recommend please make RETRIX as emulators from original Xbox, this means that you can open Settings menu if you press right thumbstick -

I would suggest to make option that each user could upload the original console BIOS (for example like ROMs are uploaded). This would guarantee that all games would work like their original versions, and there would not be a decrease in FPS, black screen or crash of emulation, etc.


I would like to recommend to do the following:
- ability to load and save of the Save state from OneDrive (10 Save states per one game)
- possibility to configure the joypad (each separately)
- autofire option
- possibility of playing 4 players (multitap)
- control via the thumbstick, and settings for its sensitivity
- full screen
- possibility of graphical improvements of the game (turn on resolution 1080p, 16:9, flicker filter, Anti-aliasing filter, Trilinear filtering, Anisotropic filtering etc.)
- Forced PAL, Forced NTSC
 

kingtut

Well-Known Member
Member
Joined
May 3, 2017
Messages
1,067
Trophies
0
Age
29
XP
1,354
Country
United States
I don't quite follow. Are the accounts not the same whether made on pc or Xbox?
because on pc you can sideload without having to pay anything, on xbox one, you need dev mode to sideload apps.

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

If I can recommend please make RETRIX as emulators from original Xbox, this means that you can open Settings menu if you press right thumbstick -

I would suggest to make option that each user could upload the original console BIOS (for example like ROMs are uploaded). This would guarantee that all games would work like their original versions, and there would not be a decrease in FPS, black screen or crash of emulation, etc.


I would like to recommend to do the following:
- ability to load and save of the Save state from OneDrive (10 Save states per one game)
- possibility to configure the joypad (each separately)
- autofire option
- possibility of playing 4 players (multitap)
- control via the thumbstick, and settings for its sensitivity
- full screen
- possibility of graphical improvements of the game (turn on resolution 1080p, 16:9, flicker filter, Anti-aliasing filter, Trilinear filtering, Anisotropic filtering etc.)
- Forced PAL, Forced NTSC


I believe all of these features are on retroarch, so retrix will get them at some point. but right now I would rather have more cores, and then we can start trying to improve their quality
 
  • Like
Reactions: wiired24

Dave_Chad

Well-Known Member
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
  • Like
Reactions: wiired24

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,818
Trophies
2
XP
7,848
Country
United Kingdom
i got it to work just fine i never had that problem

Same here I never had that issue either

Hmm, It seems when I try to install the .cer I haven't got a "local computer" option in my "Trusted Root Certification Authorities" section?
I can install the .cer directly in the "Trusted Root Certification Authorities" section and the Appx does install but thats when the Emulator closes by itself when loading a rom?
(it doesn't really matter if can't get it working on PC, I'm more interested in the Xbox version anyway) :P

EDIT: BTW @Absestos how close were you to getting the PS1 core to work? Does it run at all yet?

Thanks..
 
Last edited by ploggy,

jirkawaggon

Well-Known Member
Newcomer
Joined
Jun 22, 2017
Messages
81
Trophies
0
Age
41
XP
166
Country
Czech Republic
@kingtut OK, I understand (I would like to PS2 and Gamecube on RETRIX), but what do you think about option that each user could upload the original console BIOS (for example like ROMs are uploaded, bacause original BIOS cant be in emulator from patent issues). This would guarantee that all games would work like their original versions, and there would not be a decrease in FPS, black screen or crash of emulation, etc.

and as you surely know MS developer account for Xbox ONE is now free of charge
 

dominater01

Well-Known Member
Member
Joined
Mar 13, 2009
Messages
1,278
Trophies
1
Age
33
XP
2,893
Country
United States
@kingtut OK, I understand (I would like to PS2 and Gamecube on RETRIX), but what do you think about option that each user could upload the original console BIOS (for example like ROMs are uploaded, bacause original BIOS cant be in emulator from patent issues). This would guarantee that all games would work like their original versions, and there would not be a decrease in FPS, black screen or crash of emulation, etc.

and as you surely know MS developer account for Xbox ONE is now free of charge
bios will be a setting when a console needs it like mega drive
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, gta v is down since november 2021