Game Development Community

Saving doesn't work

by Sabbie · in Torque Game Builder · 12/15/2007 (9:27 am) · 4 replies

I've been trying to save my work for days now, but TGB doesn't seem to want it..

Just now I editted some stuff, imported new art, editted a tilelayer and such and then I pressed save. Because of the problems I did a Save As directly after that. Then I exit TGB, it asks me if I want to save and I press yes. I once more point to the level I was working on, save it and restart TGB. Once it loaded, all my changes were gone and I was back to some random point in history.

I've used more swearwords then a fisherman who's ship just sunk on the northpole, am thru three keyboards and two mouses and I'd like to keep my brand new monitor in one piece so I'm really searching for a solution for this incredible anoying bug.

Anyone who has had this as well? Any pointers to what could be causing the problem? Please help me, please save our game..

#1
12/15/2007 (5:37 pm)
Eelco,

Sorry, but I don't know what to tell you. I have never had this problem. I am running on WinXP w/SP2.
#2
12/15/2007 (10:02 pm)
Which version are you using? What OS?
#3
12/16/2007 (7:12 am)
I'm using Windows Vista. Had the problem with 1.5.1. Yesterday I installed 1.6 but the problem's still there.. When I save carefully, while checking if the proper files are being overwritten, (Keeping them open in codeweaver so it says I have to reload,) it most of the time does work.

I don't know if it's related, but my console.log used to output this as well:

XML::beginWrite - Failed to write to filecommon/commonConfig.xml.
saveGameConfigurationData - Failed to write to file: common/commonConfig.xml

The last log however does not, so it could be that that was fixed with the 1.6 version.

Weird thing though, one of the problems occured when I loaded a new image in TGB. After rebooting the programme the image was gone from the library again. When I later opened datablocks.cs in codeWeaver and repeated the process everything was going perfect. (datablocks.cs actually got saved the second I imported the image to the stage.)

I've checked all files rights and permissions. Set them writable to all users etc. I can't really think of what could be causing the problem..
#4
12/19/2007 (5:00 am)
Hmmm, I think it could be because I've had the files open in Codeweaver. Then, when I save them in torque Codeweaver asks per file if I want to reload from disk. If I don't do that, it will overwrite the versions I had open in the program.

My bad *blush*