TS12 SP1 HF4.....validation, validation, validation..so when can I get to use the sim

If adding new content requires a validation, instead of validating the whole database all over again, why not validate just the new adds? This appears to us to be one of the issues even if it's not.

It most certainly does not validate everything when something new is installed. It validates that item, and any item that it might have an effect on (dependencies and dependent assets). if you put any item in and pay careful attention to the numbers you will find this to be true.

How about a dialog box too that says something like "Please wait... New assets have been added and are being validated" or something along those lines?

I have agreed with this for a long time, To avoid possible user frustration and termination of the program, there should be some kind of indicator that some action is taking place, not just the spinning circle from the OS. This has been a small problem since CMP was introduced. Neither it nor Tainz lets you know what it is doing when it has apparently frozen.

To paraphrase Frank. "We're 10,000 eyes out here looking at the program every day." Sometimes when an individual or a team works very close to a project, the individual tree becomes the focus rather than the forest.

True enough, but as Mr. Bartus continually demonstrates here and elsewhere, there are much better ways to approach things than the way he does. Becoming a mob of angry users who have very little grasp of what is happening is no better than N3V saying 'deal with it' or 'giving the runaround'. Not that they have done those things, but it is of popular opinion.
 
Last edited:
It most certainly does not validate everything when something new is installed. It validates that item, and any item that it might have an effect on (dependencies and dependent assets). if you put any item in and pay careful attention to the numbers you will find this to be true.

I have agreed with this for a long time, To avoid possible user frustration and termination of the program, there should be some kind of indicator that some action is taking place, not just the spinning circle from the OS. This has been a small problem since CMP was introduced. Neither it nor Trainz lets you know what it is doing when it has apparently frozen.

...

True enough, but as Mr. Bartus continually demonstrates here and elsewhere, there are much better ways to approach things than the way he does. Becoming a mob of angry users who have very little grasp of what is happening is no better than N3V saying 'deal with it' or 'giving the runaround'. Not that they have done those things, but it is of popular opinion.


As an experiment, I just downloaded some items from the outside and installed them. This initiated a 5000 asset validation process. This was for an install of little over 50 non-interactive buildings. I'm done for at least an hour while this goes on. It's a good thing I'm retired and have all the time in the world to wait while this process completes. I can't imagine someone coming home from work or school doing some outside installs, only to have their preciously limited down time eaten up by a validation process.

I do agree with you on this. Mr. Bartus can be a bit rough and I've spoken to him about it outside the forums, however, N3V should listen more carefully to what we're saying here.

John
 
John, can you tell us what those assets are and where to get them? (PM me if you want) I want to try them on my installation. If this validation situation can be consistently re-created, it might help N3V with their investigation. Also, I want to try this as I don't see this validation problem at all. I've tried to force a validation but cannot seem to do it. I haven't seen the asset validation since the New Year's Day ruffle.
 
Come on Chris, don't take it too hard, look at it from our point of view, we are trainz nutters every last one of us. and all we want is to be able to build a decent route or build stuff to put on it for the enjoyment of making it as real as we can possibly get, in the little time we have, and TS12 was a good leap forward in being able to do that.
Everything was pretty rosy until the very last addition with HF4 and what ever changes came with it from in-house.
As well as the ones that are working with the help team, If you have an area you want us to monitor and report back what we find, let us know in this thread and we will gladly report back to you what we find in this thread.
I just don't want it to become a big waste of time, that's all.
If we knew that you was taking it seriously and had some spare manpower to work on TS12 still, to put right what was leading up to be a good platform to work with then the forum would become a much calmer place to visit, plus you would profit from the extra revenue TS12 would make as a stable platform, which would also have a snowball effect with sales of TANE.
 
If you say that N3V has identified areas of concern, please let us know that. Keeping things like that a big secret tend to get the community riled up and thinking nothing is being done.

We talked about this earlier in the thread, but point taken :)


If the program interface had more dialog messages, it would be more reassuring to know that we have to wait and something hasn't gone tits up with the system. This has always been an issue and we wish that this could be addressed. Perhaps this could be an unmentioned goal for T:ANE.

Getting more data back from the program is always a goal, hence the introduction of features such as the CM log panel. The problem with this as a generalised goal is that the computer is running billions of instructions per second. It's impossible to know reliably in advance which of these instructions are going to be interesting to the user. We obviously can't log everything.

What we can and do is determine specific places that can be improved (typically *after* it would have been nice to have them, but often this kind of thing becomes useful again in the future) and work on those.


