triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.3k stars 387 forks source link

Deleted maps still show up in list #12574

Closed VictoryFirst2 closed 2 months ago

VictoryFirst2 commented 2 months ago

When you download a map from TripleA, sometimes you get multiple games in the folder. For example, World War II Global comes with a module of 1st edition, 2nd edition, as well as variants with Combat-Move first. I never play these other games, so I deleted them from the games folder that's inside the folder World War II global. image

However, those other games still show up in TripleA when you click on Select Game: image

This is with other maps too. How do I delete these from the list?

Cernelius commented 2 months ago

What version of TripleA are you using?

VictoryFirst2 commented 2 months ago

2.614741

WCSumpton commented 2 months ago

The 'Select Game' reads the information contained in the map.yml file. To remove the games from the listing the map.yml should be edited. You do not need to remove the xml/html files for the game folder. This should be a user operation, since the user is the one that removed the xml/html files.

Cheers...

VictoryFirst2 commented 2 months ago

I edited the file you mentioned and it worked! The games don't show up anymore in the list. I did not know this before, so thank you very much!

Cernelius commented 2 months ago

Yeah, in 2.5 you had to delete the game-files, in 2.6 what @WCSumpton said.

That is why you should always clarify the version.