Move territorial calculations to the init screen

Bug #1818402 reported by Toni Förster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Undecided
Unassigned

Bug Description

We changed the calculations for woodgnome and especially for territorial for build_20. Currently These calculations are done after the initialization screen. This can result in a black screen for big maps especially on old computers. Currently we handle this by displaying a message to the user, to keep him informed that of what's going on.

Ideally these calculations should be done while the init screen is shown.

We currently have the problem that this increases loading time, since creating the savegames takes longer now.

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

I have dug into the saveloading code. There are some small tweaks that could be done for some of the packages, but the scripting packet, which is eating up most if the saveloading time on big maps cannot be speeded up because it depends on the Eris backend. We would have to dig into Eris itself.

One final thing we could try is when saveloading the replay writer on game start, to copy over the map file system from the emergency backup rather than creating a new one.

tags: added: savegame
tags: added: wincondition
Revision history for this message
Toni Förster (stonerl) wrote :

As far as I understand, the speedup_saveloading branch hasn't the latest trunk merged. So we still have the calculations in the init (that caused the 4 Minutes wait time) and that branch is extremely fast, when starting a territorial or woodgnome game.

Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.