Skip to content

Add/Deleting Soundfonts doesn't work properly

Hello.

Doing testing for #160, I found the option to add and delete soundfonts doesn't work very well.

First adding soundfonts:

You can do it, and they work when selected, but It only save the data to the INI file (section [SoundBanksSetup]) when you start the game, I doesn't when you pick "back" in the launcher, or if you exit the launcher directly after adding one or more soundfonts. Maybe It's the intended way, but It's weird how is implemented.

But the worst part is deleting soundfonts:

BuildGDX is unable to delete any soundfont you added. If you have only one soundfont added, you can delete and It doesn't appear on the list in the launcher, but It doesn't matter if you exit the launcher or play the game, It doesn't update the INI file and in section [SoundBanksSetup] still shows the soundfont. When you enter again the launcher, the soundfont is still selectable.

Also If you have more than one soundfont added, as an example three (named A, B, C), you have in the dropdown menu all three selectable, when you delete A, still shows B and C, but if then you delete B, it shows A and C, or if you delete C, It shows A and B... but in the INI file in the section [SoundBanksSetup] are the three there (no matter if I exit the launcher or played the game) and the only way to delete the soundfonts from the soundfont selection dropdown menu are editing the INI file myself.

Tested with BuildGDX 1.18 in Windows 10 with JRE 21.0.6.

Thanks in advance!

Edited by Lukas ThyWalls
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information