Tutorial Guide For The Mod Manager

Discussion in 'PC Editor Discussion' started by dtg_will, Oct 1, 2025 at 12:49 PM.

  1. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    Hello,
    I wanted to share some details on how the new mod manager works for anyone using the TSW6 Public Editor, this will hopefully make the process of getting mods into the game simpler compared to the previous fairly complicated process for cooking and packaging a mod.

    Mod Manager
    The Mod Manager is a window in the public editor that is used for defining mods. Mods must be defined here for them to be cooked or for a mod to be loaded by the Add-On Manager when using Play-In-Editor.

    upload_2025-10-1_12-40-53.png

    Once opened a new mod can be created by clicking on the green ‘+ Add New’ button:

    upload_2025-10-1_12-40-53.png

    A mod definition contains four values:
    Name – The internal name for the mod.
    Display Name – The name of the mod shown to the player (Currently unused)
    Plugin Names – This is a list of all plugins that the mod contains. Plugins listed here will be cooked and packaged in the mod.
    DLCDependencies – This is a list of all DLC that must be mounted before the mod can be mounted.

    upload_2025-10-1_12-40-53.png

    Once saved the plugins listed in the mod will get cached by the Add-On Manager if playing in-editor. The cook button on the toolbar of the Mod Manager can also be used to export the mod to a .pak file that can be used by the game.

    Alternatively Mod Definitions are stored in JSON and can be manually edited. They are in:
    TrainSimWorldPCEditor\TS2Prototype\Mods


    Pressing ‘Cook’ and then ‘Start Cooking’ will start the cooking and packaging process. When complete if successful the .pak file can be found in: TrainSimWorldPCEditor\TS2Prototype\Saved\ModStaging

    This folder can be opened by pressing the ‘Open Output Folder’ button at the bottom of the cook window.
    upload_2025-10-1_12-46-12.png

    After cooking the output folder should look something like this:
    upload_2025-10-1_12-40-53.png

    DemoRouteMod.pak is the completed mod in the example above and this would be the file that can be placed in the UserContent folder for the game to load:
    Documents\My Games\TrainSimWorld6\Saved\UserContent\

    There are also some batch files for rebuilding the mod without needing to go back into the mod manager in the editor:

    Rebuild PLUGIN_NAME Package.bat – Will recreate the .pak file using the files in the ‘Files’ folder.

    Recook and Package PLUGIN_NAME.bat – Will recook all the assets, regenerate the ‘Files’ folder and create a .pak file.
     
    • Like Like x 8
    • Helpful Helpful x 2
  2. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    159
    Likes Received:
    339
    Thanks for this.
    As you will see from my post elsewhere the Play In Editor mode seems to be broken in my TSW5 Editor.

    Is the TSW6 Public Editor available yet and if so how can I access it ? I have installed the game on Steam but cannot find the new Public Editor in the Epic Games launcher.
    Thanks for your help.
     
  3. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    It should be available on the Epic Store, if you go to the Train Sim World 6: Standard Edition page and scroll to the Editions area it should be at the bottom.
     
    • Like Like x 2
  4. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    159
    Likes Received:
    339
    Thank you - my mistake - I have now downloaded it successfully.
     
    • Like Like x 1
  5. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    159
    Likes Received:
    339
    Regret I spoke too soon. I have now installed the editor (twice) and verified but Launch immediately fails with a message "Unable to launch PC Editor".

    Is anybody else having this trouble ? I am checking on my AV software in case this is blocking the program in some way.
     
  6. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    150
    Likes Received:
    86
    I cannot start the editor and keep getting the following error message:
    upload_2025-10-1_18-32-50.png
     
  7. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    I think there is currently an issue launching through the Epic launcher. Once installed you'll need to go to the install directory and edit the 'RunPublicEditor.bat' file to contain just the following:
    start %~dp0TS2Prototype\Binaries\Win64\TrainSimWorldPublicEditor.exe TS2Prototype -Installed

    Then try running 'RunPublicEditor.bat
     
    • Like Like x 2
  8. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    159
    Likes Received:
    339
    Thanks once again for your prompt reply.
    I have followed your suggestion and the Editor has successfully launched.
    I will set up a shortcut to the "RunPublicEditor.bat" file (Run as Administrator) to save time in future.
     
  9. NW 1218

    NW 1218 Member

    Joined:
    Aug 26, 2020
    Messages:
    47
    Likes Received:
    33
    This is the current state of affairs attempting to launch the PC Editor. Yes, I've verified the install already. Once getting into the BAT files, I receive the "MagicLeap" plugin error the same as above.
     

    Attached Files:

  10. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    You'll need to edit the 'RunPublicEditor.bat' file to contain just the following line:
    start %~dp0TS2Prototype\Binaries\Win64\TrainSimWorldPublicEditor.exe TS2Prototype -Installed

    Then launch from the ''RunPublicEditor.bat' file rather than the Epic launcher for now.
     
  11. NW 1218

    NW 1218 Member

    Joined:
    Aug 26, 2020
    Messages:
    47
    Likes Received:
    33
    Very good. I've taken care of that, run the BAT file and now receive this wonderful error.
     

    Attached Files:

  12. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    Is the bat file in the same folder it was in originally? There should be a TS2Prototype folder there and the command in the bat file will need to be exactly 'start %~dp0TS2Prototype\Binaries\Win64\TrainSimWorldPublicEditor.exe TS2Prototype -Installed'

    Both the bat and TS2Prototype folders should be in the TrainSimWorldPCEditor folder. If all that is correct I'm not sure what would cause that error.
     
  13. NW 1218

    NW 1218 Member

    Joined:
    Aug 26, 2020
    Messages:
    47
    Likes Received:
    33
    Shockingly enough, this fixed my problem. I had to create a shortcut of the TrainSimWorldPublicEditor exe and follow these steps:

    1: Navigate to <Your install directory>\TrainSimWorldPCEditor\TS2Prototype\Binaries\Win64
    2: Create a shortcut to the TrainSimWorldPublicEditor exe
    3: add 'ts2prototype - installed' after the quotation marks (without the 's)
    4: launch from this shortcut
     
  14. bernhardjocke

    bernhardjocke Member

    Joined:
    Oct 10, 2021
    Messages:
    40
    Likes Received:
    19
    i got it thanks lot its works now :D
     
  15. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    312
    Likes Received:
    484
    made the .BAT file:

    start %~dp0TS2Prototype\Binaries\Win64\TrainSimWorldPublicEditor.exe TS2Prototype -Installed

    this .BAT now works for me, but first I had to eliminate some spaces in the filepath (name of the folder I installed the editor in!)
     
  16. bernhardjocke

    bernhardjocke Member

    Joined:
    Oct 10, 2021
    Messages:
    40
    Likes Received:
    19
    Buliding Mod Failed i got error log windows fatal error callstack icant not cook
     
  17. Cygnific

    Cygnific Well-Known Member

    Joined:
    May 26, 2018
    Messages:
    255
    Likes Received:
    343
    I tried to cook a few textures and it creates the .uasset, ubulks, uexp but no .Pak file. (Create and compress PAK are tagged)

    Edit: Another problem is the rebuild**.bat created doesn't include "" in the folder location of Epic Games. It needs "" due to using a space in the folder name.

    Code:
    E:\Epic Games\TrainSimWorldPCEditor\Engine\Binaries\Win64\UnrealPak.exe E:\Epic Games\TrainSimWorldPCEditor\TS2Prototype\Saved\ModStaging\MyMOD.pak -create="E:\Epic Games\TrainSimWorldPCEditor\TS2Prototype\Saved\ModStaging\responseFile" -compress
     
    Last edited: Oct 2, 2025 at 7:30 PM
  18. dtg_will

    dtg_will New Member

    Joined:
    Wednesday
    Messages:
    7
    Likes Received:
    14
    I see, that's annoying. Thanks for letting me know, I'll create a ticket for the path space issue in the bat file.
    It'll only go onto create a pak if there are no errors during cooking, so that may be due to an issue with an asset its trying to cook. Although if it generates all the cooked assets that you need, it should be possible to package manually after.
     
    • Like Like x 1
  19. ffabio89

    ffabio89 Well-Known Member

    Joined:
    Aug 15, 2020
    Messages:
    298
    Likes Received:
    290
    I've got the same problem, here my solution (with credit to someone on discord for the first part):
    1: Navigate to <Your install directory>\TrainSimWorldPCEditor\TS2Prototype\Binaries\Win64
    2: Create a shortcut to the TrainSimWorldPublicEditor exe and put where you need
    3: open the property of that file and add 'ts2prototype - installed' at the end of the path of the file, remember to remove the quotation marks (so without the 's)
    4: launch from this shortcut

    Also, verify to not have any spaces in the path, every folder need to be a unique name or insert "_" to replace spaces
     
    • Like Like x 1
  20. Perks390

    Perks390 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    370
    Likes Received:
    443
    When creating/cooking a timetable, do I need to fill in all the DLC dependencies for every DLC used by the timetable or just the bare minimum (the base route) the timetable requires?
     
    • Like Like x 1
  21. ScottN

    ScottN Active Member

    Joined:
    Sep 1, 2020
    Messages:
    228
    Likes Received:
    138
    I can’t get my editor to load
     
  22. Cygnific

    Cygnific Well-Known Member

    Joined:
    May 26, 2018
    Messages:
    255
    Likes Received:
    343
    People, this is about the MOD-Manager, not about loading the editor or other issues. I get alerts from new posts and 90% are offtopic!
     
  23. ScottN

    ScottN Active Member

    Joined:
    Sep 1, 2020
    Messages:
    228
    Likes Received:
    138
    I did cooking and it says building mod failed does it always do that?
     
  24. Cygnific

    Cygnific Well-Known Member

    Joined:
    May 26, 2018
    Messages:
    255
    Likes Received:
    343
    Works fine here (except the recook .bat that has a problem) Did you tag the mods content to be build?
     
  25. ScottN

    ScottN Active Member

    Joined:
    Sep 1, 2020
    Messages:
    228
    Likes Received:
    138
    Yes I did and had some mods that were not from the game
     
  26. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    150
    Likes Received:
    86
    Is there a specific order to follow when entering the "DLCDependencies"?
     
  27. Cygnific

    Cygnific Well-Known Member

    Joined:
    May 26, 2018
    Messages:
    255
    Likes Received:
    343
    What are you trying to build/cook? And what do you mean with 'had some mods that where not from the game'?
     
  28. ScottN

    ScottN Active Member

    Joined:
    Sep 1, 2020
    Messages:
    228
    Likes Received:
    138
    i got mods from train sim community their website and i'm trying to make a scenario.
     

Share This Page