If adding new content requires a validation, instead of validating the whole database all over again, why not validate just the new adds?

That's exactly what we do. Keep in mind that this can have a cascading effect on any dependencies of those new adds.


This appears to us to be one of the issues even if it's not. How about a dialog box too that says something like "Please wait... New assets have been added and are being validated" or something along those lines?

That's a difficult one. Assets can be added at pretty much any time, and the last thing we want to do is stall the computer randomly because something happened in the background. This is why validation itself is backgrounded where possible- the user doesn't really need to wait. It's obvious that this isn't always entirely successful (it may be backgrounded, but that doesn't necessarily mean it's resulting in a good experience if there are too many items queued up.)


As you can see we not all a bunch of 12 year olds playing with trains on the computer, and many of us come from technical backgrounds which span many decades. Please leverage our experiences as technicians, programmers, copywriters, editors and other resources.

This is appreciated, however the flipside of this is that you really aren't exposed to sufficient information to diagnose such problems in many cases. Even with a debug build of the game, which runs ~10 times slower than the release versions you see, we can't necessarily pinpoint every issue without spending days looking into a mostly-reproducible problem.

For example, in this case: you can state that what you're seeing is unacceptable (fair enough) and I can point out the reasons behind it and the situations in which you should see that behaviour. You can further state that you think it's going beyond what I've said and occurring in other situations (which is where we're at now.) Beyond that, there's not a lot of information that you can give us. That's no fault of yours, and there's little we can do to improve the communications there. We need to identify the causes, and for that, we need to repro the issue in-house (or, as in this case, work more closely with specific users who are having the problem and who are willing to sacrifice some of their own time and bandwidth to help test the issue.)

I'm not saying there are no cases where you can help; of course that would be rubbish. But thinking that computer-savvy alone is enough to figure out what's going on in a black-box system is equally wrong.

cheers,

chris
 
