Sorry, yes, I meant filename. Mine already separates log files into track subfolders, and I'm sure I saw the option to separate into class subfolders too. ETA - snip from ini file: [Logging] Capture partial log = 2 // Whether a 'partial' log will be saved: // 0 = log every time we entered the car // 1 = vehicle must have moved // 2 = vehicle left the pits // 3 = started a timed lap (including race start) // 4 = completed a timed lap Log dir = "<DATA_PATH>\LOG\" // Directory to log to; relative to rFactor root if not absolute (e.g. "C:\Log files\") // the token <DATA_PATH> at the *START* of the dir will be replaced by the current data path, // while <USER_PATH> at the *START* of the dir will be replaced by the player folder Use class subfolder = 0 // Log to a subfolder equal to the vehicle class; 1=yes, 0=no Use track subfolder = 1 // Log to a track subfolder (can be combined with the class subfolder); 1=yes, 0=no Idle log cycles = 25000 // Log build cycles to perform per frame when idle (at monitor) Duty log cycles = 2500 // Log build cycles to perform per frame when busy (in-car, driving) Realtime building = 1 // Whether to start building completed logs while still in-car; 1=yes, 0=no Save Setup File = 1 // Save a copy of the current garage setup file with the log; 1=yes, 0=no
Worked fabulous until a recent major Windows update. After exiting the on track session to the paddock it takes 2 minutes or sometimes not at all for the audio command signalling the end of the Motec session. When exiting rFactor to desktop it hangs in a loop. I'm sure its a Windows configuration setting, just can't figure out which. Any ideas?
Make sure you have the latest version, this cropped up a while ago and I made changes which seemed to fix it. @Dave^ thanks for pasting that in mate, I forgot I added the option to use a track folder
Hi, very nice knowing i can change the way for logged directory, but is there a way to change the filename itself though???
No, at this stage it's set. What were you thinking? I could add more options or even let you set a format yourself.
Hi Lazza, thanks for the reply. So currently, all logged data will comes out in this format (YYYY-MM-DD - hr-mm-ss - Circuit - session) Was wondering if there can be an option where we can change the order of these just like how we can change the directory of the logged data, and also maybe include other options such as Driver Name or Vehicle etc (can be based on motec's selection column in the Open Log File window) So perhaps it can be done by creating separate bit code for each syntax that make up the logged data name such as: Logged data name: (0 - 1 - 2 - 3) // 0 = date (YYYY-MM-DD) // 1 = time (hr-mm-ss) // 2 = Circuit // 3 = session // 4 = Driver Name // 5 = Vehicle And we can then change it according to what we like such as (0 - 4 - 5) which will result in (YYYY-MM-DD - Driver Name - Vehicle) or even (0 - 1 - 2 - 3 - 4 - 5). Is that possible or perhaps abit too cumbersome to do?
Definitely possible, I was mainly curious if there was something specific you wanted (or something currently used you didn't like) but allowing a custom format would make sense. It's not really something I'd thought to add because I rarely look at the files directly, I just open them from i2Pro which provides its own display anyway. I'll add some options for that, plus a check to avoid duplicate names (something currently avoided by always including the time).
Hi. Installed automatically. The installer has identified the game folder. In the folder "rFactor 2\Bin64\Plugins" appeared DAMPlugin.dll. When running, Rfactor2 does not detect the plugin. Please help.
Can you create and check a trace file to confirm it's being picked up? Second I'd try running all the files in Support\runtimes just to make sure nothing is missing there. I assume it doesn't show up in the plugin list in the game?
Right. The Support\runtimes folder contains four files: vcredist_2012_x86.exe, vcredist_2012_x64.exe, vcredist_2013_x86.exe, vcredist_2013_x64.exe. I started them. Visual C++ 2013 has been installed, but nothing has changed. What should I do? I didn't understand.
https://forum.studio-397.com/index.php?threads/how-to-create-a-trace-file.62304/ If you can attach the trace here it may help. Sounds like a folder is wrong or something, but it's a bit strange.
Ok, that does help, but it also raises a question. Code: 27.00s PluginManage 390: Analyzing plugin "DAMPlugin.dll" 27.07s PluginManage 86: Could not load plugin Bin64\Plugins\DAMPlugin.dll with LoadLibrary(); GetLastError()=126 27.07s PluginManage 390: Analyzing plugin "KnockoutQualifying.dll" 27.12s PluginManage 86: Could not load plugin Bin64\Plugins\KnockoutQualifying.dll with LoadLibrary(); GetLastError()=126 27.12s PluginManage 390: Analyzing plugin "MotecPlugin_x64.dll" 27.18s PluginManage 417: Successfully loaded plugin "MotecPlugin_x64.dll" 27.18s PluginManage 390: Analyzing plugin "rFactor2SharedMemoryMapPlugin64.dll" 27.21s PluginManage 417: Successfully loaded plugin "rFactor2SharedMemoryMapPlugin64.dll" 27.21s PluginManage 390: Analyzing plugin "StockCarRules.dll" 27.25s PluginManage 86: Could not load plugin Bin64\Plugins\StockCarRules.dll with LoadLibrary(); GetLastError()=126 27.25s PluginManage 390: Analyzing plugin "TrackIR_rF2_Plugin.dll" 27.28s PluginManage 417: Successfully loaded plugin "TrackIR_rF2_Plugin.dll" 27.28s PluginManage 390: Analyzing plugin "TrackMapPlugin_64.dll" 27.31s PluginManage 417: Successfully loaded plugin "TrackMapPlugin_64.dll" As you can see, my older MotecPlugin is loading, but my DAMPlugin and the KnockoutQualifying & StockCarRules plugins aren't loading (those last 2 are standard ones, and come with the game). This would suggest a missing dependency of some sort - either some runtimes not installed, or a required dll/library missing on your system. Now, the last one: TrackMapPlugin. That hasn't worked (as in, actually done anything) since we switched to dx11 about 3 years ago. This suggests there could be old files floating around and interfering with things. For those ones not working, are you sure you ran and installed all 4 of those runtimes? For my first motec plugin to work, but not the second, would suggest one of the newer runtimes DAMPlugin uses isn't available, or something about the interaction of that runtime and the game isn't working. You could also try verifying your rF2 files through steam just to make sure something required isn't missing. Other than that we're down to the runtimes, and that's probably it - if the game is working otherwise then most requirements should be taken care of. On a positive note, it's definitely installed correctly and seen by the game. You may, at some point, want to clean out the folder completely and start fresh. That may help this issue, depending what's causing it. You can move/delete everything except the Installed folder, verify files with a modest download, and that will be completely fresh. The Installed folder has the actual content and you shouldn't need to download all that again (hopefully there's no old files in there that might also cause issues...)
DECIDED 1. Checked my rF2 files via steam. there was one broken file, but it didn't solve the problem 2. Once again, I started all the "vcredist*" files in the "SteamLibrary\steamapps\common\rFactor 2\Support\Runtimes" folder, rebooted the computer. everything worked 7.37s PluginManage 390: Analyzing plugin "DAMPlugin.dll" 7.37s PluginManage 417: Successfully loaded plugin "DAMPlugin.dll" THANK YOU
Hi Lazza, Thanks for the reply and look forward to the next update from you, hopefully with the mentioned functionality. Yea unfortunately, I sometimes would need to go through 20 or more different runs and it can sometime be a nightmare, in real life we specified the file name when we download from the car which is not an issue, but yea thank you again for the attention, top job ! Looking forward !
Friends, please help! Day after day, I struggle with a problem and I can not solve it. The plugin does not log. The DAMPlugin_Error.txt file says: 09/14/20 01:12:15 Error: Can't create output subfolder: 09/14/20 01:12:15. \\ DAMPlugin \ LOG \ IC18 \ 09/14/20 01:12:15 Error creating file: 09/14/20 01:12:15. \\ DAMPlugin \ LOG \ IC18 \ 2020-09-14 - 01-12-15 - Louisiana - Indy Grand Prix - P1.ldtemp