UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
803 stars 157 forks source link

USDX not recognizing songs, overriding config.ini on launch #663

Open larsgrah opened 1 year ago

larsgrah commented 1 year ago

Actual behaviour

When I launch usdx, it does not remember the settings i set on it last launch, and it also overrides the config.ini in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/

Additionally, the config.ini in ~/.ultrastardx/ seems to be ignored entirely?

Songs also do not show up.

Expected behaviour

The App should remember the settings set and load the songs correctly

Steps to reproduce

  1. I have a collection of songs from a 2017 version (windows) of usdx on a network drive mounted
  2. installed the latest usdx from flathub
  3. launched the game.
  4. change settings
  5. close the game via esc
  6. reopen, no settings saved

Details

Provide some additional information:

s09bQ5 commented 1 year ago

Just tested this again after deleting ~/.var/app/eu.usdx.UltraStarDeluxe. It works fine here. USDX stores its configuration in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/config.ini and loads it from there on next start. Songs are loaded from ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/songs/. Are there any complaints about your songs in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/logs/Error.log?

tzdlr commented 1 year ago

how did you get it to work? my flatpak installation is still ignoring the ini and im unable to set a proper SongDir by config

s09bQ5 commented 1 year ago

Flatpaks run in a sandbox. They can see only a small part of your normal filesystem. You can't set an arbitrary path as SongDir. You really have to put your songs in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/songs/, either by copying or by bind mounting.

tzdlr commented 1 year ago

also tried that, but wasnt able to get it running. Ended up by building it directly and running, now everything works as intended.