Juddering and disappearing road traffic when loading shapes and textures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
High
|
James Ross |
Bug Description
I have noticed that I am getting the warning that some of the STF file was not parsed, and at the same time I get a lot of screen judder, similar to the MSTS file load judder.
The warnings show which world file is not fully parsed and the line number involved. Without exception the line number is the EOF closing bracket with the following line having ERROR: **** Unknown Message-Definition ('Msg100','en') ****
When this happens there is also a 50% chance that road traffic disappears as well. Not the single vehicle hitting the end of the spawner track, but all traffic in view in both directions.
I have looked at the Wfile.cs and see that there is code there to stop this from happening, but it does not pick up lines like that shown above.
Mervyn
Changed in or: | |
assignee: | nobody → James Ross (twpol) |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- Some of this STF file was not parsed ( World files ) + Juddering and disappearing road traffic when loading shapes and textures |
tags: | added: performance |
Changed in or: | |
milestone: | 0.9 → 1.0 |
Changed in or: | |
status: | Fix Committed → Fix Released |
The warning reported is correct - and useful if you accidentally have an extra ")" in your file - so I would rather not work around that. Code that currently exists to skip to the end of the file is bogus IMHO.
We are going to have to work out why the road traffic disappears - that should not happen. Likewise, the stuttering should not be happening, though it might be a consequence of outputting log messages, which could make it a tricky problem to solve at this time.
Please try running with logging disabled and see if that makes any different to either of these issues.