Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

WTR files not saving correctly?

You are here: Home > Forum > General > Timetabling > WTR files not saving correctly?

Page 1 of 2

WTR files not saving correctly? 27/12/2012 at 23:03 #39751
peterb
Avatar
451 posts
I am currently building a new timetable for Trent. I have noticed that the last few times I have saved the timetable, and loaded it from scratch having restarted the Sim, any text in the Timetable Description dialogue which was there on save had gone. Also, I have now noticed that rules which again I thought I'd saved at that time were also missing, which leads me to wonder if the WTR is not saving properly?

1. All WTT trains are fine (as far as I can see!)
2. I recently did a system restore but I couldn't see why this would have affected just the WTR file if at all? Also, I seemed to notice this before the restore.

(Also, when I was building a previous timetable, I noticed that as it grew in size (1000+ trains) I was sure that some small things started to change/disappear, but I had no evidence to support this).

Log in to reply
WTR files not saving correctly? 27/12/2012 at 23:25 #39753
GeoffM
Avatar
6290 posts
Online
Are you sure you're saving a timetable and not a game? Are you saving it in the same place you are trying to load it from? Did the modification date/time on the WTT and WTR files change - and to the same value (within a few seconds)?

Text in the timetable description is saved in the WTT file, not the WTR.

SimSig Boss
Log in to reply
WTR files not saving correctly? 27/12/2012 at 23:43 #39754
peterb
Avatar
451 posts
Definitely saving a timetable and definitely in the same place each time. Struggling to replicate this again but will keep my eye on it.
Log in to reply
WTR files not saving correctly? 28/12/2012 at 00:06 #39755
postal
Avatar
5197 posts
Online
Probably not relevant to the circumstances in question, but there are some foibles about saving a TT and saving and reloading a game.

Bitter experience makes me believe that if you save a TT while you are running a sim, that TT is saved to your file copy but not the copy of the TT the sim is running. If you then close the sim, when you restart you get the copy of the TT that the sim is holding, not the file copy. If you then make any further modifications and save the TT under its current name and version, you overwrite the last changes you made to your file copy.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Last edited: 28/12/2012 at 00:09 by postal
Log in to reply
WTR files not saving correctly? 28/12/2012 at 00:54 #39758
AndyG
Avatar
1835 posts
" said:
Probably not relevant to the circumstances in question, but there are some foibles about saving a TT and saving and reloading a game.

Bitter experience makes me believe that if you save a TT while you are running a sim, that TT is saved to your file copy but not the copy of the TT the sim is running. If you then close the sim, when you restart you get the copy of the TT that the sim is holding, not the file copy. If you then make any further modifications and save the TT under its current name and version, you overwrite the last changes you made to your file copy.
WIKI page was an attempt by me to illustrate TT saves.

I can only help one person a day. Today's not your day. Tomorrow doesn't look too good either.
Last edited: 28/12/2012 at 00:55 by AndyG
Reason: typo

Log in to reply
The following user said thank you: postal
WTR files not saving correctly? 28/12/2012 at 17:33 #39772
GeoffM
Avatar
6290 posts
Online
" said:
Definitely saving a timetable and definitely in the same place each time. Struggling to replicate this again but will keep my eye on it.
This is the first type of report I've heard about any sim, or this sim which is now over 2 years old. There are a handful of timetables in the downloads section for Trent, including one from yourself. Andy/John's suggestions are valid but wouldn't explain the loss of timetable description.

SimSig Boss
Log in to reply
WTR files not saving correctly? 28/12/2012 at 21:10 #39778
postal
Avatar
5197 posts
Online
" said:
" said:
Definitely saving a timetable and definitely in the same place each time. Struggling to replicate this again but will keep my eye on it.
This is the first type of report I've heard about any sim, or this sim which is now over 2 years old. There are a handful of timetables in the downloads section for Trent, including one from yourself. Andy/John's suggestions are valid but wouldn't explain the loss of timetable description.
Unless it has been accidentally deleted at some stage and that version of the TT is the one that is now over-writing things when saved.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
WTR files not saving correctly? 29/12/2012 at 00:09 #39780
peterb
Avatar
451 posts
Happened again - this time caught on camera. On saving timetable, restarting sim and loading the same saved WTT, the description was wiped to a previous (not the last save) 'edit'. WTR rules remained intact.

Just uploading the video to youtube now.

Last edited: 29/12/2012 at 00:12 by peterb
Log in to reply
WTR files not saving correctly? 29/12/2012 at 00:34 #39781
peterb
Avatar
451 posts
This should hopefully work/make sense - http://www.youtube.com/watch?v=R1ruvt2pE2g&feature=youtu.be

This looks similar to what you're referring to Andy/Postal but I'm not sure... take a look anyway. Something similar was occuring with the rules as well before but in this video they seemed to remain intact after saving.

As I said, while I was building my other Trent timetable, I noticed small things which didn't seem quite right e.g. when I could have sworn I had changed or saved something, but couldn't actually evidence it.

