Modifying a .VEH file

Discussion in 'Car Modding' started by Elisee Tape, Mar 7, 2024.

  1. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
    Hi! I've been converting (with the authorization from the original creator ) W14 mod from Assetto Corsa to rF2. I've been able to load the car in the showroom on the old UI with no issues. When I try to load it in track, I've been getting "invalid filename for texture file...". I think the error in the .VEH file. I changed the default livery to the correct "paint " but when I open the VEH on 3dsimed I can clearly see the the texture is still linked to the wrong texture map.
     
  2. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,789
    Likes Received:
    2,246
    What is the texture error? It could be in the mesh, and not related to the veh at all, veh should really only have the livery texture in it.
     
  3. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
  4. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    363
    Likes Received:
    365
    Is it possible that the WCCARBODY material is the one that changes the livery depending on the vehicle selected?

    If this is the case, check that the texture exists for that car.

    (Edit) It clearly indicates that it doesn't find the specular texture (the BMP is because it doesn't find a dds.

    Look in the folder SPECULAR.XXX, if it is not there look for a standard texture, copy it and rename it with that name.

    If you have created a JSON to assign the shaders, delete it and try without it.
     
  5. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
    Alright I will have a look
     
  6. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
    No more texture errors but still CTD...
     
  7. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
  8. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
  9. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
  10. Elisee Tape

    Elisee Tape Registered

    Joined:
    Mar 5, 2024
    Messages:
    8
    Likes Received:
    0
    Ok I made it work. I made a few mistakes and replaced the gen and spinner
     
  11. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,789
    Likes Received:
    2,246
    Yes, you were probably missing the paths in the gen file.
     
    Elisee Tape likes this.
  12. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    363
    Likes Received:
    365
    Ok, I'm glad. I hope you get it.
     
    Elisee Tape likes this.

Share This Page