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

Installed map appears in 2.5.stable but not in pre-release 2.6.14732 #12559

Closed panther2 closed 2 months ago

panther2 commented 2 months ago

The installed map "world_war_ii_v5_1942" - when clicking "Select Game" appears in 2.5.stable: stab

but not in 2.6.14732 pre

TheDog-GH commented 2 months ago

Its probably missing its map.yml at the map/description level

It should look like this

map_name: world_war_ii_v5_1942
games:
- game_name: WW2v5-Maintenance Costs
  file_name: WW2v5-Maintenance.xml
- game_name: WW2v5-Build Caps
  file_name: WW2v5-BuildCaps.xml
- game_name: WW2v5_1942_2nd_Edition_High_Production_Mod
  file_name: WW2v5_1942_2nd_Edition_High_Production_Mod.xml
panther2 commented 2 months ago

@TheDog-GH

Strange issue. What you listed are the files that were in the map/games directory. Those rather look like xml files of variants and not of the original game. The original game needs the WW2v5_1942_2nd as well as the WW2v5_1942_2nd_TR.xml files inside the games subdirectory - and those files match the map.yml.

Anyway a redownload of the map fixed the issue as those contained the correct xml-files.

Thank you for a good hint.