It might be worth treating with the Try -> Catch condition if the conversion of texture ace to dds fails.
Testing v8.004
Collapse
This thread is discussing the following file:TSRE - Trainsim.com Fork v8.004 | ![]() | File date: 2024-05-07 Downloads: 1852 >> Download Now << |
This topic is closed.
X
X
-
There's no "conversion" so not really sure what a try->catch would accomplish... --
It's simple logic: when loading an ACE, there's a step that checks to see if there's a DDS with the same root filename. If so, it loads it in place of the ACE.
Code:if(Game::imageUpgrade) { if(tType == "ace"){ /// check to see if DDS exists for ACE QFile file(pathid.left(pathid.length() - 3)+"dds"); if (file.exists()){ qDebug () << "DDS upgraded for " << pathid; tType = "dds"; pathid = pathid.left(pathid.length() - 3)+"dds"; } } } If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
I will fence this off from textures in the TERRTEX directory.
When I tested your scenario (adding microtex.dds), TSRE was only using about 1.2Gb of RAM.... with the fence, it fell back to 250Mb of RAM.
That fence won't prevent someone from using DDS textures as terrtex directly, it'll just block automatic substitution.Last edited by eric; 04-25-2024, 14:52.If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
Version 8.004e is available
8.004e changes
---------------------------------------------
Fences off imageSubstitute so that it will not apply to the Terrtex folder or subfolders
Warning message given if trying to rename a track or static shapefile to file that doesn't exist in the appropriate Shapes directoryLast edited by eric; 04-25-2024, 21:25.If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
Heads up, these builds are shipping with a ConsistEditor.bat that targets 8.003 specifically. (ShapeViewer.bat is fine)
Obviously won't work if you don't have the old version, but makes it very easy to think you have 8.004 installed but actually you are using 8.003.Code:start TSRE5v0.8003.exe --conedit
That said, even verifying I am definitely using the latest 8.004 version, I am still seeing a failure to correctly calculate relative paths between include files. And still no errors about missing include files, I change the name of my main include folder causing almost all include files to be missed and still no errors in the log (everything is broken though).
Contributing to ORTS since 2023
Find me on GitHub @SteelFill
Like what I do? Join my Patreon to help me do more!Comment
-
I'll need some examples to debug the include issue. Send me a pm with some samples if you can, or point me to a file here to test against. Everything with includes from NAVS and Brandon's 261 seems to be working fine.If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
Testet Version 8.004e
The version number is entered incorrectly in the editor and also in the log.
Screen Shot 04-26-24 at 08.35 AM.jpg
Screen Shot 04-26-24 at 08.34 AM.jpg
ConsistEditor.bat changed
start TSRE5v0.8003.exe --conedit
to
start TSRE5v8.004.exe --conedit
Jan
Comment
-
Okay, this solution should be fine.I will fence this off from textures in the TERRTEX directory.
When I tested your scenario (adding microtex.dds), TSRE was only using about 1.2Gb of RAM.... with the fence, it fell back to 250Mb of RAM.
That fence won't prevent someone from using DDS textures as terrtex directly, it'll just block automatic substitution.Comment
-
Noted on the batch files....
Sent from my SM-S911U using Tapatalk
If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
Non square won't render in TSRE, nor will odd numbered square textures. I'm not sure if that will be fixed or not. ORTS is fine with both.
Sent from my SM-S911U using Tapatalk
If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
The signal shape can be moved, but the red marker on the track cannot.If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment
-
How does one make the text smaller? So far that is the only "gremlin" I've come across (mind you, I haven't done any kind of update since 7.012)
- Chris N.
There's no fear for tomorrow
When there's no trust for todayComment
-
Which text?
Sent from my SM-S911U using Tapatalk
If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!Comment







Comment