News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

How can I change game confs in a savegame?

Started by edwin_fox, October 03, 2023, 04:02:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edwin_fox

Hi! I'm Edwin Fox, this is my first post in the forum. I play Simutrans for more than a decade now!


Recently I've been playing it on Linux with my online community on Twitch. People are loving it, I play as the Public Service (AKA The State) while the other players run private-owned companies. It's a fun way to play the game! There's more news on that subject, thought I'll post it elsewhere another time :)

My question is as follows:

As the gamemaster, I follow certain storylines according to how the gameplay develops - playing in Britain for instance, historical triggers would affect ingame variables (say, pre-war period implies war-effort funding, thus increased road tolls, or post-war era implies baby booming, thus increasing passenger generation).

Some of the gameplay can be watched here

Introduction to the Britain campaign
https://youtu.be/-xtYVBa2Vm4

The Fall of Weimar, pre-war efforts
https://youtu.be/NcOnZvo9b_Y


I played it back in the beginning of the year, it was a blast! And now, my community is asking for another campaign - but alas I can't remember how to change some of the ingame confs on a running savegame. I know I can change some of the settings (like 'speed', bits_per_month) by accessing Configurations (shortcut 'i' in Britain pack), though I can't remember how to change a wider range of settings in a running savegame.

Here are some other sources I've checked before posting here - by following those, I can change the savegame bits_per_month but can't save toll values:

Changing Config-settings in a save-game.
https://forum.simutrans.com/index.php?topic=4796.0

Editing Settings in Saved Files
https://forum.simutrans.com/index.php?topic=8831.0

We have also created a HUGE Comic pak North America map laden with 100+ geographically-accurate historical cities and hundreds-plus theme industries according to each state - borders, thirteen colonies, everything is there. I'll post it elsewere later, with pictures and more details :)

prissi

Some settings cannot be changed in a running game. Some more settings can be changed by saving and reloading a game. A few cannot be altered afterwards at all. Actually, all the settings should be accessible either in the setting window "i" or in the normal setting dialog.

Or do you play extended? In this case, there may be more settings that are not changeable as some are only read during the startup of a game.

edwin_fox

#2
Quote from: prissi on October 05, 2023, 02:25:02 AMSome settings cannot be changed in a running game. Some more settings can be changed by saving and reloading a game. A few cannot be altered afterwards at all. Actually, all the settings should be accessible either in the setting window "i" or in the normal setting dialog.

Or do you play extended? In this case, there may be more settings that are not changeable as some are only read during the startup of a game.

Thanks for answering! :)

1. I'm playing Simutrans 'non-extended', Steam® version (definitely not my choice, my community prefers that version); currently running nightly because there's a bug on (Steam®'s) current that blocks the game from loading custom heightmaps;

2. I found some old personal notes and comparing with your results, here is how to change (some) parameters on-the-fly
- 'i' settings, change parameters
- save game
- close game
- open game
- load save
At least here, it does nothing if I just save-and-load after changing parameters but it does change after closing the game

3. I haven't tested every parameter to see what can be changed, though I'm sure some can be - road tolls and building costs, for instance. It would be nice if there were a list of changeable parameters, or even if it were easier to change them on-the-fly without having to reopen the game!

EDIT:
open game > open save > change configs > save game > close game > open game > open config > load game
that way some changes are persistent - I'll test which ones can change