Apologies for bringing in emails, but you need to know, even at the risk of thinking it's a personal attack. I'm trying to get some progress here... and save a product I love that I percieve as slipping away into oblivion.
//Frank
(Refactored from the end to get us on point... If you're into the name calling continuation, I responded as linked below.)

I'm not really sure what more information I can give you at this point. Some of you are reporting something that (as far as we can tell, from the varied and sometimes vague reports that reach us) should not be happening. That's not a dig at any of you, but there's very little meaningful information that is user-visible here, so the amount of useful data we can get from your posts is minimal. It's not something that we can currently repro in-house, so (as above) our QA lead is talking to a few people and asking them to assist us with testing.

What's being referred to here is a background validation process that only shows up in the diagnostic logs. This is the same process that is run when you use 'View Errors and Warnings', when you install new content, when you the current version of dependencies, and so on- there are many legitimate reasons for it to occur; we have no concerns at all about the messages showing up in the logs; the question is simply whether there are some cases where unnecessary validation is occurring, and if so: why?
chris

That's actually quite false--at least from my experience, the problem is when it occurs and ties your hands despite things having been recently validated. You import CDP's... it validates, and then catches some errors. (Rob Shaw (? Robin Hood?) at TPR for example has two missing texture errors in his "MoCrossing's pack" importing that zip's CDPs finds immediately. I'm sure I've seen similar validations catch other minor miscreants from a couple of other sources. THAT'S FINE, but when I do a lot of importing, I commit manually in smallish groups, spend time whittling down a backlog of error fixings in TS09 or TS10, import some of those into TS12... then if I've done a lot, do a QDR when I quit for the evening (expecting the time penalty. THAT's schedulable, so OKAY. Your background validations, likely also occuring whilst I'm fixing errors in TS09 or TS10--even in TR06, depending on what's wrong.), then next day or two or three... when I relaunch... I have to wait all over again, like the OP says, for hours. THAT's NOT ACCEPTABLE.

SO explain to all of us why you call that sensible and expected below... THAT'S THE FRICKIN' PROBLEM. If we expect a wait, we can plan. If we get cold-cocked like this, we get angry... perhaps even more so than when we find errors in DLS content at this late date. Another unresloved thorn that keeps rubbing salt in the wounds.
// Frank

On the technical side of things, I’ve been thinking that perhaps this is a program bug more than actual data corruption that is triggering this revalidation process. SNIP,SNIP... Unfortunately in our case, the implantation is bugged so TADaemon has a hissy fit when things don’t appear right to it.
Close, but no.

If there's regular background validation occurring for no good user-initiated reason, then there's definitely a bug.

That has nothing to do with "dirty" flags or bad data or anything else. This is probably confusion on the speaker's part between database repair and validation.
Chris
Well, that's a relief. I can't imagine it as being anything but a BUG... and a costly one, at that. I think we can all understand that finishing a download, or importing a CDP batch, or cross-importing fixed assets from another Trainz directory would likely cause a validation process--particularly if the software was shut-down in the middle of doing such a 'background task'--as you believe they are.

IS THAT possibly the ACTUAL CAUSAL factor here? And perhaps TADdaemon/TrainzUtil just aren't saving the partially processed validation properly, or correctly reinitializing when reading it (a state save) back in? Could this be an error-trap case in that re-start after interruption sequence?

But the answers to the below two cases by you disturbs me far more greatly! Hopefully, you've just confused the timing of when things are vexing us... // Frank

From my experience, this has happened after performing a database repair, whether an EDR (a very, very rare occurrence at that), or an QDR.
CASE-1:
Definitely valid cases for it to occur, and not considered a problem. // ChrisB

(Frank, EYES POPPING! MOUTH OPEN gasping for air, WHAT!!!!!???? AFTER A REPAIR, on the next CM launch!??)

Other times this has kicked in after adding assets from CDPs. I recently downloaded some content from Jointed Rail, and sure as shootin, I got a long dreaded data validation afterwards. I also got this after installing the Murchison update, or rather bug fix.
CASE-2:
Definitely valid cases for it to occur, and not considered a problem. // ChrisB

You're saying that in these two cases just to screw with us, aren't you? What maggoty-brained rationale would there be to revalidate a data base just validated in the foreground by an EDR or QDR. EVER???... OR do you misconstrue the case is the validation is occuring HOURS AFTER, DAYS AFTER... when a validation process has already occurred. WHY A DOUBLE TIME HIT ON THE USERS??? Why would we ever perform such if we get sandbagged the next time we load into the same kind of LENGTHY unproductive wait and delay just when we expect to play and be productive? Further, I know that particular Ten year Trainzer (Jcitron) watches his processes like a Hawk and waits until well after TADdaemon leaves the processes list and is gone for several minutes RELIGIOUSLY. See, he's a bit paranoid and burnt enough by this kind of jazz that he taught me to be similarly cautious.

Further, even taking the case of the CDP's and misconstruing it to the worst case, I would assume is a missing dependency or fifteen that are NOT ON THE DLS, since it's obtaining that knowledge immediately upon loading them to the task complete API (Now that interface needs some S/W work!). I know, I capture such into a text file... then examine any errors, disable assets if I can't fix them, and so forth. BUT, the problem is the Validation LONG AFTER finishing, letting CM complete, Letting TADdaemon quit... then sometime later, a day or an hour, but well after... then loading and getting the SLOWS... VALIDATION... of what hasn't been validated yet??? THAT's what's driving us buggy--and I'm skyping as I write with the guy who reports those two cases... LONG AFTER, so why do we run a QDR? Hmmmm.
// Frank

(continued)
 
Anyway, if this is a programming buy, the first thing I would do, on Chris’ part would be to take a look at his “perfect” code and see what’s happening.

Again, no claims on my side that our code is "perfect", nor that our code is "my code". Are you sure it's me who is being the negative one, here? Sounds to me like somebody has a grudge.

His gut feeling is very, very wrong.
chris
The problem for you and Hilliam Chris, is the whole community keeps telling you they've got grudges and you aren't getting the why, and from our point of view, you are the man who can do the fixing.
Perhaps. However, you should also keep in mind that:

* In this thread, well in advance of your post, we've already identified specific issues that we'd like to investigate further.
* We have a major project underway to overhaul the Trainz engine, specifically to bring it up to date for modern workloads.

If that's "arrogance" and "lack of focus" then so be it.
chris
NOT my comment, as with many in that pistache. Just the way the wind blows from some other software people I network with, not all of them in Yesterdayz Trainz, either. Personally, I figure you've got a bit of PTSD, and should have been relieved of your "FACE" duties here on the forum several years ago. MANY of your answers come off as snippy, juvenile, and dismissive, and as the poster noted above, you run and hide often enough to be twitted about it.

As chief software geek, you have better things to do, I'm sure, and frankly your lack of sensitivity just alienates the people because your impatience shines through. People usually refer to that as arrogance, and believe it or not, I usually defend you on that. Actually, I defend you quite a bit. Mostly I point out that that appalation is not quite accurate, and you have other things you're balancing. As a designer I understand that very well. I'm enhearted that you admit here that your code isn't perfect and may be at fault, as it sets that arrogance accusation back a bit. Back on topic to interject ... I'm leaning to a design flaw as the BAD 'BOO BOO BOO HISSSSSSSSS' case seems to be when YOU think it okay and reasonable below. (more later)

The difference between me and the average poster here, is that I'd hopes by confronting you in July, the sounds thing in November and with those candid thoughts of others besides myself above, you would perhaps improve your listening and actually focus on the issues. (You're bann on <A url=http://online.ts2009.com/mediaWiki/index.php?title=Help:Content_Manager&diff=prev&oldid=5772>this draft N3V wiki edit</A> on a page which had been stagnant for months I just find childish. All you did with that is hurt the new customers and the many here that shake their heads at your 'Wiki', usually with swearing attached! I actually set Trainz aside for near three months, as being not worth the time--because you clearly weren't going to smarten up. Not sure resuming is smart of me. HOPE you prove my faith is warranted.)

Instead you are almost certainly rushing to push TANE instead of fixing TS12 as all the complaints since a year ago have begged. On this I'm with John Weylan, Fix TS12, and especially the DLS, then resume development of TANE. Your lack of dealing with both the former expeditiously just stirs up anger each occurance of getting burned again by either. I went off on you in November on the sounds thing after an extended session of error fixing. Unforgivable, the time you cost others with inaction and ineffectiveness. Until you correct that boondoggle, I'm going to forever have trouble seeing you as a true professional, the ceiling tops out at 'promising bush-leaguer'; you have talent and skills, but priority setting seems vastly deficient. (In short, every time we get a new error from the DLS, or the performance draggings in TS12. To not bog this thread down, I'll post some concrete steps you can take immediately elsewhere in the next day or so. I've given it A LOT OF THOUGHT.)


re: In short, all from technical professionals who have a bit more experience in large ponds as small fish growing wiser without fullfilling the Peter principle so young as you

In short, a comment like that makes you an ass and comes across more than a little ageist. Not saying you're stupid or don't make occasional useful input, but turning everything into personal attacks against myself and my colleagues doesn't help anything and has actively lead to you being banned from our wiki. I find that a real shame personally, because you were one of the more active wiki editors and we want to see more wiki activity, but if you spend as much of your time attacking what we do as you do making yourself useful, then we don't have much time for you.

chris
Being called an Ass by you is something of a badge of honor, just as being banned by you--when you point that sort of finger, you forget three are pointing right back at you. Further, It's really not meant as a personal attack Chris, just the way I see you. You fell into a choice job while very young and inexperienced, and ...

This thread continues the Frank discussion of who's an Ass. Let's keep this on Validations as topic.
 
We talked about this earlier in the thread, but point taken :)
...
This is appreciated, however the flipside of this is that you really aren't exposed to sufficient information to diagnose such problems in many cases. Even with a debug build of the game, which runs ~10 times slower than the release versions you see, we can't necessarily pinpoint every issue without spending days looking into a mostly-reproducible problem.

