Project

General

Profile

Actions

Emulator Issues #13096

closed

Game Specific "GBA controller profile" loading doesn't work

Added by GregSan over 1 year ago. Updated 8 days ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-21358

Description

Game Name?

Not game Specific, but present use case is The Legend of Zelda: Four Swords

Game ID? (right click the game in the game list, Properties, Info tab)

G4SP01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

a8665e36c64c2369628aabef6b268c42

What's the problem? Describe what went wrong.

When using the games profile to specify having a GBA plugged in, and the associated profile, Dolphin raises an error telling me the specified profile doesn't exists.

What steps will reproduce the problem?

Use the controller panel to create and save a "GBA (integrated)" controller profile, set said profile in the [controls] section of the game specific ini file.
(my "G4SP01.ini" file is as follow :
[Controls]
PadType0 = 13
PadProfile1 = xbox_gba
)

When starting the game, I get a "No profiles found for game setting 'xbox_gba'" error pop-up.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

occurs on 17768

What are your PC specifications? (CPU, GPU, Operating System, more)
tested on both,
Windows 10, Intel 7700k, GeForce 1080,16 Go RAM
macOS Ventura, Apple MacBook Pro, M1 Max ARM CPU, 32 GPU Cores, 32 Go RAM

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Log says : 29:07:852 InputCommon/InputConfig.cpp:83 E[MASTER]: Warning: No profiles found for game setting 'xbox_gba'.
After poking around, if I manually copy the xbox_gba.ini file from the "/Profile/GBA/" folder to the "/Profile/GCPad/" it works. It seems like it doesn't search for GBA profiles in the right profile folder.

Actions #1

Updated by JMC4789 over 1 year ago

  • Status changed from New to Accepted
Actions #2

Updated by GregSan 6 months ago

Thinking back about this issue, I fiddled some more into it. You can circumvent around the problem by manually specifying the relative path to the GBA profile folder.

ie replace
PadProfile1 = xbox_gba
by
PadProfile1 = ../GBA/xbox_gba

This is a bit ugly but it points to a "relatively" easy fix : making the profile folder mandatory in ini files (instead of having an implied unwritten "GCPad" folder), or only assuming "GCPad" when no folder is specified.

It could break compatibility for old ini files having PadProfile overrides, but would allow easier GBA compatible games configuration (making possible to specify everything needed in the game's config itself)

Actions #3

Updated by GregSan 9 days ago

Fixed :
There is now a set of parameters dedicated to loading GBA Profiles : GBAProfile1, GBAProfile2, GBAProfile3, and GBAProfile4

Using these, instead of PadProfileX, the configuration specifically search into the GBA folder, and loads the profile as expected

This Issue can be closed

Actions #4

Updated by JosJuice 8 days ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-21358
Actions

Also available in: Atom PDF