Skip to content

PCSX2 Configurator writes wrong strings to PCSX2.ini file #14988

@phil-lipp

Description

@phil-lipp

Batocera build version

V42 2025/10/06 14:36

Your architecture

HP_ProDesk_400_G4_DM

Your Graphic Processor Unit(s) (GPU)

Intel(R) UHD Graphics 630

Issue description

Trying to assign an USB microphone to Player1/Player2 in the settings for PCSX2 results in a broken PCSX2.ini (path: system\configs\PCSX2\inis). This makes the Emulator crash on the next boot of a PS2 game and leads to the microphones not working.

Detailed reproduction steps

  1. Have a working Batocera instance with a PS2 Singstar game
  2. Connect the Singstar microphones using the original USB dongle
  3. Launch Singstar
  4. Go into the Emulator settings (ESC on the keyboard)
  5. Go to Controller settings and scroll down to "USB Port 1"
  6. Change Device Type to "Microphone" and Device Subtype to "Singstar"
  7. Watch the PCSX2.ini - it now contains a passage:
    [USB1]
    Type = singstar
    singstar_subtype = 0
    singstar_input_latency = 1
    guncon2_cursor_path =
  8. scroll down to the "Microphone Settings" section
  9. Enter "Monitor of Built-In Audio Digital Sterei (HDMI)" as device in "Player 1 Device" (or Player 2 device, doesnt matter)
  10. See the changes to PCSX2.ini:
    [USB1]
    Type = singstar
    singstar_subtype = 0
    singstar_input_latency = 1
    guncon2_cursor_path =
     Player 1 Device##choice_dialog = alsa_input.usb-Nam_Tai_E_E_Products_Ltd._USBMIC_Serial__011445320-00.analog-stereo
  11. Now the ini is broken. Quitting the current game will leave you unable to launch it again until you manually delete the broken line from the config
  12. The actual entry that should be written and lead to my Singstar microphones working fine is:
    [USB1]
    Type = singstar
    singstar_subtype = 0
    singstar_input_latency = 1
    guncon2_cursor_path =
    singstar_player1_device_name = alsa_input.usb-Nam_Tai_E_E_Products_Ltd._USBMIC_Serial__011445320-00.analog-stereo
    singstar_player2_device_name = alsa_input.usb-Nam_Tai_E_E_Products_Ltd._USBMIC_Serial__031799859-00.analog-stereo

Details of any attempts to fix this yourself

I saw that the key (" Player 1 Device##choice_dialog") which the configuration tried to write in the ini file looked broken, but the actual value ("alsa_input.usb-Nam_Tai_E_E_Products_Ltd._USBMIC_Serial__011445320-00.analog-stereo") looked fine. So I searched online for the correct key and found it should be "singstar_player1_device_name". Manually replacing the broken key with the correct one was all I needed to get my Singstar microphones working.

Details of any modifications you have made to Batocera.

I installed some music from the official Batocera Downloader in the settings.

Logs and data

I couldnt find any logs that are generated when using the configurator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions