[✓][BUG][RetroLemmini] Players are not saved between sessions

Started by Ron_Stard, December 24, 2025, 01:18:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ron_Stard

Hello!

Sorry to bother you during Christmas, but I've found some bugs in RetroLemmini.

First, every time I start the program, it only shows the default player, even though the players I create are already in the players directory. The problem is solved by creating a player with the same name that already exists in that directory... but when I restart the program, it disappears again.

Second, I've discovered that in Lemmings Plus I, there are several levels where the house the Lemmings are supposed to come out of isn't shown. This doesn't happen in SuperLemmini Too. Specifically, this happens in all the levels of "No Salvation," as well as in "Overheat" (Wimpy 26) (screenshots attached) and Medi 28 ("Way Up High")

I used the Lemmings Plus level version posted here:

https://www.lemmingsforums.net/index.php?topic=5620.msg92258#msg92258

It may happen with other levels, but I haven't advance much far nor test thoroughly every level I have in my collection.

Thanks in advance!

rosborne

I've come up against the same bug today with the players list.

It seems to revolve around the players.ini file in the settings folder:

- there isn't a default one included in the 2.4 release download. Should there be?
- If I create one using the default contents from the GitHub repository, it doesn't seem to update when I create a new player. I assume it should do?
- If I create a new player and then manually update the players.ini file to add the new player to the end of the file (e.g. "player_1=joebloggs") then the player shows up and everything seems to work as expected.

Hopefully some of the above helps track down and fix the issue.

Ron_Stard

Quote from: rosborne on December 27, 2025, 01:56:21 PM- there isn't a default one included in the 2.4 release download. Should there be?

It is created by default, and it's the only player that stays -with all the progress kept- after closing and opening RetroLemmini.

Maybe all these issues happen because of the Java version? This is what I am using:

openjdk 11.0.29 2025-10-21
OpenJDK Runtime Environment (build 11.0.29+6-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.29+6-post-Debian-1deb11u1, mixed mode, sharing)

WillLem

Quote from: Ron_Stard on December 24, 2025, 01:18:30 AMevery time I start the program, it only shows the default player, even though the players I create are already in the players directory. The problem is solved by creating a player with the same name that already exists in that directory... but when I restart the program, it disappears again.

Thanks for reporting, I'll aim to get this fixed over the next few days.

Quote from: Ron_Stard on December 24, 2025, 01:18:30 AMI've discovered that in Lemmings Plus I, there are several levels where the house the Lemmings are supposed to come out of isn't shown.

I've replied to this in its own topic. Please relocate the attached images to that topic for reference. Thanks :)

WillLem

This is now fixed (commit ec3ca87).

The players.ini file is saved when adding and deleting players, and any time global settings are saved (usually when closing dialogs and between screens). The list now persists between sessions, and it's no longer necessary to build the list manually in players.ini.

RetroLemmini 2.5 will be released soon with this fix included.

Note to self: I'm not sure why the original call to save the list was removed (in commit bace848), but adding it back in with reload set to true/false depending on the caller solves the problem.