SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: tamorr on May 09, 2009, 11:38:24 PM

Title: savefile question
Post by: tamorr on May 09, 2009, 11:38:24 PM
  I was wondering about the .sav files that are saved along with the lot files when modifying the lots. What are they and why do they appear after saving? I think it is in SCTool that does this, but not completely sure.

Also does it save the data in the lot as well? or is it just a duplicate to the lot as it has the lot name along with each file saved. I am soooo not sure of what it is for.

I thought things were saved directly to the Lot/Dat files directly when modified, am I wrong? I know it is not important for plugins since the game ignores such files. So anyone know?
Title: Re: savefile question
Post by: io_bg on May 10, 2009, 12:10:54 AM
Yes, these files are made by the SC4 Tool when opening saving a lot. I think they're not necessary so you can delete them after you close the SC4 tool.
Title: Re: savefile question
Post by: tamorr on May 10, 2009, 12:42:04 AM
  They are created by openning a lot? Didn't know that... I thought they were created when saved in the editor, but then again I never checked until I was done saving in the first place. However if that is the case as you say, it being made when it opens a lot, then it is safe to say that it is similar to a .tmp file as in a temporary file used by the program to do what it does and only when you save your lot is when the lot file is writen to.

Deductive reasoning based on how most/some programs work. I may not be a programmer, but I do know at least the basics. Too bad I didn't finish that course in college... Anyway so it is created when lots are opened, correct?

thank you for the reply.


I am always interested in knowing how certain things work, but more importantly what things are for.
Also if that is the case then the .sav file is indeed not important and probably should be deleted like most other temp files once in a while. That is if I am correct in my deduction.


"It is one thing to know extensively on one subject, but another to know all those tid-bits inbetween as well, however only knowing bits and pieces of everything can make anyone indecisive."
Title: Re: savefile question
Post by: io_bg on May 10, 2009, 12:47:44 AM
Oh, I'm sorry, I meant by saving a lot with the SC4 tool &blush
Title: Re: savefile question
Post by: tamorr on May 10, 2009, 01:10:08 AM
   That's why I said If. Hmmm.... Makes me wonder what the file is for then, cause I know it is not used for the game. That much I know. Also makes me wonder why it would make the file in the first place, when it obviously modifies the lot file you saved in the editor as well.


Can't help asking silly questions like these as it is a way to understand the modding enviroment, even if it is useless for that pupose. Whether or not it is, is beyond me... I am a collector of much information that I don't regularily use, and some useless facts as well. I guess it is just the way I think, but anyways If anyone else knows the purpose of the .sav file they are welcome to answer.

As for me I am going to retire for the night, and probably return tomorrow/today/this morning what ever, I need the rest anyway.


And thank you for the help even if it was only a small portion to what I was asking. Thanks anyway, and hopefully I will get the answer to more of my original questions. ()stsfd()


"Knowledge may be power, but it is how you use it that makes one powerful."
Title: Re: savefile question
Post by: BarbyW on May 10, 2009, 01:46:50 AM
The .sav file is a back up file made when you edit a lot in SC4Tool. Thus if your edits don't work you can rename the .sav to .SC4Lot or to .dat and go back to the original.
These .sav files should never be included in an upload as they are completely useless to anyone except the original creator.
Title: Re: savefile question
Post by: Andreas on May 10, 2009, 04:36:04 AM
What Barby said. You can disable the creation of those backup files in SC4Tool's options, though.
Title: Re: savefile question
Post by: tamorr on May 10, 2009, 09:23:53 AM
   Now that is what I wanted to know. Thanks bunches to all that answered. I think I'll keep that option left on for when I need it.

I never want to upload it with any that I would as per your guidelines for upload and cleaning the files, that and I've known they are useless for the game itself. And I said that in my prior post maybe not directly, but it is my way. Anything useless should never be uploaded with any creation.

Thank you again.