Possible to use DLC-tracks in devmode?

Discussion in 'Modding' started by Bjørn, Aug 14, 2020.

  1. Bjørn

    Bjørn Registered

    Joined:
    Oct 4, 2010
    Messages:
    1,821
    Likes Received:
    919
    Is this possible? I haven't succeeded.
    Will it be possible, ever?
     
  2. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Yes, completely possible.

    Best to extract the MAS files that you can, and edit the .scn files to reference the MAS files you can't extract. Set it up just like a normal devmode track other than that.

    *edit with tag in case you aren't watching the thread...
     
    Last edited: Aug 14, 2020
  3. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Here's some screenshots for Sebring.

    Sebring folder, the locked MAS files in there, folders for each of the layouts whose MAS files you can extract:

    [​IMG]

    Inside the layout folders, Johnson Club in this example, all the extracted files and that's the .scn file....

    [​IMG]

    ... which I've edited like so:

    [​IMG]


    (you can also get it running without extracting anything, but it does interesting things like stopping you using any external cams)
     
    Emery, Gilles Benoit, Corti and 2 others like this.
  4. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
  5. Bjørn

    Bjørn Registered

    Joined:
    Oct 4, 2010
    Messages:
    1,821
    Likes Received:
    919
    I didn't think it was possible...

    I've previously been able to just straight copy/paste track folders from the installed/locations folder straight into devmode-locations...
    No problem, track cams only working if the cam file was extracted...
    This didn't work with the DLC-tracks, they'd CTD upon load... But now I know there is a way, Thanks @Lazza, I'll have to look deeper into it.
    I need the Le Mans track mostly...
     
  6. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    McFlex likes this.
  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,958
    Likes Received:
    2,808
    It depends.
    If a Track has no different Layouts, there is no need to create a Main Folder.
    In the End, it only is important, that the Link to the TDF in the GDB, matches the Position of the TDF, that it can be found.
     
  8. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Sure. Perhaps I should have said the .tdf goes in the common folder rather than the layout folders, unless there aren't any layout folders. Then it still goes in the main folder because there aren't any layout folders.

    It also only works when 1+1 still equals 2, the computer the files are on uses binary to represent ASCII encoding, etc.


    I notice Joesville in devmode uses a layout folder despite having only one. It seems a logical thing to do - nothing needs to move if you happen to add a layout later, things like .gdb references to .tdf files all follow the same pattern, etc. But obviously specifics may require some other action. I'll do a full list of 'if-then's later, so no one need think for themselves or learn anything.
     
  9. ben willis

    ben willis Registered

    Joined:
    Dec 11, 2014
    Messages:
    26
    Likes Received:
    9
    Hi @Lazza

    Trying what you have suggested to edit the cut detection at the new Donington DLC track. Unfortunately every time i try and load the track in dev mode i get a CTD. Ive added the mas files to the scn file as sugested, and placed the tdf file in the main track folder. Ive attached screenshots of what the scn and my track folder look like.

    Thanks in advance!

    donny folder.PNG donny scn.PNG
     
  10. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    @ben willis the folder should be DoningtonNational, not layoutNational, I think.
     
  11. ben willis

    ben willis Registered

    Joined:
    Dec 11, 2014
    Messages:
    26
    Likes Received:
    9
    Thanks for the suggestion, gave that a go but unfortunately still no change
     
  12. Felix Schendel

    Felix Schendel Registered

    Joined:
    May 31, 2014
    Messages:
    132
    Likes Received:
    83
    The path of your track specific Mas files is wrong and the assetsMaterials.mas path is missing.
     
  13. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Hi @ben willis .
    The assetsMaterials.mas is missing in the SCN file.
    I suposse that exists a DoningtonNational.mas. Have you extracted it to the DoningtonNational folder?
    The same with the layoutGP and the rest of layouts (if there are more)
     
  14. Manfredk2

    Manfredk2 Guest

    Why so complicated? Just copy the whole Donington folder to moddev/locations. Copy the three mas-files from 1.01 to 1.00, delete the 1.01 folder and then open both Donington-layouts in devmode. Happy AIW-editing

    Screenshot 2022-06-21 185301.jpg
     
    vava74 and McFlex like this.
  15. ben willis

    ben willis Registered

    Joined:
    Dec 11, 2014
    Messages:
    26
    Likes Received:
    9
    Thanks all for the various suggestions, have now got this working in aiw editor. Any ideas how to package an updated layout mas? What files need to go in the subsequent 1.02 update and does it need to have a minimum build set in the mas rfcmp tool? Tried creating an update with the two layout mas files and the shared mas similar to v1.01 package, then making it dependant on the base 1.00, but if i run this on the rfactor dedicated server, i get a gmt error saying HorizonWrap.gmt is missing? Any ideas?
     
  16. Manfredk2

    Manfredk2 Guest

    filename and version number 1.01a are only examples
    Screenshot 2022-06-24 181528.jpg
     
  17. ben willis

    ben willis Registered

    Joined:
    Dec 11, 2014
    Messages:
    26
    Likes Received:
    9
    This worked perfectly, thanks!
     
    Manfredk2 likes this.

Share This Page