Tutorial Let's Cook! Guide To Cooking And Packaging Projects In The Editor

Discussion in 'PC Editor Discussion' started by DTG Alex, Sep 18, 2024.

  1. kryst4lclr

    kryst4lclr Member

    Joined:
    Dec 5, 2023
    Messages:
    52
    Likes Received:
    4
    That's the problem. I'm able to successfully cook said asset file(s) and when i go to generate a .pak file with the use of a responsefile.txt file, it creates a blank .pak file and as a result, dose not get red by the game.
     
  2. Spikee1975

    Spikee1975 Guest

    And if you use UnrealPak.exe from the UE4.26 editor? That's what I'm using. And is your responsefile setup correctly?
    2024-11-01 16_49_00-Window.png
     
    Last edited by a moderator: Nov 1, 2024
  3. kryst4lclr

    kryst4lclr Member

    Joined:
    Dec 5, 2023
    Messages:
    52
    Likes Received:
    4
    I believe so, here is my responsefile.txt | Also is my .ugc file and cook command done right?
     

    Attached Files:

    Last edited: Nov 1, 2024
  4. Spikee1975

    Spikee1975 Guest

    Responsefile is wrongly formatted the mounting point slashes must be unix style forward slashes and to my knowledge TS2Prototype should be included. That is packing a plugin under the ...\Cooked\WindowsNoEditor folder starting with TS2Prototype\Plugins\DLC\etc... where your asterix is

    Try this one:

    Code:
    "D:\Program Files (x86)\Epic Games\EpicGamesApps\Common\TrainSimWorld5MOD\TS2Prototype\Plugins\DLC\KP_3CAR_COOK_PAK_TEST\Saved\Cooked\WindowsNoEditor\*" "../../../TS2Prototype"
    
    I'm doing it a bit differently. I have a dedicated "Paking" folder where I move my modded plugins and just doubleclick my .bat file that outputs the pak in a specified output folder. No typing for me.
     
    Last edited by a moderator: Nov 1, 2024
  5. kryst4lclr

    kryst4lclr Member

    Joined:
    Dec 5, 2023
    Messages:
    52
    Likes Received:
    4
    Ok, I'll give it ago and let you know if anything happens. :)
     
  6. Spikee1975

    Spikee1975 Guest

    Not sure it works - as I said this is the setup I'm using which is my own tree of files starting from TS2Prototype\ - I'm not sure what follows in your Cooked folder, maybe the folder structure is different (haven't cooked with TSW editor yet)
     
  7. kryst4lclr

    kryst4lclr Member

    Joined:
    Dec 5, 2023
    Messages:
    52
    Likes Received:
    4
    I honestly don't know as, I've tried everything and nothing is working. Maybe there's yet another problem with official editor. I would appreciate that if someone or DTG themselves posted a tut vid on YT showing how it is done as sometimes text-based tutorials like this one may not work for everyone.

    I've already wasted 7years of my life trying to mod GTA5 with no credible gain and I'm not willing to do the same for TSW
     
    Last edited: Nov 1, 2024
  8. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    With TSW 5 editor i'm still getting the old erros!

    import failed for Bookmarks in: ((00000000000000000000000000000000
    import failed for GraphEditorQuickJumps in: ((0, ()))


    Also getting "uasset is being referenced by DLC!" errors

    Can the PC editor support team have a look at this please !

    anyone else having problems cooking like this?



     
  9. tom#4698

    tom#4698 New Member

    Joined:
    Nov 6, 2024
    Messages:
    7
    Likes Received:
    0
    When I load the packed file into the steam version and spawn nothing out of other dlcs are there. for example the platform i used from munich augsburg are not loaded this is my ugc fille:

    "DLCDependencies": [ "MunichAugsburg","DuisburgBochum" ],
     
  10. moofers#8902

    moofers#8902 Well-Known Member

    Joined:
    Dec 6, 2021
    Messages:
    341
    Likes Received:
    458
    Would be nice to have a list of the DLCs so we know what tpo put in DLC dependencies.
     
  11. randalwest#2967

    randalwest#2967 New Member

    Joined:
    Aug 15, 2023
    Messages:
    15
    Likes Received:
    1
     
  12. moofers#8902

    moofers#8902 Well-Known Member

    Joined:
    Dec 6, 2021
    Messages:
    341
    Likes Received:
    458
    I don't think its an issue now?
     
  13. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    is anyone else still getting " Error: Engine or Game content xxxxx is being referenced by DLC!"??, i'm using TSW5 editor with Czech cooking 2.2, still can't get to work!

    Help please!
     
  14. dmn#9219

    dmn#9219 New Member

    Joined:
    Feb 13, 2025
    Messages:
    3
    Likes Received:
    0
    same Mistake sadly
     
  15. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Download TSW4 , then TSW4 editor and cook way
     
  16. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Cook with TSW4 editor, you will need TSW4 game and czech cooking 1.3 installed
     
  17. ColeTheGamer2048

    ColeTheGamer2048 New Member

    Joined:
    Mar 1, 2025
    Messages:
    27
    Likes Received:
    12
    Is TSW pc editor working at all in-terms of being able to create/cook/pakage into .pak file? also should i be using official tools provided by DTG or use third party tools in-conjunction with DTG TSW5 editor?
     
    Last edited: Mar 5, 2025
  18. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    If you use "stock assets, as in unmodified assets" I believe the TSW5 editor will cook fine, but for me using "child class copys" of original assets is causing the cook to fail on TSW5, but working in TSW4 editor , something to do with DLC handling.
    I've re-skinned some stock to reflect the period I'm setting my timetable in, works fine in TSW4 editor and game , but 5 doesn't, strange.
     
  19. ColeTheGamer2048

    ColeTheGamer2048 New Member

    Joined:
    Mar 1, 2025
    Messages:
    27
    Likes Received:
    12
    Alright. Would you say that, creating a custom consist, custom scenario or timetable would work flawlessly when using TSW5 editor?
     
  20. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    as long as its not referencing another asset, yeah I suppose
     
  21. Isaak

    Isaak Well-Known Member

    Joined:
    Aug 5, 2019
    Messages:
    374
    Likes Received:
    442
    Hi everyone, I have now managed to cook and pak my MSB timetable for the first time using the steps in this thread, but it isn't showing up in game (I knew it would be a small wonder if it did from the first attempt).

    I didn't use Trainsimcz's mod, as everything seemed to work with the default cook & pak tools.

    What's a good starting point to start troubleshooting?
     
    • Like Like x 2
  22. ColeTheGamer2048

    ColeTheGamer2048 New Member

    Joined:
    Mar 1, 2025
    Messages:
    27
    Likes Received:
    12
    is anyone with more technical knowledge know why i cant get this small mod package to load in game? i even tried copying the same thing from stock file and made slight adjustments on my file but still cant get it seen in-game.
     

    Attached Files:

  23. ColeTheGamer2048

    ColeTheGamer2048 New Member

    Joined:
    Mar 1, 2025
    Messages:
    27
    Likes Received:
    12
    UPDATE:
    ive managed to sort this out with the train sim community help.
     
  24. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Is it a timetable mod or assets mod ?, timetables only show up if a) it simulates correctly with no errors, b) using standard stock
     
  25. Isaak

    Isaak Well-Known Member

    Joined:
    Aug 5, 2019
    Messages:
    374
    Likes Received:
    442
    Can you elaborate on what you mean with "using standard stock"? I am having issues with my MSB timetable not showing up ingame. I'm using probably about a hundred custom formations (that are cooked with the plugin) in my timetable. Everything seems to cook correctly, and the cook packs ok too. The timetable (about 1500 services) is simulated 100% without any warnings.
     
  26. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Are all the "custom formations" got the correct options ticked in the RVD definition , start with Drivable (for locos / cabs), is selectable, Available for user scenarios. create a separate timetable with 1 or 2 services and simulate that with those options ticked, reduce the hours in the timetable to 2 or 3 hours, good luck!
     
    • Helpful Helpful x 1
  27. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Good afternoon, I'm having a problem getting reskin trains to appear in TSW5, I'm using Czech trains 2.3 cooking tools, listing all DLC's referenced by my timetable, but none of the re-livered trains show up (static or player trains), child class unmodified trains show, and some re-livered coaches, but nothing that's had the RVV modified, how do you get modified RVVs to show in TSW5?... I'm cooking, then distributing ticking TSW5 file, clicking original content, listing all DLCs, but no modified trains are showing in game, help please!
     
  28. classthrash#2930

    classthrash#2930 Member

    Joined:
    Jan 13, 2024
    Messages:
    97
    Likes Received:
    25
    Has anyone managed to cook a route with CZ tools 2.3 using other route DCL's?
     

Share This Page