Log in to reply
WTR files not saving correctly? 29/12/2012 at 01:24 #39784
postal
Avatar
5197 posts
Online
Peter

I'm getting a "video is unavailable" message when I try and run your upload. However, I can probably be a bit more explicit about what I posted previously which may help us all get to the root of the problem.

If you start a run of the sim using TT v1, that is the TT that is embedded in the sim and any saved snapshots. If you then edit the TT, save the TT as TT v1 and shut things down, you have a saved copy of TT v1 on your hard disk, but this saved copy has not changed the copy of TT v1 embedded in the sim. When you then come back to the sim to run the TT a bit further and start by loading a saved game, you are running the TT v1 that you opened when you first started running the sim, not the TT v1 that you saved before you last closed the sim. Any edit of the TT then changes the copy of TT v1 embedded in the sim, not the copy of TT v1 on your hard disk. So if you save the TT as TT v1 from this editing session, anything you saved before you closed your last session of TT editing is over-written by the original TT v1 which you loaded into the sim plus the changes you have made in the current session. Then if you start another editing session and save as TT v1 the changes from you previous 2 runs are over-written by the original TT v1 plus the changes from your last session of editing and so on.

For example, if you load TT v1 and edit 1A00 then save the TT as TT v1, that is saved to your hard disk. If you then re-load your last saved game and edit 1A02 after which you save the TT as TT v1, your changes to 1A00 are lost but your new changes to 1A02 are saved, Similarly you would lose your 1A02 changes if you edited 1A04 in your next session then saved as TT v1.

If you want to avoid that you have to use File - New Simulation and load the last saved version of the TT. If you load a saved game you pick up the version of the TT current when you originally started the run and any saves from your current session over-write things from the last time you ran things through.

I was getting lost typing that, so I hope it makes sense but if it does, I think it represents what SimSig does and may be causing your problems.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Last edited: 29/12/2012 at 01:25 by postal
Log in to reply
WTR files not saving correctly? 29/12/2012 at 11:07 #39799
peterb
Avatar
451 posts
Apologies about the video, I'll try another upload later.

Thanks Postal, but to reiterate, I'm never saving the 'game', I'm always saving or loading the WTT itself.

This is the step-by-step of what's happening.

1. A certain timetable 'X' has the TT Description 'Y'
2. I edit this description so it now becomes 'Z' or add a WTT rule
3. I save the timetable (Timetable --> Save As) with the file name X
4. I close the sim entirely
5. I restart the sim: New game --> Timetable 'X' (I do not load a previous game!)
6. I should therefore be loading the same timetable I just saved...
7. The TT Description has reverted back to 'Y'. This has also happened in the case of certain rules which were added before the save in step 2. All trains are fine.

All the video was to do was to run through those steps as proof of what I was doing. Hopefully that adds a bit more clarity.

Log in to reply
WTR files not saving correctly? 29/12/2012 at 15:33 #39811
postal
Avatar
5197 posts
Online
Just a daft thought, but are you saving the TT in the same location as the location from which you then load the TT for the next session? You could do a search and see if you have more than one version of the TT on your hard disk.
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Last edited: 29/12/2012 at 15:35 by postal
Log in to reply
WTR files not saving correctly? 29/12/2012 at 15:49 #39812
peterb
Avatar
451 posts
Yes, and all of the trains themselves are as they should be from saving the timetable and reloading it.
Log in to reply
WTR files not saving correctly? 29/12/2012 at 17:58 #39819
GeoffM
Avatar
6290 posts
Online
If you open the video on the YouTube site itself it says "This video is currently being processed. Please check back in a few minutes." However, it's been saying that for nearly 12 hours now.
SimSig Boss
Log in to reply
WTR files not saving correctly? 29/12/2012 at 18:19 #39821
jc92
Avatar
3631 posts
" said:
Just a daft thought, but are you saving the TT in the same location as the location from which you then load the TT for the next session? You could do a search and see if you have more than one version of the TT on your hard disk.
i had this issue with carlisle. while testing, it was sat in a folder on my desktop, so all saved WTT. WTR and SSG files went into that folder. i then installed the release version into my program files>SimSig folder, however saves were still going to the desktop folder for some reason.

"We don't stop camborne wednesdays"
Log in to reply
WTR files not saving correctly? 29/12/2012 at 19:08 #39823
BarryM
Avatar
2158 posts
" said:
Apologies about the video, I'll try another upload later.

Thanks Postal, but to reiterate, I'm never saving the 'game', I'm always saving or loading the WTT itself.

This is the step-by-step of what's happening.

1. A certain timetable 'X' has the TT Description 'Y'
2. I edit this description so it now becomes 'Z' or add a WTT rule
3. I save the timetable (Timetable --> Save As) with the file name X
4. I close the sim entirely
5. I restart the sim: New game --> Timetable 'X' (I do not load a previous game!)
6. I should therefore be loading the same timetable I just saved...
7. The TT Description has reverted back to 'Y'. This has also happened in the case of certain rules which were added before the save in step 2. All trains are fine.

All the video was to do was to run through those steps as proof of what I was doing. Hopefully that adds a bit more clarity.
peterb,

