[Beta 14] Disable autosaving dont work

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Graziel
Wyrmic
Posts: 234
Joined: Wed Sep 15, 2010 10:32 am

[Beta 14] Disable autosaving dont work

#1 Post by Graziel »

Gone to game options, disabled both options and it still saves when leaving zone.
You are likely to be eaten by a grue

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta 14] Disable autosaving dont work

#2 Post 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 ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Graziel
Wyrmic
Posts: 234
Joined: Wed Sep 15, 2010 10:32 am

Re: [Beta 14] Disable autosaving dont work

#3 Post 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
You are likely to be eaten by a grue

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: [Beta 14] Disable autosaving dont work

#4 Post 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).
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta 14] Disable autosaving dont work

#5 Post 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.
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta 14] Disable autosaving dont work

#6 Post 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
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: [Beta 14] Disable autosaving dont work

#7 Post by Grey »

Hmm, will do! It does seem very odd. I suggest you find a weaker PC to test some things on though :P
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta 14] Disable autosaving dont work

#8 Post by darkgod »

Well I have 8 cores but each of them is only 2.8Ghz, this is not much faster than yours.
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Graziel
Wyrmic
Posts: 234
Joined: Wed Sep 15, 2010 10:32 am

Re: [Beta 14] Disable autosaving dont work

#9 Post 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)
You are likely to be eaten by a grue

Vee
Thalore
Posts: 127
Joined: Tue Nov 02, 2010 10:27 pm

Re: [Beta 14] Disable autosaving dont work

#10 Post 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.
greycat wrote:An intervention was required (kill -9)

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: [Beta 14] Disable autosaving dont work

#11 Post 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.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [Beta 14] Disable autosaving dont work

#12 Post 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.
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply