As someone who enjoys oval racing and is just getting into rFactor 2, I've found this updated Stock Car Rules plugin released on the Studio 397 forums.
I'm interested in trying it to see if this fixes the flag rule bugs currently present in rF2 oval racing. But don't understand how to get it working.
In addition to the CustomPluginVariables.JSON changes (which are simple to do) one seems to need to create a new 'Series' or 'RaceEvent' MAS file containing the updated RFM file included with the download. Is this correct? How specifically would I go about getting this updated, fixed plugin working in the game?
Ok, first, I would advise you to download this:
https://mega.nz/file/HA9EhB7S#pJ1WcBQ1O1kiYhBYTU6cXYA4fH8CQGCYcenY5Lu6Ix8
And sorry for the file being funky named. Rename it to StockCarRules.dll
This is the newest version of the plugin, not the 2018 one you found on the S397 forum.
I used that version in our club race at Martinsville almost a year ago, and we had no issues with flags, SC or anything:
https://www.racedepartment.com/threads/birthday-baluba-nascar-martinsville-sun-21-mar-2021.200076/
Ok. Soooo. The MAS-thingy. Let's hope I'll be allowed to paste in picture in this thread.
In the folder *wherever you have installed rF2*steamapps\common\rFactor 2\Support\Tools (which will be Steam\steamapps\common\rFactor 2\Support\Tools in you don't have multiple SteamLibraries etc.) you find the MAS2 app.
1. Open that and click the "create package" button.
2. Click the "Create New Mod" button that shows up. (I will not show a picture of that, as it is very very self explanatory).
3. Give your mod the name you want (no issues with space in the name. Do note that @ and other special signs can only be put in if you have text behind it. So here I wrote "StockCarRules Martinsville", went back and added the "@" in between afterwards. aaanyway. Click the "B" on the rFm File: path
As you can see, I just downloaded the thing again to find it easier (I set everything up on the RD-server and not local PC last time). Note the new path for rFm.
4. Choose track(s) you want. (Hold CTRL and click on as many track you would like). Then click "next"
5. Do the same on car(s). Then click next. Remember that to use the Corvette PaceCar you need to choose that one as well in the "add vehicles". At least I had to, to get it to show on the server.
6. On "Other components" I don't add anything. Click "done".
7. Now it's the "ups. Do things right" part. It can work just as it is, but due to rF2 being rF2. I advise you to click the button marked in red. Which gives opens an option to rename the file. I would advise you to replace any spaces and @'s with an underscore. So "StockCarRules @ Martinsville" is renamed to "StockCarRules_Martinsville" as rfmod. (see point 7.2 below)
In what's being marked with blue, you can choose tracks and specific vehicles. You can in #4 and #5 above mark every car and track, then remove what you don't want in this part, but I find that is more work...
Do not check the checkboxs on "Locations" nor "Vehicles". That will not change the rfmod other than add loads of MB to it. If you see top right, it says version 1.0 and 7kb. That means the whole rfmod is 7kb. If you check the boxes to the left, it can jump to several hundred MB's.
When you are happy with the name of the rfmod (file) and what track, layout(s) and cars to have. Click "package" marked in green.
7.2 This is where you re-name the file. Just remove the @ and spaces, replace that with and underscore. Click "open" that is "save". As you can see from the list of rFmods I have, we name it a certain way. We also add in numbers, which are day-month-year, to make it easier to see.
8. Hopefully that will give you this message marked in red, and the "Install" button available. Click install. And hopefully you will have a "Mod installed successfully" message
9. As you remember, and as you see in the above screenshot. The Mod Name is "StockCarRules @ Martinsville". When you now open the game and click select series, you will hopefully find it there.
Enjoy, and have fun!