Nexus Mod Manager Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Not working with CrossOver 13/Mavericks - can't detect .Net 3.5

The latest installer seems to run fine, but although the bottle has .Net 3.5 installed already, it downloads and installs .net 3.5, but then it doesn't work when it's launched.

Here's how it fails:


Tracing an Unhandled Exception:
Exception: 
Message: 
    Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Exception from HRESULT: 0x80070002
Full Trace: 
    System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Exception from HRESULT: 0x80070002
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at Nexus.Client.BackgroundTask.set_ShowItemProgress(Boolean value)
   at Nexus.Client.Games.FileSearcher.Find(String[] p_strSearchFiles)
   at Nexus.Client.Games.GameDiscoverer.Find(IEnumerable`1 p_lstGameModesToFind)
   at Nexus.Client.Bootstrapper.GetInstalledGameModes(GameModeRegistry p_gmrSupportedGameModes)
   at Nexus.Client.Bootstrapper.RunMainForm(String[] p_strArgs)
   at Nexus.Client.Program.Main(String[] p_strArgs)

Here's the recommended fixes (aka wine tricks) from wineHQ, not sure how many of these are possible with Crossover:


Create clear wineprefix. Update winetricks. Disable window managment & decoration in winecfg because lags with focus on form when show hints.

# GDI+ for .NET Framework (optionaly)
winetricks -q gdiplus_winxp
# MS XML 3 for .NET Framework 3.5
winetricks -q msxml3
# Internet Explorer required for work NMM
winetricks -q ie8
# Remove winemono
wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'
# DLL override for correct setup .NET Framework
export WINEDLLOVERRIDES=ngen.exe,mscorsvw.exe=b
# .NET Framework 2.0 SP2 (http://www.microsoft.com/en-us/download/details.aspx?id=1639)
wine NetFx20SP2_x86.exe /lang:ENU /q
# .NET Framework 3.5 SP1 (http://www.microsoft.com/en-us/download/details.aspx?id=25150)
wine dotnetfx35.exe /lang:ENU /q

Edit by maintainer:
As stated by the OP, several game modes require replacing their respective DLLs with versions recompiled under Mono.
Fallout3, FalloutNV, Morrorwind, Oblivion and Skyrim DLLs can be downloaded here: http://goo.gl/tZF4z6
The respective source code can be found here:
https://github.com/mopo3ilo/nexusmodmanager/tree/mopo3ilo-mono

I'll try to check some things when I get time - one suspicion I have is that it's the .net xml library and maybe the overrides.

Heya,

As per winehq instructions here's what I got into a clean bottle:

Core Fonts
MSXML3
.NET 3.5 SP1 (yes this matters)
IE 8 which also dragged in Flash Player (oh well)

then installed the latest version on NMM.

It started but then threw and error and it would close.


Unhandled Exception: System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
   at System.IO.Directory.GetDirectories(String path)
   at Nexus.Client.Games.FileSearcher.DoWork(Object[] p_objArgs)
   at Nexus.Client.ThreadedBackgroundTask.DoWork(Object[] p_objArgs, String& p_strMessage)
   at Nexus.Client.ThreadedBackgroundTask.RunThreadedWork(Object p_objArgs)
   at Nexus.Client.ThreadedBackgroundTask.RunThread(Object p_objArgs)
   at Nexus.Client.Util.Threading.TrackedThread.RunParameterizedThread(Object p_objParam)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
wine: Unhandled exception 0xe0434f4d in thread 36 at address 0x7b83c592 (thread 0036), starting debugger...

Brought me to this page:

http://stackoverflow.com/questions/13918375/c-sharp-file-copy-throws-exception-the-given-paths-format-is-not-supported

Well, what the... let's see NMM logs shall we?


NotSupportedException while getting files from: Y:\Music\The Instance: World of Warcraft Podcast!

Tracing an Unhandled Exception:
Exception: 
Message: 
    The given path's format is not supported.
Full Trace: 
    System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean 

I did, I did taw a puttytat! Turns out that one of the dirs NMM was searching through did have a colon in the name, which according to windows file/folder naming conventions is a no-no and so the thing choked in a less than graceful way. UNIX (Mac OS X is unix) and Linux do not impose the same restrictions and described below:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#naming_conventions

You can add "virtual drives" to the bottle where NMM is installed, like the folder where Skyrim is installed. Check the Wine Configuration utility in the Control Panel tab of the NMM bottle.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM0NzIyMzMzLCJjc3JmX3Rva2VuIjoiaHk1NHFHcHhya040M3NyWSIsImdkcHIiOjB9