Installing Car in to Dev Mode

Discussion in 'Car Modding' started by Blake, Feb 3, 2018.

  1. Blake

    Blake Registered

    Joined:
    Jan 5, 2018
    Messages:
    9
    Likes Received:
    0
    Trying to install a car in to dev mode. First I just copied the folder from the main install which just caused the game to crash. Then I tried to unpack all the MAS files.

    The vehicle now loads and is driveable however is invisible. I can see a an outline. looking at AI's they are just a yellow block. Wtf have I done wrong?
     
  2. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    2,275
    Likes Received:
    389
    Hi Blake,

    Its probably (pretty sure) the .gen file; it points at where the game should look for the .gmt files and such.
    That is a bit different in devmode and it can't find it now; so the game gives you the stock thing thats in there.

    Have you got another car in devmode? Look at that .gen file to see what you should do.
    I'm always in a fight with that and can't give you a decent line for it; today line a works, tomorrow I have to use a different line (or set of lines actually) for another car.

    What I always do is leave everything in .mas files except for the main folder (.hdv, .sfx, .gen) and I just put those in between the .mas files.
    But thats because I only fiddle with these files; you can make folder from every mas file too.

    But again; you probably have default Skip Barber in your devmode; take a good look and copy ;)
     
  3. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    You can always set trace=3, and start looking at the feedback it gives you. It helps sometimes to set trace=3 in single player for something that works to acclimate yourself to the structure of the trace file ouput.
     
  4. Blake

    Blake Registered

    Joined:
    Jan 5, 2018
    Messages:
    9
    Likes Received:
    0
    Frustrating, I just went the Miata in there to create a new AIW file for Queensland raceway. Surely there could be a feature inside rfactor 2 to install in to dev mode rather than stuffing around manually trying to make it work.
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,396
    Likes Received:
    6,611
    @Blake Just follow Navigator's advice, take a look at the .gen and see what the SearchPath and MASFile parameters are set to, make sure your folder structure matches. Just the main files in the correct folder, leave the other MAS files as they are, you should be good to go.

    I don't see this as a common user need and having it much more accessible will probably create more confusion than anything else. Someone wanting things in devmode should quickly get the hang of what they need to do. IMO :D
     
  6. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,200
    Likes Received:
    1,295
    Why should they make it that easy to install someone else's work.
     
    Vance Le Garde likes this.
  7. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    He wants to create an AIW. He wants to use a different car than the skippy to create the fast path (no wonder since skippy is very different).

    He will for sure finally get it working so I don't understand your point. Unless a mod is encrypted it is actually very easy to put it into devmode so your comment is completely out of context.
     
  8. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,200
    Likes Received:
    1,295
    Yes it is easy to do so why make it easier.
    From what I read he wants to ADJUST an ai from Queensland. I only know of 1 Queensland from xfactor.
     
  9. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    I would have agreed with that sentence but it is very different to your previous post.

    It would actually be nice if it was easier. There was tool we all know to do so, but for some reason I fail to understand, it has been censored.
     
  10. Nibiru

    Nibiru Registered

    Joined:
    Dec 24, 2011
    Messages:
    1,200
    Likes Received:
    1,295
    I think I know the tool your talking about.
    Lets just say it did more than it should.
    @SPASKIS if you want to know more pm me.
     
  11. Navigator

    Navigator Registered

    Joined:
    Jan 15, 2012
    Messages:
    2,275
    Likes Received:
    389
    Yes, you're welcome.
     
  12. Daniele Vidimari

    Daniele Vidimari Registered

    Joined:
    Apr 20, 2016
    Messages:
    659
    Likes Received:
    593
    Sorry to bump a relatively old thread, i'm building a track for the Formula E, but i guess there is no way to test the track with the proper car in DevMode since the mas file (the only one) is crypted, you guys confirm that?
     
  13. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    I can confirm it since I am having the same problem trying to put Callaway Corvette into dev mode time to improve AIW.

    My suggestion to solve this drawback is that regular content can be normally installed and used in dev mode. Components in rfcmp format or from the workshop could be used to better adjust AI behaviour with certain cars.
     
  14. SL1DE

    SL1DE Registered

    Joined:
    Jan 8, 2012
    Messages:
    369
    Likes Received:
    348
    Unpack the mas with all the GMT's and DDS's into a new folder (maybe call it "GMT" to keep it simple).
    Go into your .gen and make sure the folders are referenced (we'll use my F1 1996 mod as an example). My folder path is /rFactor 2\ModDev\Vehicles\F1 1996\01-Ferrari (rF2\ModDev\Vehicles\mod name\car name)

    So you reference the folders which the files are in.

    SearchPath=<VEHDIR>F1 1996\01-Ferrari < car/team base folder
    SearchPath=<VEHDIR>F1 1996\01-Ferrari\TeamMas < the folder which has the GMT's and textures
    SearchPath=<VEHDIR>F1 1996\FormMas < I have more GMT's and textures here so I reference that
    SearchPath=<VEHDIR>F1 1996\Tyres96 < this is where I have my tyre textures

    If your mod is just a single car, then you probably don't need or have the extra folders, depends how your structure is. Also make sure the rest of the gen is referencing the correct file names.

    Bascially - SearchPath=<VEHDIR>ModName\FolderContainingGMT
     
  15. thoraxe

    thoraxe Registered

    Joined:
    Dec 25, 2016
    Messages:
    149
    Likes Received:
    15
    Bringing up a very old thread.

    Here's my directory:

    Code:
    -rw-r--r-- 1 Erik 197121  775275 Jun  5 18:22 D_245-650-R18x10_C98D_Hard_2013.tgm
    -rw-r--r-- 1 Erik 197121  775253 Jun  5 18:22 D_245-650-R18x10_C98D_Med_2013.tgm
    -rw-r--r-- 1 Erik 197121  775250 Jun  5 18:22 D_245-650-R18x10_C98D_Soft_2013.tgm
    -rw-r--r-- 1 Erik 197121  775272 Jun  5 18:22 D_245-650-R18x10_C98D_Wet_2013.tgm
    -rw-r--r-- 1 Erik 197121    2146 May  9  2012 HeadPhysics.ini
    -rw-r--r-- 1 Erik 197121  365754 Mar 31  2014 ITCC2014_analog.mas
    -rw-r--r-- 1 Erik 197121    9233 Jan  9  2013 ITCC2014_cams.cam
    -rw-r--r-- 1 Erik 197121 1514271 May 14  2014 ITCC2014_cmaps.mas
    -rw-r--r-- 1 Erik 197121    9465 Mar  2  2014 ITCC2014_damage.ini
    -rw-r--r-- 1 Erik 197121    2077 Mar 28  2014 ITCC2014_engine.ini
    -rw-r--r-- 1 Erik 197121    2774 Feb 12  2014 ITCC2014_gears.ini
    -rw-r--r-- 1 Erik 197121   13694 Jun 22 20:13 ITCC2014_hdv.hdv
    -rw-r--r-- 1 Erik 197121   15105 Mar 13  2014 ITCC2014_motec.mas
    -rw-r--r-- 1 Erik 197121    4031 Feb 12  2014 ITCC2014_susp.pm
    -rw-r--r-- 1 Erik 197121   14308 Jun  5 18:25 ITCC2014_tires.tbc
    -rw-r--r-- 1 Erik 197121    6835 Jun 22 18:23 JZZ30_Engine.ini
    -rw-r--r-- 1 Erik 197121    2412 Mar 29  2014 SOARER_GT_cockpitinfo.ini
    -rw-r--r-- 1 Erik 197121    6805 Jun 22 20:38 SOARER_GT_gen.gen
    -rw-r--r-- 1 Erik 197121    3016 Jun  5 17:38 SOARER_GT_spinner.gen
    drwxr-xr-x 1 Erik 197121       0 Jun 22 20:17 maps
    -rw-r--r-- 1 Erik 197121   10091 Jun  5 17:36 sounds1.sfx
    drwxr-xr-x 1 Erik 197121       0 Jun 22 20:17 teams
    
    Here's the searchpath and bits of the .gen:

    Code:
    SearchPath=<VEHDIR>
    SearchPath=JZZ30
    SearchPath=<VEHDIR>JZZ30\maps
    SearchPath=JZZ30\maps
    
    //-----MASFILES---------------------------
    
    //MASFile=SOARER_GT_GMT.MAS
    //MASFile=SOARER_GT_TEX.MAS
    MASFile=ITCC2014_CMAPS.MAS
    MASFile=ITCC2014_MOTEC.MAS
    
    Instance=SLOT<ID>
    {
          Moveable=True
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
          <MAX> MeshFile=chassis.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(350.0) 
       
    
    When I try to load this car in DevMode I get a yellow blob and no car interior or anything. I have the rFactor2 launcher developer options set to trace=3 but the tracefile doesn't really even seem to have any errors. In fact, there's barely any mention of JZZ30.

    Code:
      12.34s util.cpp     1185: Unable to adjust texture for material: wcpithelmet_000, tex0=C:\PROGRAM FILES (X86)\STEAM\STEAMAPPS\COMMON\RFACTOR 2\MODDEV\VEHICLES\JZZ30\TEAMS\Misc\pithelmet.dds, tex1=C:\PROGRAM FILES (X86)\STEAM\STEAMAPPS\COMMON\RFACTOR 2\MODDEV\VEHICLES\JZZ30\TEAMS\16_Fisherpithelmet.dds, tex2=wcpithelmet_000.dds
    
    There's also
    Code:
      16.21s driver.cpp    550: unable to find RCD file for driver of ITCC2014 class car
    
    But nothing that seems to indicate why the blob would get loaded.
     
  16. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,789
    Likes Received:
    2,246
    Neither of those will cause a yellow car. Yellow car means something isn't loading, and an error should pop up telling you exactly what it is. Or, you have mas files in the directory.
     
  17. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,396
    Likes Received:
    6,611
    Where are the GMTs?
     
  18. thoraxe

    thoraxe Registered

    Joined:
    Dec 25, 2016
    Messages:
    149
    Likes Received:
    15
    Content of maps folder:
    Code:
    -rw-r--r-- 1 Erik 197121  349680 Jun  5 17:05 WCCABIN_SOARER.DDS
    -rw-r--r-- 1 Erik 197121 5592560 Jun  5 17:05 WCCARBODY.DDS
    -rw-r--r-- 1 Erik 197121  699216 Jun  5 17:05 WCLIGHTS_SOARER.DDS
    -rw-r--r-- 1 Erik 197121 5592560 Jun  5 17:05 WCMAIN_SOARER.DDS
    -rw-r--r-- 1 Erik 197121    1808 Jun  5 17:18 _output.scn
    -rw-r--r-- 1 Erik 197121    4520 Jun  5 17:18 backfire.gmt
    -rw-r--r-- 1 Erik 197121    2808 Jun  5 17:18 blglo_ds.gmt
    -rw-r--r-- 1 Erik 197121    2808 Jun  5 17:18 blglo_ps.gmt
    -rw-r--r-- 1 Erik 197121   82640 Jun  5 17:18 bonnet.gmt
    -rw-r--r-- 1 Erik 197121 2829046 Jun  5 17:18 chassis.gmt
    -rw-r--r-- 1 Erik 197121 1728228 Jun  5 17:18 collision.gmt
    -rw-r--r-- 1 Erik 197121   37266 Jun  5 17:18 driver.gmt
    -rw-r--r-- 1 Erik 197121   29244 Jun  5 17:18 helmet.gmt
    -rw-r--r-- 1 Erik 197121   10922 Jun  5 17:18 hlglo_ds.gmt
    -rw-r--r-- 1 Erik 197121   10922 Jun  5 17:18 hlglo_ps.gmt
    -rw-r--r-- 1 Erik 197121 1361642 Jun  5 17:18 interior.gmt
    -rw-r--r-- 1 Erik 197121    5192 Jun  5 17:18 reverselight.gmt
    -rw-r--r-- 1 Erik 197121   14324 Jun  5 17:18 rlglo.gmt
    -rw-r--r-- 1 Erik 197121  185600 Jun  5 17:18 rwing.gmt
    -rw-r--r-- 1 Erik 197121 1728228 Jun  5 17:18 shadow.gmt
    -rw-r--r-- 1 Erik 197121  148212 Jun  5 17:24 steering.gmt
    -rw-r--r-- 1 Erik 197121  148212 Jun  5 17:25 steering_ext.gmt
    -rw-r--r-- 1 Erik 197121  225784 Jun  5 17:25 wheel_lf.gmt
    -rw-r--r-- 1 Erik 197121  225784 Jun  5 17:25 wheel_lr.gmt
    -rw-r--r-- 1 Erik 197121  225784 Jun  5 17:25 wheel_rf.gmt
    -rw-r--r-- 1 Erik 197121  225784 Jun  5 17:25 wheel_rr.gmt
    
    Content of teams folder:
    Code:
    -rw-r--r-- 1 Erik 197121 5592560 Mar 29  2014 16_Fisher.dds
    -rw-r--r-- 1 Erik 197121    1735 Apr 21  2014 16_Fisher.veh
    -rw-r--r-- 1 Erik 197121 5592560 Mar 29  2014 17_Cronn.dds
    -rw-r--r-- 1 Erik 197121    1736 Apr 21  2014 17_Cronn.veh
    
     
  19. thoraxe

    thoraxe Registered

    Joined:
    Dec 25, 2016
    Messages:
    149
    Likes Received:
    15
    There is no pop-up error of any kind. The trace file has no appreciable errors. I even deleted the 3 .mas files out of the folder and left just all of the rest of the files and still had the yellow car issue.
     
  20. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    Delete all links to the mas files, that are in the gen files. Maybe that helps.
    And check if the searchpathes really match your folder structure.
     

Share This Page