Page 1 of 1

[Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 5:07 am
by Graziel
Gone to game options, disabled both options and it still saves when leaving zone.

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:02 pm
by darkgod
It saves the zone, not your main savefile.

As for the slowness, do you mean it takes 5 minutes where you can do naught or just that the yellow save bar is there for 5 minutes ?

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:12 pm
by Graziel
It was saving and when i got out from Old forest it took me 20 min of saving 7MB file(the 5 min was when leaving trollshaws - 2MB).. so i couldnt do much except for watching it increasing like snail

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:13 pm
by Grey
For me it takes between 30 secs and a minute, and the game lags so much during that time that you might as well wait it out. I noticed only 1 of my 4 cores is being maxed when this is happening - does ToME4 not support multi-threading?

Can we not simply have an option that disables auto-saving entirely? I'm quite happy with the fact that it's a beta and may be unstable at times, so if it crashes I'll accept the loss of the char (or a reset to when I last took a break).

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:19 pm
by darkgod
Grey the only way to do that would be to keep all levels in memory.
Imagine if you play like all the west in one go, it would take much much memory.

But really something is just fishy, it should not be that slow. It takes like 10 seconds here and does not hamper gameplay at all.

As for multithreading, nope, this is a very very multicore unfriendly thing :/

I'll work on it I promise. I always do :/

In the meantime try the save per level option, it could be a bit better.

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:27 pm
by darkgod
Ah also can you please do:
* create a new character
* delete profiler.log in your t-engine directory if it exists
* as soon as you enter the trollshaws, press ctrl+alt+shift+p
* save (with ctrl+s)
* press ctrl+alt+shift+p again
* send me the profiler.log it created

NOTE: this will be even slower

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:33 pm
by Grey
Hmm, will do! It does seem very odd. I suggest you find a weaker PC to test some things on though :P

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 2:41 pm
by darkgod
Well I have 8 cores but each of them is only 2.8Ghz, this is not much faster than yours.

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 3:34 pm
by Graziel
I would like to give you my profile.log but... i started new T-Engine... new TOME... picked char... gave stats( no talent points) pressed alt-ctrl-shift-p ... pressed ctrl-s and at 40% profile.log had 900 MB... thats a bit large file(I passed after 15 min of saving : P)

Re: [Beta 14] Disable autosaving dont work

Posted: Sat Nov 20, 2010 5:02 pm
by Vee
The profiler log is huge, true. But it compresses very good. Just zip, rar, bzip, or use whatever compressor you have and it should be significantly less.

Re: [Beta 14] Disable autosaving dont work

Posted: Mon Nov 22, 2010 1:20 pm
by Grey
darkgod wrote:Grey the only way to do that would be to keep all levels in memory.
Imagine if you play like all the west in one go, it would take much much memory.
Well the way around this is to keep temporary files without a full save. New save system seems to alleviate problems though.

Still, perhaps ToME4 needs some more efficient data structures? Could help with the high RAM usage which causes slow downs on many systems, especially when many creatures are on the level.

Re: [Beta 14] Disable autosaving dont work

Posted: Mon Nov 22, 2010 1:23 pm
by darkgod
Yeah now is probably the right time to rewrite most of the game ;>

On a more serious note, this is the one thing I will never be able to change. The current data structure is what gives TE4 its utter flexibility, without it ther would not be tome at all :)

But yes the new savefile code makes this mostly moot anyway.