For example, in this case: you can state that what you're seeing is unacceptable (fair enough) and I can point out the reasons behind it and the situations in which you should see that behaviour. You can further state that you think it's going beyond what I've said and occurring in other situations (which is where we're at now.) Beyond that, there's not a lot of information that you can give us. That's no fault of yours, and there's little we can do to improve the communications there. We need to identify the causes, and for that, we need to repro the issue in-house (or, as in this case, work more closely with specific users who are having the problem and who are willing to sacrifice some of their own time and bandwidth to help test the issue.)

I'm not saying there are no cases where you can help; of course that would be rubbish. But thinking that computer-savvy alone is enough to figure out what's going on in a black-box system is equally wrong.
cheers,
chris

Since John seems to be seeing this more regularly, and he's got both the time and a computer to kill for, why don't you rope him into helping you pin this down. For my part, I'm concerned you're missing a big part of the complaint... that this is occurring AFTER circumstances should have validated data. LONG AFTER. // Frank

Apologies for bringing in emails, but you need to know, even at the risk of thinking it's a personal attack. I'm trying to get some progress here... and save a product I love that I percieve as slipping away into oblivion.
//Frank
(Refactored from the end to get us on point...)

I'm not really sure what more information I can give you at this point. Some of you are reporting something that (as far as we can tell, from the varied and sometimes vague reports that reach us) should not be happening. That's not a dig at any of you, but there's very little meaningful information that is user-visible here, so the amount of useful data we can get from your posts is minimal. It's not something that we can currently repro in-house, so (as above) our QA lead is talking to a few people and asking them to assist us with testing.

