When exactly do you get this error? When you first launch.... when closing... when clicking on a specific button? The error is caused because it doesn't have permission to read/write the registry but the odd thing is I am only reading/writing to HKEY_CURRENT_USER\Software\Noel Hibbard\GetModMgr which shouldn't even need admin rights. My guess is you get this when trying out the new vmod stuff. I haven't tested this code much outside of my dev machine so it is very possible that I am writing to a key that only exist on my machine that maybe I created by hand. It's been a while since I wrote this so let me look at my code and also test it on a virtual machine running a fresh copy of windows. Thanks for the bug report!
I have some news If I put the executable in the folder where is the mod manager, I do not give more error. I tried to make a VMOD with complete component with vehicle sound and talent, already included in the mod file Vehicle LOLA 1.4. Now you see this error ************** Testo dell'eccezione ************** System.InvalidCastException: Conversion from string "04Team" to type 'Integer' is not valid. ---> System.FormatException: Formato della stringa di input non corretto. in Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) in Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- Fine della traccia dello stack dell'eccezione interna --- in Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) in rFactor2_Mod_Manager_Plus.vehFile..ctor(String vehFileName) in rFactor2_Mod_Manager_Plus.Form1.buildvMod() in rFactor2_Mod_Manager_Plus.Form1.bPackager_Click(Object sender, EventArgs e) in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) in System.Windows.Forms.Control.WndProc(Message& m) in System.Windows.Forms.ButtonBase.WndProc(Message& m) in System.Windows.Forms.Button.WndProc(Message& m) in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Assembly caricati ************** mscorlib Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18444 built by: FX451RTMGDR Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- GetModMgr Versione assembly: 1.0.0.14 Versione Win32: 1.0.0.14 Base di codice: file:///E:/Installazione%20Giochi/9)rFactor%202%20Build%20906%20Programmi/Bin32/GetModMgr.exe ---------------------------------------- Microsoft.VisualBasic Versione assembly: 10.0.0.0 Versione Win32: 11.0.50938.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34238 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34245 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Web.Extensions Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34237 Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll ---------------------------------------- System.Web Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34237 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- System.Configuration Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34234 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PresentationCore Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- UIAutomationClient Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll ---------------------------------------- UIAutomationTypes Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- mscorlib.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- System.Windows.Forms.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
this is compiling the VMOD, with sound vehicle location. This opens the program, you get to the window where you see the components of VMOD and then crashes. ************** Testo dell'eccezione ************** System.IO.IOException: Il processo non può accedere al file 'test.mas' perché è in uso da un altro processo. in System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) in System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) in Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory(String directory, DeleteDirectoryOption onDirectoryNotEmpty) in rFactor2_Mod_Manager_Plus.Form1.buildvMod() in rFactor2_Mod_Manager_Plus.Form1.bPackager_Click(Object sender, EventArgs e) in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) in System.Windows.Forms.Control.WndProc(Message& m) in System.Windows.Forms.ButtonBase.WndProc(Message& m) in System.Windows.Forms.Button.WndProc(Message& m) in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Assembly caricati ************** mscorlib Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18444 built by: FX451RTMGDR Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- GetModMgr Versione assembly: 1.0.0.14 Versione Win32: 1.0.0.14 Base di codice: file:///E:/Installazione%20Giochi/9)rFactor%202%20Build%20906%20Programmi/Bin32/GetModMgr.exe ---------------------------------------- Microsoft.VisualBasic Versione assembly: 10.0.0.0 Versione Win32: 11.0.50938.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34238 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34245 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Web.Extensions Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34237 Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll ---------------------------------------- System.Web Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34237 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- System.Configuration Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.34234 built by: FX452RTMGDR Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PresentationCore Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- UIAutomationClient Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll ---------------------------------------- UIAutomationTypes Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- mscorlib.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- UIAutomationProvider Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll ---------------------------------------- UIAutomationClientsideProviders Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClientsideProviders/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClientsideProviders.dll ---------------------------------------- Accessibility Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- UIAutomationClientsideProviders.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClientsideProviders.resources/v4.0_4.0.0.0_it_31bf3856ad364e35/UIAutomationClientsideProviders.resources.dll ---------------------------------------- UIAutomationTypes.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes.resources/v4.0_4.0.0.0_it_31bf3856ad364e35/UIAutomationTypes.resources.dll ---------------------------------------- System.Windows.Forms.resources Versione assembly: 4.0.0.0 Versione Win32: 4.0.30319.18408 built by: FX451RTMGREL Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
I'm glad you solved the first problem but I would still like to know at what point exactly you got that first registry access error so I can prevent it from happening to others. I really don't see why putting it in the same folder with ModMgr would have any impact on registry access. As for the other errors you are getting. I need to go through my code some more. I really developed this code for my own use without really planning to make it public. So I put very little effort into making it work in other environments. But I would like to improve on it so it will work in various environments. I will work with you in PMs rather than going back and forth here troubleshooting. I am going to make a special build with some more logging so I can track down your problems.
If use component Lola 1.4,go to Crash when the program wants to open the program for the creation of VMOD. if I put sound vehicle location,crashes at the end of the operation when it is creating the file VMOD. if you have the version of the program to try send me, I will test.
Hey Noel, I've just tried version 1.0.0.16 (i've missed 14 and 15) When i select a car with sound and a track (ctrl-click) and click on package, it opens the MAS2.exe. I was hoping to see your new vmod creator. Maybe you have disabled this feature at the moment?
I sort of hid the new vmod stuff a little until it is fully tested. For now you have to hold Ctrl as you click the Package button.
I've made a quick Vmod with your tool and "ctrl-click" vmod creator at my home PC. Big thumbs up. 1 big benefit is that the rfm and icon files don't disappear after creating a vmod. I do remember that using 2 vmods with custom rfm files with same name could cause issues. But i think the auto generated version numbers solves this issue. 1 thingy: i had to choose a sound file. This wasn't necesary, because the .veh component contains the sound files. So i choose the TMTires as sound file. This hasn't a "get missing components" link, so i don't know if this could cause issues on the client side.
When I first wrote this logic it was before people were integrating the sounds into the veh cmp. I need to remove that restriction. Using TMTires was smart. Everyone should already have that so it should be a problem. If I get a chance over the weekend I will remove the requirement to have a sound cmp.
Noel, An offtopic question. I saw in your new video tutorial a URD.veh v1.37. Is this a package that contains only the teams/livery's We used to make an update package with only the teams and embed it in the vmod. But this isn't possible any more. So my questions is: How to add teams/livery's without repacking the whole car? Is it possible to use/package the offline "virtual ride". Because that's so easy to create if you have the .dds files.
Hi Noel, fist great job with the Manager. I've a question, after the last 3 or 4 updates I can't see Talent and UI files in the manager, only clicking on "Installet Only" the tool show me as expected all my registered files including the Talent files. Unclicking again "Installet Only" no Talent files are shown so I'm not able to link new talent files. https://www.dropbox.com/s/v9vm4hctztmcb5y/GMManager-noTalent.JPG?dl=0 S.Wirth
Update components are sort of messed up right now so the only way to add teams for online use is by repacking an entire component. Virtual Rides aren't enabled online yet so that is only an option offline.
I started filtering a bunch of components when I added the vmod feature because I wanted to minimize the list of components down to just the ones you would typically include in a vmod. UI and Talent wouldn't typically need to be included but I can see sometimes people may want to so I will remove the filter.
Hi Noel, I get this error and get mod component list seem to bee down too. ************** Exception Text ************** System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 173.8.60.243:80
Yeah sorry about that guys. We made a firewall rule change which botched the web server. It had a bad rule in place for about 20mins.
This is a really helpful tool Noel. Thank you very much for sharing it for everyone to benefit from. Tremendous.