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:
    521
    Likes Received:
    2,066
    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:
    7
    Likes Received:
    2
    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:
    165
    Likes Received:
    98
    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:
    521
    Likes Received:
    2,066
    • 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:
    521
    Likes Received:
    2,066
    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:
    521
    Likes Received:
    2,066
    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:
    521
    Likes Received:
    2,066
    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:
    521
    Likes Received:
    2,066
    • Like Like x 1
    • Helpful Helpful x 1
  15. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    521
    Likes Received:
    2,066
    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:
    521
    Likes Received:
    2,066
    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:
    521
    Likes Received:
    2,066
    • 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:
    331
    Likes Received:
    501
    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:
    521
    Likes Received:
    2,066
    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:
    331
    Likes Received:
    501
    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.
     

Share This Page