What's being referred to here is a background validation process that only shows up in the diagnostic logs. This is the same process that is run when you use 'View Errors and Warnings', when you install new content, when you the current version of dependencies, and so on- there are many legitimate reasons for it to occur; we have no concerns at all about the messages showing up in the logs; the question is simply whether there are some cases where unnecessary validation is occurring, and if so: why?
chris

That's actually quite false--at least from my experience, the problem is when it occurs and ties your hands despite things having been recently validated. You import CDP's... it validates, and then catches some errors. (Rob Shaw (? Robin Hood?) at TPR for example has two missing texture errors in his "MoCrossing's pack" importing that zip's CDPs finds immediately. I'm sure I've seen similar validations catch other minor miscreants from a couple of other sources. THAT'S FINE, but when I do a lot of importing, I commit manually in smallish groups, spend time whittling down a backlog of error fixings in TS09 or TS10, import some of those into TS12... then if I've done a lot, do a QDR when I quit for the evening (expecting the time penalty. THAT's schedulable, so OKAY. Your background validations, likely also occuring whilst I'm fixing errors in TS09 or TS10--even in TR06, depending on what's wrong. Mostly, I keep TS12 error free and download to one of the others first, validate, then bring that content into TS12.), then next day or two or three... when I relaunch... I have to wait all over again, like the OP says, for hours. THAT's NOT ACCEPTABLE. If it was valid in TS09-SP4, and TS10-SP3b has no issue with it, why sometimes does TS12 have this 'Auto-ghost-QDR' on relaunch.

SO explain to all of us why you call that sensible and expected below... THAT'S THE FRICKIN' PROBLEM. If we expect a wait, we can plan. If we get cold-cocked like this, we get angry... perhaps even more so than when we find errors in DLS content at this late date. Another unresolved thorn that keeps rubbing salt in the wounds.
// Frank

On the technical side of things, I’ve been thinking that perhaps this is a program bug more than actual data corruption that is triggering this revalidation process. SNIP,SNIP... Unfortunately in our case, the implantation is bugged so TADaemon has a hissy fit when things don’t appear right to it.
Close, but no.

If there's regular background validation occurring for no good user-initiated reason, then there's definitely a bug.

That has nothing to do with "dirty" flags or bad data or anything else. This is probably confusion on the speaker's part between database repair and validation.
Chris
Well, that's a relief. I can't imagine it as being anything but a BUG... and a costly one, at that. I think we can all understand that finishing a download, or importing a CDP batch, or cross-importing fixed assets from another Trainz directory would likely cause a validation process--particularly if the software was shut-down in the middle of doing such a 'background task'--as you believe they are.

IS THAT possibly the ACTUAL CAUSAL factor here? And perhaps TADdaemon/TrainzUtil just aren't saving the partially processed validation properly, or correctly reinitializing when reading it (a state save) back in? Could this be an error-trap case in that re-start after interruption sequence? THew answer in John's case is absolutely not... he's far too often twitted for watching until TADdaemon has long finished in Program Manager or process explorer. That tells me the key to this is understanding what is triggering the long sequence of validations he's seeing, and which twice have burned me. Both of us have seen it after a QDR beyond any shadow of a doubt... THAT should tell you something!

But the answers to the below two cases by you disturbs me far more greatly! Hopefully, you've just confused the timing of when things are vexing us... // Frank

From my experience, this has happened after performing a database repair, whether an EDR (a very, very rare occurrence at that), or an QDR.
CASE-1:
Definitely valid cases for it to occur, and not considered a problem. // ChrisB

(Frank, EYES POPPING! MOUTH OPEN gasping for air, WHAT!!!!!???? AFTER A REPAIR, on the next CM launch!?? Why would a re-validation of a just validated data set be a design goal?)

Other times this has kicked in after adding assets from CDPs. I recently downloaded some content from Jointed Rail, and sure as shootin, I got a long dreaded data validation afterwards. I also got this after installing the Murchison update, or rather bug fix.
CASE-2:
Definitely valid cases for it to occur, and not considered a problem. // ChrisB

