Creation Sharing Cesium For Tsw 6 Editor V1.0

Discussion in 'PC Editor Discussion' started by trainsimcz, Nov 20, 2025.

  1. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    25.11.2025
    Here is first version of Cesium for Train Sim World Editor: https://www.trainsim.cz/?mod=article&showid=2858

    To install, just extract the zip file into root of the editor folder (not inside the TS2Prototype folder) - basically into the folder where is those .bat files (RunPublicEditor.bat, ...). Run the install.exe, it will extract the files and add important lines into config files. Later i will release just patcher which will update those config files after each editor update.

    Enjoy :)



    As i was using Cesium under unofficial TSW editor then my task was easy -> port that Cesium into the TSW 6 editor. Took me some time, tons of crashing, changing the code, but im finally close. It still crash sometime with no reason but its already working version. Once i will finish the stable version i will share that nice plugin, its very usefull for route builders.

    Here is just screen from TSW 6 editor and working Cesium plugin.
    [​IMG]
     
    Last edited: Nov 25, 2025
    • Like Like x 8
    • Helpful Helpful x 8
  2. Volodymyr Romaniuk

    Volodymyr Romaniuk New Member

    Joined:
    Mar 2, 2025
    Messages:
    11
    Likes Received:
    4
    Cool! What does it do specifically? Is it some automation tool or what?
    Personally, I have been thinking of starting a very difficult project of creating an AI-automated systems for transforming a well recorded video of a train or terrain into a 3D modeled graphical representation for UE4.
     
  3. KrisKol

    KrisKol Active Member

    Joined:
    Apr 2, 2023
    Messages:
    169
    Likes Received:
    100
    This is VERY useful. Thanks for this, I will be looking out for it
     
  4. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    • Like Like x 2
    • Helpful Helpful x 2
  5. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    Nothing worked. Has anyone managed to install it?
     
  6. cjenn30

    cjenn30 New Member

    Joined:
    Aug 21, 2021
    Messages:
    2
    Likes Received:
    2
  7. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    Can you try redownload ? The first installer was messed up.
     
    • Helpful Helpful x 1
  8. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    error
    "Plugin 'Cesiu ForUnreal' Failed to load because module 'CesiumRuntime' could not to be loaded. There may be an operating system error module may not be properly set up"

    Which version of Cesium should I download from GitHub?
     
  9. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    That error message was after installing the cesium from my page ? If not than i can say that Cesium from github will not work. If that was from my page then i will have to look what is wrong with installer because when i test it on my editor it worked fine.
     
    • Helpful Helpful x 1
  10. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    Yes, this error appeared after installation.
     
  11. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    Its strange because i just did fresh reinstall of editor and install that plugin from that installer and its all working.

    It got already couple of downloads and nobody report anything like that. So wonder if anybody got the same problem ?
     
    Last edited: Nov 25, 2025
  12. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    I also tried reinstalling the editor and reinstalling Cesium from your website, but the error returned when I launched the editor. I'll wait for a solution.
     
  13. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    trainsimcz what version of cesium did you use initially?
     
  14. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    • Like Like x 1
    • Helpful Helpful x 1
  15. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    Latest which support UE4 4.26
     
    • Like Like x 1
    • Helpful Helpful x 1
  16. vladcob

    vladcob New Member

    Joined:
    Aug 26, 2023
    Messages:
    12
    Likes Received:
    0
    Now the editor with Cesium is working! Thank you very much! Some errors still persist when launching the editor itself. There are also crashes when opening a custom route and Cesium.
     
    • Helpful Helpful x 1
  17. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    There will be always some errors as everybody got different stuff in editor, but so far its stable, not crashing, tried my best to make it stable for the first release. I know that there is some crash when you close the editor, i will fix that but im looking to add there some more features too.
     
    • Like Like x 1
  18. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    • Like Like x 1
  19. cjenn30

    cjenn30 New Member

    Joined:
    Aug 21, 2021
    Messages:
    2
    Likes Received:
    2
    Ok I've updated and it works now.

    Thank you
     
    • Like Like x 2
  20. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    371
    Likes Received:
    521
    I want to thank you for adding this tool to what we can do with the PC Editor. Unfortunately, I couldn't get it to generate any assets, at least not where I could see them. This is possibly down to a geo-referencing or camera error (I've never used Cesium) but before I could troubleshoot this, I tired to delete some of the Cesium assets I had created, resulting in a crash, and now I get a crash every 3 minutes or so regardless of what I try to do with Cesium, so for now I'll have to disable the plugin in my editor.

    For buildings, I'll go back to using BlOSM plugin for Blender, which will at least produce groups of dummy buildings (which was my main use-case for Cesium) that I can further develop, then (ugh) manually place when I export them.
     
  21. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    Did you setup geo references in CesiumGeoreference ?? Without that Cesium dont know what to generate. And you need to have account on Cesium page, get the API key there and use it in your Cesium.
     
    • Like Like x 1
  22. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    371
    Likes Received:
    521
    Thanks for the suggestions! I may not have set up my Cesium account correctly. I did have a Georefence, but it is possible that my sea level correction was way off. I'm not going to chase down the issue since I have an alternative for what I needed Cesium to do, but those are some things that anyone else not seeing anything generate might want to check.
     
  23. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    371
    Likes Received:
    521
    I tried to download the installer again today and I got a 404-file not found message. The reason I mention this is that the PC Editor itself had an update today, and since I had tried your Cesium plugin before, it put up that "could not find Cesium runtime" error and would not launch the editor.

    Luckily I found the copy of your plugin that I had downloaded several months ago, so I was able to get my editor working again, but I was hoping you could fix your download link, as others who have tried the plugin, and gotten the latest PC Editor update, may not be so lucky. I will put this in a conversation as well, to be sure you don't miss it.

    Thanks!
     
    • Helpful Helpful x 1
  24. KrisKol

    KrisKol Active Member

    Joined:
    Apr 2, 2023
    Messages:
    169
    Likes Received:
    100
    Yeah, I can confirm that it crashes the editor.
     
  25. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    522
    Likes Received:
    2,069
    Ok basically when editor update it change .uproject file, and some other module files so it remove the links to the extra modules. So you should still have extracted data.pkg and install.exe under your editor folder, just run the install.exe again and it will reinstall the module with modding the files again. That is always problem with editor updates. I will make a tool which will just mod the files only without any instalation if you already install the module before as they are not geting removed from the folders, they are still there just they are deactivated from the module files.
     
    • Like Like x 1
  26. KrisKol

    KrisKol Active Member

    Joined:
    Apr 2, 2023
    Messages:
    169
    Likes Received:
    100
    I noticed the files were still there, But just removed from the project file from the editor update.
    I just reinstalled from the archive, and all was right again.
     
    • Like Like x 1
  27. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    371
    Likes Received:
    521
    I think the install files must have still been there for me too, but I didn't think to check because of the mild state of panic I was in because of the Editor not loading, and then not being able to re-download the Cesium plugin, which was my first instict, due to the 404 error.
     
    • Like Like x 1

Share This Page