Beta11 - .TMP files not being renamed

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jobu
Low Yeek
Posts: 5
Joined: Mon Sep 20, 2010 4:45 pm

Beta11 - .TMP files not being renamed

#1 Post by jobu »

Hello,

I came across a problem today in beta11 where my save files were not being updated. I created a character and played for a while, saving the game several times. I encountered a graphical glitch which replaced all of the images with white boxes, which I will report on later, if I see it again. I quit and reloaded, and found that I had been returned to the first save game I had made with this character. One thing I noticed was that the description of the save game did reflect the most recent save I had made (saying I was in Bree) but the game which was loaded had me in the Trollshaws.

I experimented a bit and found that, no matter how often I saved, whenever I reloaded I was back to the original save point. I did some digging and I think I found the answer. I have uploaded a couple of jpeg's showing my save directory at two different times:
tome1.JPG
tome1.JPG (13.88 KiB) Viewed 4279 times
tome2.JPG
tome2.JPG (17.39 KiB) Viewed 4279 times
The timestamps on the desc.lua and .tmp files have been updated, but the timestamps on the .teag and .teaz files have not. The timestamps on the .teag and .teaz files seems to fit with the first time I would have saved, although I didn't actually make a note of the time when I was playing.

I read the changelogs and saw that a feature which has been added to prevent save corruption causes saves to happen to a separate file, which is then renamed once the save is finished. It seems that the rename is failing in my case.

To test this theory, I renamed the .tmp files to .teag and .teaz, and found that when I loaded the game, I was at the most recent save point, rather than the one from 12:18 p.m.

I am running on Windows XP, SP3. This is the first time I have played on this machine.

I doubt this matters, but just in case, my character is a level 2 Noldor alchemist named Feandren. I have saved in both Bree and the Trollshaws.

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

Re: Beta11 - .TMP files not being renamed

#2 Post by darkgod »

Hum weird, can you try using this file please: http://te4.org/dl/tmp/Savefile.lua

Download it, and replace the file in game/engines/default/engine/Savefile.lua

This should fix it
[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 ;)

jobu
Low Yeek
Posts: 5
Joined: Mon Sep 20, 2010 4:45 pm

Re: Beta11 - .TMP files not being renamed

#3 Post by jobu »

I am not sure if the images uploaded correctly, so I will post the directory contents in text form:

C:\Documents and Settings\...\save\Feandren:

Version 1:

desc.lua 1 KB LUA File 9/20/2010 12:51 PM
game.teag 4,153 KB TEAG File 9/20/2010 12:18 PM
game.teag.tmp 4,160 KB TMP File 9/20/2010 12:51 PM
zone-trollshaws.teaz 866 KB TEAZ File 9/20/2010 12:00 PM
zone-trollshaws.teaz.tmp 820 KB TMP File 9/20/2010 12:34 PM

Version 2:

desc.lua 1 KB LUA File 9/20/2010 1:06 PM
game.teag 4,153 KB TEAG File 9/20/2010 12:18 PM
game.teag.tmp 4,160 KB TMP File 9/20/2010 1:06 PM
zone-trollshaws.teaz 866 KB TEAZ File 9/20/2010 12:00 PM
zone-trollshaws.teaz.tmp 820 KB TMP File 9/20/2010 12:34 PM

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

Re: Beta11 - .TMP files not being renamed

#4 Post by darkgod »

As for the white display thing it's known and still being hunted :/
[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: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Beta11 - .TMP files not being renamed

#5 Post by darkgod »

Oups! If you did download the file I gave you already please download it again, I made a slight error :/
[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 ;)

jobu
Low Yeek
Posts: 5
Joined: Mon Sep 20, 2010 4:45 pm

Re: Beta11 - .TMP files not being renamed

#6 Post by jobu »

The second version you posted fixed the problem :)

Thanks for your very fast response. That is some world-class technical support!

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Beta11 - .TMP files not being renamed

#7 Post by edge2054 »

Was able to reproduce this (also on windows XP).

If you need logs, save files, or whatever DG let me know and I'll get them emailed to you.

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

Re: Beta11 - .TMP files not being renamed

#8 Post by darkgod »

I have updated the beta11 archives with the fix
[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