You're saying that in these two cases just to screw with us, aren't you? What maggoty-brained rationale would there be to revalidate a data base just validated in the foreground by an EDR or QDR. EVER???... OR do you misconstrue the case John's presenting which is the unexpected validation is occurring HOURS AFTER, DAYS AFTER... when a validation process has already occurred. WHY A DOUBLE TIME HIT ON THE USERS??? Why would we ever perform such if we get sandbagged the next time we load into the same kind of LENGTHY unproductive wait and delay just when we expect to play and be productive? Further, I know that particular Ten year Trainzer (Jcitron) watches his processes like a Hawk and waits until well after TADdaemon leaves the processes list and is gone for several minutes RELIGIOUSLY. See, he's a bit paranoid and burnt enough by this kind of jazz that he taught me to be similarly cautious. So we both validate shutdowns in Program Manager before doing anything that would affect that process. Waiting for these spurious 6-10 hour auto-validation or auto-EDRs is not something that makes for a happy Frank, and seems far from robust.

Further, even taking the case of the CDP's and misconstruing it to the worst case, I would assume is a missing dependency or fifteen that are NOT ON THE DLS, since it's obtaining that knowledge immediately upon loading them to the task complete API (Now that interface needs some S/W work! Can't you at least size it to show an average length whole message?). I know, I capture such into a text file... then examine any errors, disable assets if I can't fix them, and so forth. BUT, the problem is the Spurious Validation is LONG AFTER finishing, letting CM complete, Letting TADdaemon quit... then sometime later, a day or an hour, but well after... then loading and getting the SLOWS... VALIDATION... of what hasn't been validated yet??? THAT's what's driving us buggy--and I'm skyping as I write with the guy who reports those two cases... LONG AFTER, so why do we run a QDR? Hmmmm.
// Frank
 
(Continuation. 10,000 characters limit, how do I hate thee)
Anyway, if this is a programming buy, the first thing I would do, on Chris’ part would be to take a look at his “perfect” code and see what’s happening.

Again, no claims on my side that our code is "perfect", nor that our code is "my code". Are you sure it's me who is being the negative one, here? Sounds to me like somebody has a grudge.

His gut feeling is very, very wrong.
chris
The problem for you and Hilliam Chris, is the whole community keeps telling you they've got grudges and you aren't getting the why, or are remarkably slow on acting to fix such. If you think that sarcasm was tough, you don't want to hear some of the other comments. You got a taste of that in the emails. Lots of us just get fed up and leave. You know!? And from our point of view, you are the man who can do the fixing.

Maybe we should be yelling at Hilliam instead, but he's the man that saved the franchise... which leaves it's technical face, you. The forum threads were full of performance complaints last June-August. Funny, we're still seeing jerking pauses and untimely freezes... One is most often very trigger-able and very repeatable simply by zooming back to take a perspective view at a medium distance when detailing. THAT is because the auto-mapping mode-shift is set way too low. Another 500m would likely fix that aggravation -- and it bites at least 5 times a half-hour if grooming an area. Yet you guys are working on TANE, not the problems people have been experiencing since 2011. Hmmmm. I'd say the sarcasm and my confrontations are well justified. Frankly I'm tired of hearing the complaints, AND having to agree with them because they burn me too.
// Frank
 
Last edited:
You don't seem to understand that asset validation isn't validating the database, it is validating the assets so they will be properly represented in the database when they are inserted. Some of the comments make it sound like only a database is being dealt with, not actual files - meshes, textures, configs, scripts and so on.

Let's take the engine specs like I talked about somewhere above and keep the numbers small. If I open an engine spec for whatever reason and re-commit into the game, validation takes place on that asset to confirm it has no errors and a few other small things. Now, if in my installation I have 200 locomotives that use that engine, those have to be validated too. In the mean time I can probably start trainz and get into surveyor, but attempting to pull up the train list will cause a momentary freeze if those 200 are not done validating to see if they can actually use that new file I installed.

Don't misunderstand I am not saying there might not be better ways to do those things, but that is what the validation is. It is not the database itself being checked as a whole.

Also I dont see why so many would regularly do QDR and EDR if they are not needed.
 
I understand what the validation is doing, the issue (as acknowledged by Chris as well) is when it happens. Experienced users can anticipate this and work around it. If I just installed a big bunch of rolling stock then I'd do well to not touch the Trains tab when working in Surveyor, or do a "validate run" by starting up Trainz and letting it hang there for however long it likes. Novice or less informed users might thing that Trainz has actually hung, you see. Then they'll forcefully quit the sim and cause even more problems like messing up the database.

At the end of the day my suggestion is to just schedule this validation process right after assets are finished installing instead of "when required" basis, with a small progress bar would be nice as well.

Cheerio,
Nicholas
 
Well I didnt mean you specifically, but validation does start once something is installed. I agree novice user probably cause more damage than not by thinking trainz has stopped working, and this is a problem. Some information should be given about what is going on. None of that is in question.

But some going crazy by saying "I JUST DID A QDR WHY VALIDATE /begin temper tantrum" doesn't make sense and is incorrect understanding of what validation is doing that is all.
 
I understand what the validation is doing, the issue (as acknowledged by Chris as well) is when it happens. Experienced users can anticipate this and work around it. If I just installed a big bunch of rolling stock then I'd do well to not touch the Trains tab when working in Surveyor, or do a "validate run" by starting up Trainz and letting it hang there for however long it likes. Novice or less informed users might thing that Trainz has actually hung, you see. Then they'll forcefully quit the sim and cause even more problems like messing up the database.

At the end of the day my suggestion is to just schedule this validation process right after assets are finished installing instead of "when required" basis, with a small progress bar would be nice as well.

Cheerio,
Nicholas

Hi Nicky,

What a novel idea! :)