Are you changing Timetable Name or Timetable Description?

If you Save As with the file name X, the Timetable Name you changed to Z will change to the file name X.

I found changes to the front page Timetable Description is saved.

Barry

Barry, Sydney, New South Wales, Australia
Last edited: 29/12/2012 at 19:14 by BarryM
Reason: add nore info

Log in to reply
WTR files not saving correctly? 29/12/2012 at 19:52 #39827
peterb
Avatar
451 posts
Barry,

Timetable description changes are not being saved (also WTT rules on occasions). Timetable name/file name remains the same throughout.

Log in to reply
WTR files not saving correctly? 29/12/2012 at 19:53 #39828
clive
Avatar
2738 posts
Run the saved timetable through ConvData. This will tell you whether the data in it has been saved correctly or not. That will help narrow the issue down.

Check that the filename you're using isn't one you've used before. Check that the WTT and WTR files have the expected date on them.

Log in to reply
WTR files not saving correctly? 29/12/2012 at 21:23 #39835
postal
Avatar
5197 posts
Online
Peter

Just to satisfy a cantankerous old man, could you confirm that you have run a search of your hard disk and only found one each of the .wtt and.wtr files. It will then enable us to rule out another possible cause of the problem.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
WTR files not saving correctly? 29/12/2012 at 22:48 #39840
peterb
Avatar
451 posts
Clive/John

There is only one .wtt/.wtr on my computer with the correct timetable name; the 'modified time' of each file is the same, and is also stating the correct time. I haven't used the filename before and there is not a file with a similar name anywhere else.

I'm having trouble using convdata, i've attached the files here for your examination. I'm using Trent version 2.132.3.8121

Post has attachments. Log in to view them.
Log in to reply
WTR files not saving correctly? 30/12/2012 at 05:03 #39849
BarryM
Avatar
2158 posts
" said:
Clive/John

There is only one .wtt/.wtr on my computer with the correct timetable name; the 'modified time' of each file is the same, and is also stating the correct time. I haven't used the filename before and there is not a file with a similar name anywhere else.

I'm having trouble using convdata, i've attached the files here for your examination. I'm using Trent version 2.132.3.8121
I tested your TT namely 8thDecember2012,WTT.
I loaded it and added some data to the front page Timetable Description and saved the files.

Restarted computer and load TT. The added data was missing. However, I found 2 files namely 8th December 2012 and loaded them. The saved data was in the WTT file.

The reason for this is that the Timetable Description is namely 8th December 2012.

Barry

Barry, Sydney, New South Wales, Australia
Last edited: 30/12/2012 at 05:07 by BarryM
Reason: add info

Log in to reply
WTR files not saving correctly? 30/12/2012 at 10:01 #39851
postal
Avatar
5197 posts
Online
" said:
" said:
Clive/John

There is only one .wtt/.wtr on my computer with the correct timetable name; the 'modified time' of each file is the same, and is also stating the correct time. I haven't used the filename before and there is not a file with a similar name anywhere else.

I'm having trouble using convdata, i've attached the files here for your examination. I'm using Trent version 2.132.3.8121
I tested your TT namely 8thDecember2012,WTT.
I loaded it and added some data to the front page Timetable Description and saved the files.

Restarted computer and load TT. The added data was missing. However, I found 2 files namely 8th December 2012 and loaded them. The saved data was in the WTT file.

The reason for this is that the Timetable Description is namely 8th December 2012.

Barry
Peterb

This gives us another avenue of attack then. Can you again run a search on your computer hard disk, but set the file name as *.wtt and use the additional options to search for files modified in (say) the last week so you don't get a screen full of TTs from all the sims you have on your machine. This will let us know whether files are saving under an unexpected name,

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
WTR files not saving correctly? 30/12/2012 at 14:44 #39866
peterb
Avatar
451 posts
Search came up negative. No additional .wtt or .wtr files except those which I know I have been using from their location. Searched everywhere including hidden, non-indexed and system files.
Log in to reply
WTR files not saving correctly? 31/12/2012 at 16:47 #39908
clive
Avatar
2738 posts
" said:
i've attached the files here for your examination.
Can you tell me something that you changed before saving, so I know what to look for.

Log in to reply
WTR files not saving correctly? 31/12/2012 at 20:00 #39920
postal
Avatar
5197 posts
Online
Another suggestion going on from BarryM's post.

I downloaded your TTs and started the sim using the TT.

This TT is named "8thDecember2012.WTT". Note that there are no spaces in the file name.

I edited the front page (I put XXX after NEXT: 1C77 1909) then went to Timetable - Save as and clicked on OK using the default name that showed. On checking my hard disk, this file is saved as "8th December 2012.WTT" - additional spaces because when you go to Save As, the sim seems to default to the TT filename as the text in the Timetable Name box on the front tab.

File - New Simulation using 8thDecember2012.WTT gives an unaltered file. File- New Simulation using 8th December 2012.WTT gives the edited file.

Is there any chance you have missed the change of filenames due to the spaces being added?

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply