Currently Online

Latest Posts

Topic: Restarting a game?

PkK
Joined: 2012-01-06, 12:19
Posts: 223
Ranking
Widelands-Forum-Junkie
Posted at: 2021-07-25, 14:50

Is there an easy way to restart a game? I.e. start a game with the same map, goal, starting positions, teams, AI players as an existing savegame?


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1454
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-07-25, 15:12

You can create a template file and start it from the commandline. An example template file is in data/templates/new_game_template. Just copy it to somewhere in your Widelands home directory, adjust it to your needs, and use ./widelands --new_game_from_template=FILENAME

See https://github.com/widelands/widelands/pull/4702 and https://github.com/widelands/widelands/pull/4884 for more details


Top Quote