A progress bar with a message is something that would definitely help the cause as I mentioned in my post above. This would at least prevent the new people from killing their program and wrecking their data as things become "stuck" or so appears to the user. Putting this process at the end of a data import and before shutting down CM, would be the ideal point I would say.

The sad thing is I dread needing to install outside CDPs unless I have to because I know full well the validation process will kick in and nothing can be done until it finishes. This background process can and will slow down Surveyor enough at times to cause a white screen, which we know beckons people to kill the program even though it's the interface not being updated. Yes, waiting a very, very long time does usually free up the screen and mouse again, but that very, very long time is not measurable by any means. It's just a very, very long time!

The sad thing is too I see this as a detriment to 3rd-party creators who sell their wares as CDPs. With the dreaded white screen lock ups, after an new user just imported their new content, this would lead the user to think the 3rd party is at fault. This isn't good for anyone and would hurt sales, I'd think.

John
 
As they say a picture paints a thousand words and another few hours to find something else to do .....

taddaemon3-4-14_zps1ca39b6d.jpg


Off to browse the Rail simulator site to see what's been released this week :n:
 
You don't seem to understand that asset validation isn't validating the database, it is validating the assets so they will be properly represented in the database when they are inserted. Some of the comments make it sound like only a database is being dealt with, not actual files - meshes, textures, configs, scripts and so on.

Let's take the engine specs like I talked about somewhere above and keep the numbers small. If I open an engine spec for whatever reason and re-commit into the game, validation takes place on that asset to confirm it has no errors and a few other small things. Now, if in my installation I have 200 locomotives that use that engine, those have to be validated too. In the mean time I can probably start trainz and get into surveyor, but attempting to pull up the train list will cause a momentary freeze if those 200 are not done validating to see if they can actually use that new file I installed.

Don't misunderstand I am not saying there might not be better ways to do those things, but that is what the validation is. It is not the database itself being checked as a whole.

Also I dont see why so many would regularly do QDR and EDR if they are not needed.

OK, this was a bit helpful, and 'splains why I've seen this only a few times, albeit, inconvenient ones. Mostly I've been working with patching/porting assets that a promising looking route called in from on high, or others from Trainz Routes I'd never taken the time to explore. That means the dependencies I've been updating and bringing into TS12 are likely only called by that route, or just a few others. When I bring them into TS12, they've already been vetted for errors in TS09 and TS10--so little for TS12 to pout about. That also implies there aren't many of these 'new-to-TS12 assets' with dependency trees like your 200 loco engine specs. OTOH, the two times I've seen it and it bite me... were likely after I'd done some updating of things that were sleeping dogs I shoulda let lie... I'm recollecting now that I think on that, that having that happen was one reason I began being wary of updating willy-nilly when advised "Y. If it ain't broke, you don't need to fix it. Incremental improvements can usually wait.

That by the way suggests to me that blind updating of an asset when a new one is available is a crap shoot too. If one of those new versions has a widely used component it could be affecting hundreds of traincars on dozens of routes... which likely explains where John's machine has these long thinking sessions. He both updates more than me and has a lot of routes he's sampled over the years. Personally, I ignore the updates excepting only the one's for the route I plan to explore that day. It's easy enough to examine dependencies then just suck in that select few, if version apropos. Assuming I'm using Trainz 2012 that way at all, and that and an occasional Drive is all I do on TS12 right now since progressing my routes is dependent on porting missing assets.

