Cannot modify ini on steam deck
System Info Steam Deck Operating System: Steam OS
Describe the bug Cannot modify ini on steam deck through BLCM I think this is fault of utilities/GameDetection.java. Specifically getPathToINIFiles. It assumes that the game is installed in the SSD, which is not necessarily the case, normally the ini files are on /home/deck/.local/share/Steam/... BUT it searches the .exe location, if this is installed on an SD card, it will search on /run/media/... which is wrong, it should search on home, all because this function assumed that the .exe is on the same directory as home
To Reproduce Install borderlands 2 in an sd card for example.
Additional context This should not be so difficult to fix I think? This is my first time repporting a bug in github, so sorry if I missed anything
Ah, okay, interesting. I suspect that the assumption was that the compatdata structure would exist in the same location as the installed common structure, but perhaps that's not the case? Could've sworn I'd tested for that, but apparently not (that or the behavior's changed since then, but it's more likely that I just missed it).
The relevant problem's probably over in getPathToGameConfigFiles, actually: https://github.com/BLCM/OpenBLCMM/blob/ecee5cbfbdbf9fadd7d38d6b86f8b669cb0dd19e/src/blcmm/utilities/GameDetection.java#L684-L688
Anyway, will dig into it at some point, though I'm afraid I can't promise a quick turnaround. In the meantime, I suspect you could cheese it with some symlinks (symlinking the compatdata dir in particular would presumably be the "best" way). Or just edit the INIs by hand; there's not a lot that we do in there anyway, really. I suppose it'd be worth documenting the common INI edits over on our wiki; we've got a section on the mostly-deprecated hexedits: https://github.com/BLCM/BLCMods/wiki