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,

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,472
Country
United States
I'm looking into what would be a better way to implement pulling up the hidden overlay to save/load on Xbox One. There is some code in the overlay.cs file that makes a method call to initialize the overlay at runtime. The way that it's programmed is that the overlay is suppoused to always be active from the moment you start Retrix and that works for PC however for Xbox One it remains hidden.


public PlayerOverlay() <- Calls the overlay method

{
this.InitializeComponent(); <- Performs initilization logic
}



My idea is to use the GamePad API to wrap this method call into either a switch block or if/else so that the only time it gets called to show the overlay is if the user presses a certain button on the gamepad. For instance if I pressed select it would then bring up the hidden overlay so I can Save/Load but only if i hit select.
 
  • Like
Reactions: Enovale

Enovale

Hey. I exist. Woo
Member
Joined
Jul 12, 2016
Messages
833
Trophies
0
Location
Narnia
XP
946
Country
United States
I'm looking into what would be a better way to implement pulling up the hidden overlay to save/load on Xbox One. There is some code in the overlay.cs file that makes a method call to initialize the overlay at runtime. The way that it's programmed is that the overlay is suppoused to always be active from the moment you start Retrix and that works for PC however for Xbox One it remains hidden.


public PlayerOverlay() <- Calls the overlay method

{
this.InitializeComponent(); <- Performs initilization logic
}



My idea is to use the GamePad API to wrap this method call into either a switch block or if/else so that the only time it gets called to show the overlay is if the user presses a certain button on the gamepad. For instance if I pressed select it would then bring up the hidden overlay so I can Save/Load but only if i hit select.
that sounds about right from what i can tell
 

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,472
Country
United States
that sounds about right from what i can tell

Problem I'm having is when i try to create a new instance of the gamepad class so i can do stuff with it as in

Gamepad gamepad = new Gamepad();


I get an error that states "Gamepad Class Does not have constructor that takes 0 arguments".


Which is strange to me... Could also be because I haven't touched C# in quite a bit here lately I've been working in Rust/Golang
so my C# knowledge is really just from memory
 
Last edited by wiired24,

Enovale

Hey. I exist. Woo
Member
Joined
Jul 12, 2016
Messages
833
Trophies
0
Location
Narnia
XP
946
Country
United States

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,472
Country
United States
1:man. hope you figure something out. 2: nah its just i little cut i wanted to see what youd say XD

Well I was hoping you'd be alright lol and yeah I'm gonna look at the code again here in a bit and see if I can't figure something out. If I can't no big deal as Alberto has already said that he does intend to implement the overlay correctly for the gamepad sometime soon.

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

Update:
@ElijahZAwesome @dominater01 @tunip3 @Xeroyamil @kingtut I found a fix to the issue with the A button pulling up the overlay guys. Go to settings -> Video Settings -> and make sure that you select "Apps can add a border". The mouse pointer will still be there for when you need pull up the menu to save and load your game but the menu will no longer come up every single time you press the A Button.
 
Last edited by wiired24,

Enovale

Hey. I exist. Woo
Member
Joined
Jul 12, 2016
Messages
833
Trophies
0
Location
Narnia
XP
946
Country
United States
Well I was hoping you'd be alright lol and yeah I'm gonna look at the code again here in a bit and see if I can't figure something out. If I can't no big deal as Alberto has already said that he does intend to implement the overlay correctly for the gamepad sometime soon.
oh ok cool. lol here i was worrying the scene died
 

kingtut

Well-Known Member
Member
Joined
May 3, 2017
Messages
1,067
Trophies
0
Age
29
XP
1,354
Country
United States
@wiired24 if you do not care about save state menu. you can give the command bar a name. then call it in playerOverlay.cs under initialization. and type:

"command bar name".visibility = visibility.collapsed.

This will remove the command bar

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

also, if you check the libretro GitHub page right now, he just started working on ps1 core.
 

wiired24

Developer
OP
Developer
Joined
Sep 3, 2013
Messages
1,118
Trophies
1
Age
29
Location
Dev_Home
XP
3,472
Country
United States
@wiired24 if you do not care about save state menu. you can give the command bar a name. then call it in playerOverlay.cs under initialization. and type:

"command bar name".visibility = visibility.collapsed.

This will remove the command bar

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

also, if you check the libretro GitHub page right now, he just started working on ps1 core.

I can't speak for everyone but I personally kinda care alot about being able to save my games. I already pointed out a fix that works tut.
And I know I posted about that earlier this morning when @dominter01 first mentioned it
 
  • Like
Reactions: kingtut and Enovale

kingtut

Well-Known Member
Member
Joined
May 3, 2017
Messages
1,067
Trophies
0
Age
29
XP
1,354
Country
United States
I can't speak for everyone but I personally kinda care alot about being able to save my games. I already pointed out a fix that works tut.
And I know I posted about that earlier this morning when @dominter01 first mentioned it
I understand, the reason why I care about fixing this is that I hate the fact that everytime I touch the analog buttons. the menu shows up. so until alberto fixes this, I wanted to make it so that it only shows up by pressing the left thumbstick button. That is what I am working on right now.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Thats pretty cool.