I'm with you guys though, the priority of that background process needs a bump up and every version of CM since CMP needs a more obvious 'I'm Busy Wait Signal system'. Personally, I'd write it so it couldn't exit without going through a graceful exit/graceful death shut down sub-routine. That wouldn't help in a power loss, but would protect against a forced exit. Even Notepad++ will prevent my Windows 7 from rebooting until and unless I tell it to save or ignore the warnings. (Hint: Hey Chris, that's open source go steal some code! While you're at it steal the edit in-mid-line bits that lets one begin changing the text fields in the middle of the line for all the surveyor toolz!)

btw, norfolksouthern37 -- I've been enjoying the Mojave Subdivision-- both for ideas and driving. Had a fun 'slippery session experience' with 'The Walong Stall' a few days back. Keep up the good work! THOSE six sessions are the kind of sessions this game needs on every route...
// Frank
 
I updated a bunch of assets tonight after not downloaded any DLS assets yesterday. I had 472 obsolete items which I removed and then faced 9800 items needing validating. So much for using TS12 tonight. I found other things to do including falling asleep in my chair.

John
 
I updated a bunch of assets tonight after not downloaded any DLS assets yesterday. I had 472 obsolete items which I removed and then faced 9800 items needing validating. So much for using TS12 tonight. I found other things to do including falling asleep in my chair.

John
John! What do you mean exactly by "had 472 obsolete items which I removed" -- Do you mean Deleted? Given the squirrelly way some assets report missing dependencies for items only in their obsolete tables, not sure I'd ever do that. Let sleeping Dragons lie!

If Justin is correct about Validation, the older an item, the more likely it affects multiple routes, meaning changing that reference causes those whole routes to be re-examined cascading the number of dependency chains the database manager wants to reassure itself are still OKAY, and so adds to the list to be re-validated to be consistent and gestalt as a route. In sum, that means a multiplicity of all the hundreds of items in the affected routes change in Trainz's thinking, and need rechecked against the list needed for each of those whole route data sets. In short, an older asset affects a lot of things by a cascade effect. One change like a stone in a small pond causes lots of ripples! You of all people know how I gripe that kuid:XXX:YYY and Kuid2:XXX:YYY searching return different finds.

I suspect the QDR might catch some of those too, but I don't see it likely it thinks about the replacements (kuid2:....:+1) until it's parsing the route to load it, or perhaps in an EDR. Has anyone ever seen it fix a kuid table with a kuid2, or is that an internal database flag as I suspect? In other words, I'd expect those are checked on the fly when loading that route--at least if the old kuid is still in house, but if you are deleting them... not in this case--you're forcing it to resolve a missing kuid it knows it had... Can anybody confirm or blow up this reasoning?

Archive the sucker, disable it maybe, but a batch delete??? You are a braver man than me. Stable is good, Nice Trainz. Pretty plehlease keeep purring. I so miss my spare time when you snarl! Nice kitty... errr Apps. (sorry, get confused before finishing me first cup o'caffine) // Frank
 
I updated a bunch of assets tonight after not downloaded any DLS assets yesterday. I had 472 obsolete items which I removed and then faced 9800 items needing validating. So much for using TS12 tonight. I found other things to do including falling asleep in my chair.

John

Hmm something definitely different happening to different people.

TS12 SP1HF4 + DLC.
Monday I did my monthly update and install of new items I can use, I'm on a 15GB data cap so tend to leave such things for whatever data I have to use up! Anyway amounted to around 100 items, all installed validation was around 150 ish and all over within in a minute or two of he last item being installed. I have a duplicate install on a mechanical disk and the longest validation that has had was about 15 minutes. Mostly I just use a file sync program which avoids the issue completely.

Then I decided to clean out the obsoletes, 1500 of them, had 1700 validations, took a couple of minutes, I use SSD's which helps also most of my validations happen in multiple cmd windows not just one, mentioning that as some seem to be stuck on the one window and presumably thread?

Point being, the only time I have had an all assets validation since HF4 was after I pulled out the wrong plug with CM running.

There has to be some reason why some are getting the extended validation issue and some are not?
 
Frank, Is that why, when I have found that trainz has deleted my DLC stuff, because I have gone over the time limit for the DRM, I get roughly 25,000 validations? Is it because the missing DLC kuids will impact on all the routes I have DLC kuids added to them? Does this mean that, if there is just one DLC kuid in a large route I am making, it will go-ahead and validate everything in that particular route?

Much regards Jonathan.
 
Last edited:
Back
Top