Replacing a track gmt file

Discussion in 'Track Modding' started by DelayedMeteor43, Jul 16, 2020.

  1. DelayedMeteor43

    DelayedMeteor43 Registered

    Joined:
    Aug 6, 2019
    Messages:
    11
    Likes Received:
    0
    I want to replace a certain gmt model with my own custom one for an existing track that's already in the game. After packaging the mod I try to load it in game, but suddenly the game crashes over halfway through the loading screen with no errors. Is there something I'm missing or doing wrong?
     
  2. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    7,724
    Likes Received:
    3,294
    Did you repackage the track with a new name etc? You can't modify the existing content.

    Try creating a trace file. Does it work in devmode?
     
  3. Mauro

    Mauro Registered

    Joined:
    Oct 14, 2011
    Messages:
    1,641
    Likes Received:
    2,369
    You have to edit track.scn too

    Cut old .gmt string and add new object .gmt string

    P. S. Before that i suggest to use devmod for track modding. You can simply cut, add, edit track and load it in game without package files
     
    Last edited: Jul 16, 2020
  4. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    2,959
    Likes Received:
    284
    What is a track gen file? Tracks have SCN files (for objects) and GDB (for track information).
     
  5. Mauro

    Mauro Registered

    Joined:
    Oct 14, 2011
    Messages:
    1,641
    Likes Received:
    2,369
    Yes .scn sorry

    .gen is for cars
     
  6. DelayedMeteor43

    DelayedMeteor43 Registered

    Joined:
    Aug 6, 2019
    Messages:
    11
    Likes Received:
    0
    Step by step, how would I go about that?
     
  7. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    84
    Likes Received:
    278
    Go here: https://www.studio-397.com/modding-resources/
    And find those to read:
    > Packaging Tutorial v1.0
    > Track Technology v3.0
    > Cheat Sheet

    You need to learn about track folder structure, and extract everything accordingly (check track SCN file for correct folder name), best in ModDev folder, so you can test it.
    There are many tutorial in the first thread of this forum section: Track Modding Resources/Tutorials/Scripts/Plugins

    PS: Trace file created under rFactor 2\ModDev\UserData\Log, but not everything is logged, many things can lead to crash.
     

Share This Page