Creation Sharing Tsw 5 - Editor Cooking And Paking V2.1

Discussion in 'PC Editor Discussion' started by trainsimcz, Sep 28, 2024.

  1. rex#8068

    rex#8068 New Member

    Joined:
    Jun 1, 2023
    Messages:
    4
    Likes Received:
    0
    Thanks for the tips. I did find a workaround for the tsw5 editor on this forum somewhere. To cook timetables using other dlc with the cz tsw5 editor, I create a new layer which references the required dlc. Add the services to that layer and boom, you're away.

    I also find sometimes the cz tsw5 editor doesn't link the simulated datatracks to the timetable, but if I open the editor with the standard launcher it does. So after running simulation, I'd open in the vanilla editor, close and then open the .bat launched editor to cook.
     
  2. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    503
    Likes Received:
    2,015
    What are you talking about ? There is nothing like cz tsw 5 editor... if you are talking about my cooking mod then its just extra module for the editor and its has nothing to do with data tracks. Data tracks are added automatically to the timetable once the simulation is finished.
    And then there is already new version which is not adding own DLL files but its using original editor ones. Sometimes you should really check the czech page: https://www.trainsim.cz/?mod=article&showid=2820 as i dont post every update here.

    And chance that something is skipped and not added -> in that cooking editor zip file there is some plugins, if you own some of those DLCs then you dont copy those plugins into the plugin folder because sometimes the .pak is ignored, showing wrong path and its using the one from plugin folder in editor... those plugins are there only for proper cooking because there was sometimes error that some plugin is missing.
     
  3. RobertSchulz

    RobertSchulz Well-Known Member

    Joined:
    Oct 10, 2023
    Messages:
    1,863
    Likes Received:
    2,613
    So I came to the point, where I needed to reinstall my Editor because of some problems caused before and now my decision to finally upgrade your cooking mod from version 2.0 was it I think to the latest one and also I want to try your our newly released Timetable Decooker.

    Now I noticed that quite a lot did happen and somehow information got missed here in the forum as I took a closer look at your webpage trainsim.cz.

    For example, that you apparantly combined your new timetable decooker with cooking and distribution tools to alltogether version 2.3. But even before that, there was patch version 2.2 (which was not mentioned in this thread), which has 2 (but in fact even 3) very significant changes for your Editor cooking and distribution mod, which should make it so much better than before but noone really mentioned and I don't why.

    1. It seems you solved the problem that the cooking and distribution buttons disappeared after Editor update by Epic Games. This would really be great, since I had a lot of problems with that.

    2. The annoying process of removing all custom created plugins from the Editor and removing all mod paks from the Game files in order to generate the AssetRegistry.bin file. I always hated that process and before I was unsure whether I need to generate new AssetRegistry file after Editor update problem as described in 1. or installing new game DLC content. I'm still unsure about that. However, if AssetRegistry file creation would not be necessary anymore, this is a huge improvement.

    3. Size of the zipped folders has now shrinked from 110 MBytes (version 2.1) to 6.2 MBytes (version 2.2/2.3), which is not only a huge reducement but also quite astounding since it even should have added the Timetable Decooker files. How is that possible?

    Can you confirm that the TSW Editor cooking tools now will work in the same way as before?

    Also a few tips. Might be worth to update this thread with information about the new versions. Don't think it's good idea to continue information about Editor Cooking and Distrubion now only on Timetable & Simugraph decooker thread, as both being to complex and people would mess up threads with questions regard either of them that others couldn't look over.
     
    Last edited: Mar 15, 2025
  4. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    503
    Likes Received:
    2,015
    1. i dont think it solve the problems that cooking and distribution button disappeared after editor update. Maybe its not vanishing but you still need to copy the whole cooking mod over the editor after every udpate, because some uplugin and uproject files got XSX and other platforms which are not for PC and cooking will not start if they are not replaced.

    2. yeah you dont need to generate AssetRegistry.bin anymore, i added nulled file there just so editor can check its there but you dont have to regenerate it over and over again. So no more removing all mods before regenerating. Thats why i even remove those .bat files.

    3. size dropped because cooking is now using original editor .dll files so i dont have to include extra .dll files which makes the zip file before bigger. Now it just include .dll for cooking and .dll for decooking.
     
    • Like Like x 1
  5. shuisoi

    shuisoi New Member

    Joined:
    Mar 11, 2025
    Messages:
    1
    Likes Received:
    0
    Hello!
    When I cook, I get the following error message:

    UATHelper: Cooking DB612Reamp (Windows): LogInit: Display: LogCook: Error: Engine or Game content ../../../TS2Prototype/Plugins/DLC/DCZ_DB_BR612/Content/Data/RailVehicleDefinition/RVD_DCZ_DB_BR612_B.uasset is being referenced by DLC!

    What`s the problem?
     

    Attached Files:

    • Log.txt
      File size:
      103.8 KB
      Views:
      0
  6. classthrash#2930

    classthrash#2930 Active Member

    Joined:
    Jan 13, 2024
    Messages:
    106
    Likes Received:
    26
    Hi, I've been trying to cook with TSW 5 Editor with Czechsim 2.3 a test timetable due to the problems i was having with my original timetable.
    i've made a UK test timetable that has one item of stock from every UK route (even electric as static items)

    Listed all UK DLCs as dependency's when packaging Test Timetable Class 08 options.jpg Leeds-Man 08.jpg Tees Valley 08.jpg Test Timetable Class 08 options.jpg Leeds-Man 08.jpg Tees Valley 08.jpg SimulatedTT01.jpg SimulatedTT02.jpg :

    BRClass700,BRHeavyFreightPack,CrossCityLine,DarlingtonSaltburn,DSNClass20,DSNClass31,EastCoastMainline,EastCoastway,ECWClass313,GlasgowCathcart,GlossopLine,LeedsManchester,LondonBrighton,LondonFaversham,MMLLeicesterDerbyNottingham,PeakForestRailway,PenzanceTruro,PrestonBlackpool,TSW2PaddingtonReading

    In my test timetable i have a class 08 service which is using standard class 08 (that comes with the route, leeds-manchester) , if i select to drive this version of the Class08 the only services that show are 2 Blackpool services (class 142 / intercity 47)?

    if i select to drive the Tees Valley 08, now i have 2 x Tee valley assets, Class 31 and Class 37 trains populate as well!!!!

    I'm not a coding expert but it seems to be a issue with the dependency interaction / recall /loading process?????

    None of the other UK dependency's are visible.

    All of the selected trains are standard with the exception of a MML Class 43.

    I've included screen shots of game and simulated versions of the timetable

    Can someone please help!
     
  7. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    142
    Likes Received:
    83
    I always get the following error message:

    (Windows): ERROR: The platform name XSX is not a valid platform name. Valid names are (Win32,Win64,HoloLens,Mac,XboxOne,PS4,IOS,Android,HTML5,Linux,LinuxAArch64,AllDesktop,TVOS,Switch,Lumin)


    Does anyone know how to fix this?
     
  8. classthrash#2930

    classthrash#2930 Active Member

    Joined:
    Jan 13, 2024
    Messages:
    106
    Likes Received:
    26
    Have you selected the platform for the timetable ?
     
  9. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    142
    Likes Received:
    83
    Where do I do that?
     
  10. trainsimcz

    trainsimcz Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    503
    Likes Received:
    2,015
    You probably dont copy the cooking patch over the editor again, which you have to do after every editor update because DTG dont released editor .dlls for other platforms and they keep those platforms inside uproject and uplugin files
     
  11. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    142
    Likes Received:
    83
    I only copied all the files again after the last update. I don't know if it would have worked before the update, though, since I only tried it now.
     
  12. jpbxengine#2917

    jpbxengine#2917 New Member

    Joined:
    Dec 10, 2021
    Messages:
    21
    Likes Received:
    5
    Thanks for all you do, I am curious, anyone know how to fix this error?
    ERROR: Missing C:\Program Files\Epic Games\TrainSimWorld5Mod\TS2Prototype\Binaries\Win64\TS2Prototype\Binaries\Win64\TrainSimWorldPublicEditor-Cmd.exe executable. Needs to be built first.
    I tried cooking a route, and this came up
     
  13. CFTFC

    CFTFC Active Member

    Joined:
    Apr 18, 2020
    Messages:
    189
    Likes Received:
    209
     
    • Helpful Helpful x 1
  14. jpbxengine#2917

    jpbxengine#2917 New Member

    Joined:
    Dec 10, 2021
    Messages:
    21
    Likes Received:
    5
    So, I did try that, but I wont load. It goes REALLY slowly, but then around 75%, it dies and says something like "Cannot find game install location". I overwrote the files in the Epic Games folder in Program Files. Am I putting the install stuff in the wrong folder?
     
  15. CFTFC

    CFTFC Active Member

    Joined:
    Apr 18, 2020
    Messages:
    189
    Likes Received:
    209
    After installing the cooking patch did you open the game before opening the editor.
     
  16. jpbxengine#2917

    jpbxengine#2917 New Member

    Joined:
    Dec 10, 2021
    Messages:
    21
    Likes Received:
    5
    I ran the game, and the editor, and it still didnt work from the start editor file. I also tried running it as admin, but still didnt work. Heres a photo of my problem.
     

    Attached Files:

  17. classthrash#2930

    classthrash#2930 Active Member

    Joined:
    Jan 13, 2024
    Messages:
    106
    Likes Received:
    26
    ok lets go from the start,

    1) TSW editor folder, delete everything (backup any plugin's you've created before deletion)
    2) Install the editor via the epic games launcher
    3) Start editor from "official desktop shortcut"
    4) if editor crashes on lunching, this usually means there's been an update and you need to run the game first, then go back to editor.
    5) apply Czech Sim cooking patches if using
     
  18. playerjg

    playerjg New Member

    Joined:
    Jun 2, 2025
    Messages:
    1
    Likes Received:
    0
    Worked fine for me until opening up the route in game...

    It's interesting, cooking with the cz mod throws "Referenced by DLC"-Errors and says it failed to cook, distribution does still work and gives a 4 GB pakfile
    When only cooking with cz and afterwards switching to the "official" guide, creating own .ulc file and pak via UnrealPak it creates an 11 GB pakfile

    Timetable and everything (Stations in free roam, etc) are correctly imported in the game, in the main menu everything is displayed correctly. Trying to start the route in Free Roam gives me a blank blue space where i can not input anything (not even pause), trying to play a timetable Service gets me stuck in the loading screen... Anyone has any ideas why?
     
  19. classthrash#2930

    classthrash#2930 Active Member

    Joined:
    Jan 13, 2024
    Messages:
    106
    Likes Received:
    26
    DLC Errors mean nothing in the cook, just ignore them, the DLC's are handled by the plugin creation tool after cooking.

    the loading error that you mention is a result of the incorrect DLC being referenced in the packing dialog box, for example:

    PrestonBlackpool,TSW2WestSomersetRailway,DSNClass20,DarlingtonSaltburn,EastCoastMainline,

    this is my list of DLC's for my current project, only add DLCs by route name with the exception of the stand a lone addon's such as Class 20 for example, so in the PrestonBlackpool route the 142 comes with this route so i originally listed the route and the train DLC, no need, that's when i came up with loading error you have. re-cook, and package (omitting any Route bundled DLC's) and you should be good to go!
     
    • Helpful Helpful x 1

Share This Page