[Bug] Controller GUID changing after each launch (XBOX controllers) #751

Open
opened 2025-03-04 16:36:22 +00:00 by Tartifless · 0 comments
Tartifless commented 2025-03-04 16:36:22 +00:00 (Migrated from github.com)

Description of the issue

When using a XBOX One S controller (but also valid for other controllers), everytime ryujinx is closed and reopened, the controller configuration is lost.

I could reduce this down to the way the guid is generated:
When saving controllers within Ryujinx, it will save using a guid that is not "stable", next time i open again ryujinx and reconfigure, the controller will have a different guid again.

Example:
First configuration and saving:
the saved guid in the file is : 0-e21a0003-045e-0000-200b-000020057200

Now i open ryujinx again, as expected the controller screen shows "disabled", i select again the controller in the list and save, now the guid is saved with :
0-62e40003-045e-0000-200b-000020057200

This is very frustrating as it does require one to infinitely Re-configure the controller whenever the program is launched again.
It happens only with XBox controllers, Switch pro for example is stable.

Reproduction steps

Connect any xinput (bluetooth) to your computer, now launch ryujinx and configure the controller:

Image

Apply and save, then quit.

Look in the config.json file:

Image

Now open again ryujinx:

Image

Configure again and save:

Image

And look again in the json file:

Image

Log file

Ryujinx_1.2.82_2025-03-04_17-35-03.log

OS

Windows 11

Ryujinx version

1.2.82

Game version

No response

CPU

No response

GPU

No response

RAM

No response

List of applied mods

No response

Additional context?

No response

### Description of the issue When using a XBOX One S controller (but also valid for other controllers), everytime ryujinx is closed and reopened, the controller configuration is lost. I could reduce this down to the way the guid is generated: When saving controllers within Ryujinx, it will save using a guid that is not "stable", next time i open again ryujinx and reconfigure, the controller will have a different guid again. Example: First configuration and saving: the saved guid in the file is : 0-e21a0003-045e-0000-200b-000020057200 Now i open ryujinx again, as expected the controller screen shows "disabled", i select again the controller in the list and save, now the guid is saved with : 0-62e40003-045e-0000-200b-000020057200 This is very frustrating as it does require one to infinitely Re-configure the controller whenever the program is launched again. It happens only with XBox controllers, Switch pro for example is stable. ### Reproduction steps Connect any xinput (bluetooth) to your computer, now launch ryujinx and configure the controller: ![Image](https://github.com/user-attachments/assets/9cb1411b-052d-4bd6-b303-aadf0a4d268e) Apply and save, then quit. Look in the config.json file: ![Image](https://github.com/user-attachments/assets/280d629a-923d-46e9-8c0b-0af4d212fca1) Now open again ryujinx: ![Image](https://github.com/user-attachments/assets/ca8a55d6-5770-4a7c-90a2-726717d70ea1) Configure again and save: ![Image](https://github.com/user-attachments/assets/f13b6984-73c4-4efd-b6ba-3e838087144a) And look again in the json file: ![Image](https://github.com/user-attachments/assets/a32046ae-fc8f-4f9e-8b33-c305657e5fa4) ### Log file [Ryujinx_1.2.82_2025-03-04_17-35-03.log](https://github.com/user-attachments/files/19074374/Ryujinx_1.2.82_2025-03-04_17-35-03.log) ### OS Windows 11 ### Ryujinx version 1.2.82 ### Game version _No response_ ### CPU _No response_ ### GPU _No response_ ### RAM _No response_ ### List of applied mods _No response_ ### Additional context? _No response_
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#751
No description provided.