SOLVED Crash to desktop while leaving the track

Discussion in 'Track Modding' started by Philip00, May 20, 2023.

  1. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    Hi All,
    I have converted a track from RF1 to RF2, the track does not have any error when loading, and I can play in it without any issues, however as soon as I want to leave the track return to the main menu, the game crash to the desktop in Dev mode and in normal mode as well

    Please find attached the trace file

    Can someone help me what could be the issue?

    Thanks in advance,

    Philip
     

    Attached Files:

  2. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    Unfortunately I still couldnt figure out what is the cause of the crash to desktop when I try to return the main menu. I dont have any error when loading the map and I can play without any issues however when I try to leave the track to return the main menu it crashed to the desktop.

    Here is the link for the track if it helps which you just need to place to the moddev/location folder:
    https://mega.nz/file/JxkE1QYZ#ucP0HQsf0PuahJdbc0QrszbKp832RRbrOOP6P-9U3dc

    Also you can find attached the trace file.

    Could some one help me what could ne the issue?
     

    Attached Files:

    Last edited: Jun 4, 2023
  3. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    @Philip00 If you or soemone else, can not fix it, i can check it in a few Days or a bit later, i guess.
     
    Philip00 likes this.
  4. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    Thank you so much I really appreciate it
     
  5. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    I could make a very quick Check now already and want you to test something.
    Backup your original Melbourne98.scn and use the below linked one.
    You have to remove the .txt from the End of the File Name.
    Then load the Track and leave it again.
    Does it still crash for you?
    Here it does not.
     

    Attached Files:

  6. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    With this scn i dont have almost any object. However if I leave the track it wont crash.
     

    Attached Files:

  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    Yes, that's OK that there are only a few Objects, i just made it to start searching for the Problem. ;)
    I have seen that ALL Materials use the Suffix _WET.
    You should not do that.
    Use it only for drivable Surfaces within Racesurface gmts.
    A Pitlight Material for Example doesn't need _WET at the End of the Material Name.
    And there is an insane Amount (190) of small Racesurfaces.
    I would suggest to put them together to 15-20.
    And there is also an Insane Amount of Materials.
    It looks like a typical BTB or RTB Track.
    And a lot of these Materials are the same (same Textures, Shaders, Settings), so i would suggest to improve that too.
    Isn't there a good Melbourne rF2 Track already that you can use, instead of this one? ;)
     
  8. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    Thank you do much! I will try to do it as you suggested. We'll this is a 98 version of melbourne and I wantbyo be authentic but it's okay I like convert tracks.

    So the problem was the WET suffix?
     
  9. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    Ah, OK, the Year of the Layout is what you want.
    I can not definitely say that the _WET Suffix is the Problem or the only Problem.
    But because it doesn't crash with only the X Objects and Racesurface Meshes, it indicates that there must be something "wrong" with the Meshes/Mesh Structure/Materials......
    So start with removing _WET from all Materials that does not really need to have it and try out, if that solves the Problem already.
     
    Philip00 likes this.
  10. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    For the grass and gravel I need wet suffix right?
     
  11. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    I would suggest to use it only for Asphalt and Curbs currently.
     
  12. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    hmm I removed the _WET suffix from everywhere for a quick test but still it crashes to the desktop when leaving the track so its going to be smth else
     
  13. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    @Philip00 OK, package and upload the new Version with the modified Materials and send me the Link.
    As said, i can check it in a few Days.
     
  14. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    @Philip00 You don't have to package it for me anymore, i've found the Problem.
    I accidentally did see the *.bik File in the MAPS Folder, which was used for the Jumbo TV Screens in rF1, but that doesn't work in that Way in rF2 anymore.
    So i did use a JSON File to overwrite the Material and with that, you can leave the Track without a Crash.
    But to remove the _WET Suffixes was no wasted Time at all. ;)
    What you have to do:
    - if you didn't do it already, remove _WET from the Material TV_OVERLAY_WET, of the following Meshes:
    obj2913
    obj2914
    obj2915
    obj2917
    obj2919
    obj2921
    obj2923
    obj2925
    obj2927
    obj2929
    obj2931
    obj2933
    obj2935
    obj2937
    - Create a new Folder "Materials" as an Assets Subfolder and put the below linked JSON File into that Folder
    (you of course have to remove .txt from the End of the File Name)
    - in the SCN File add the Line MaterialPath=Melbourne98\Assets\Materials
    - try it out and report if it doesn't work for you.
    You should see the TV Screens working and the DevMode should not crash anymore, when you leave the Track.
     

    Attached Files:

    Philip00 likes this.
  15. Philip00

    Philip00 Member

    Joined:
    Jan 19, 2012
    Messages:
    116
    Likes Received:
    48
    You are a genius it works!

    Thank you so much!

    Shall I create additional material.mas fole when I create the track to ise it in "normal" mode?
     
    redapg likes this.
  16. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    I would recommend to do it, to get a better Overview/Structure, especially when you add more JSON Files for other Materials.

    BTW that Track really has an insane Amount of Objects (some are only 1 Poly).
    It has 6240 and the Nordschleife 24H Layout for Example, which is a much bigger Track, has 3071.
     

Share This Page