Championship Manager 2010 Editor + Mono + Regedit

Questions about Wine on Linux
Locked
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

For the past few months I've been playing Championship Manager 2010 via Wine on my Debian Wheezy system.

The makers of the game have also made an editor for the game. I can't get this to work.

It was reasonably obvious from the comments in the terminal screen that the editor could not be run by wine but needed Mono.

I then did sudo apt-get install mono-complete and things began looking up. However, although the program begins under Mono it says the following:

"Could not find CM 2010 in registry, the CM2010 Data Editor cannot run without a complete installation of CM2010"

I have installed regedit. But what do I do now?

Relevant links:

http://forums.championshipmanager.co.uk ... hp?t=62411

http://appdb.winehq.org/objectManager.p ... &iId=18296

http://appdb.winehq.org/objectManager.p ... &iId=17798

http://www.champmanstore.com/shop/index?lang=en_gb

The game was purchased online, so I have the full thing.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

It sounds like you installed Linux Mono, not wine-mono. You need the latter. http://wiki.winehq.org/Mono

You didn't mention what Wine version you're using. If it's not the latest development release, upgrade.

If wine-mono doesn't work in current Wine, try real .NET.
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

I have 1.4.1.

As I said, I run Debian Wheezy. The instructions on downloading the latest development release of Wine appear to be very complicated:

http://www.winehq.org/download/debian

Is there a ppa?

How do I "try real .NET"? My computer is Linux only. .NET was installed somehow during the installation of the game but I am not sure how I can get it to work for the game editor.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

You can install .NET with winetricks. http://wiki.winehq.org/winetricks
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

I have winetricks installed.

How do I install .NET with winetricks?

Also: .NET was installed during the installation of the game. So I already have .NET.

So the question is, was .NET installed already by wine?

And if so, why am I unable to run the game editor? The game editor began working but said that the game itself was not in the registry.
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

I've done a few different things. Now I get "Invalid Handle"

Screenshot:

http://i.imgur.com/4RnRo.png
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

Please don't post screenshots of terminal output; paste the text into your post.

I don't know what the "few different things" you did are, but they've messed up your wineprefix. Delete it and start over with a clean one.

Regarding .NET: the app may have installed it, but installing .NET requires workarounds that winetricks executes and your app wouldn't. So even if it reported success, there's a good chance the installation was flawed/incomplete. My suggestion is that you install whatever version of .NET your app requires with winetricks before you try to install the app. Do not install wine-mono if you are installing real .NET.

Instructions on how to use winetricks are on the wiki page I linked you to above.
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

Okay, reinstalled wine.

Deleted .wine (which is what I discovered to be the "Wine Prefix", I call it the .wine folder)

Installed .NET 3.5 SP1 via this command:

Code: Select all

winetricks dotnet35sp1
I discovered this command myself. I didn't find any information here or eslewhere on the internet that gave this command.

And yet when I begin to install the game... this happens: http://i.imgur.com/OOM3v.png

In short, when I begin installing the game, the installation automatically installs .NET 3.5 SP1 anyway - evn though I'd already downloaded it/ installed it via winetricks. I don't know why it did this. Sigh. I'll see if it works.
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

Okay. Problem.

After the above I decided to simply reinstall all the .NET versions one by one. So I used the following commands:

Code: Select all

winetricks dotnet20sp2

winetricks dotnet30sp1

winetricks dotnet35

winetricks dotnet35sp1
Each command was given in turn. Once one was downloaded, I would manually enter the next command.

The problem is this:

WHEN DOTNET35SP1 IS DOWNLOADED, WINETRICKS DOWNLOADS DOTNET20

Code: Select all

neil1@debian:~$ winetricks dotnet35sp1
Executing w_do_call dotnet35sp1
Executing load_dotnet35sp1
------------------------------------------------------
dotnet35sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
Current wine does not have wine bug 16956, so not applying workaround
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Working around wine bug 16956 -- Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
wine: cannot find L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsvw.exe"
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 2
ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Version 0 REG_SZ 2.0.50727 1
The operation completed successfully
Executing mkdir -p /home/neil1/.cache/winetricks/dotnet20sp1
fixme:clusapi:GetNodeClusterState ((null),0x32ec04) stub!
fixme:advapi:DecryptFileA "y:\\ccf6cdc83d57e9ca60314abdf7\\" 00000000
WARNING: gnome-keyring:: couldn't connect to: /home/neil1/.cache/keyring-takQro/pkcs11: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
------------------------------------------------------
dotnet20sp1 install completed, but installed file /home/neil1/.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found
------------------------------------------------------
neil1@debian:~$
In my .cache/winetricks/ folder, there are 5 folders: dotnet20, dotnet20sp1, dotnet20sp2, dotnet30 and dotnet30sp1.

Installing the game will result in the installation wizard downloading and installing 3.5 SP1
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

WHEN DOTNET35SP1 IS DOWNLOADED, WINETRICKS DOWNLOADS DOTNET20
There's no need to shout.

Winetricks downloads and installs dotnet20 and each subsequent version when executing dotnet35sp1 because they all have to be installed manually first. That's the known problem that winetricks works around. In your case, installing dotnet20sp1 is failing, possibly because of this:

Code: Select all

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
You need to fix that: install winbind. If you don't know which package to install, ask your distro; I don't use Debian, and package naming conventions vary greatly from distro to distro.
In my .cache/winetricks/ folder, there are 5 folders: dotnet20, dotnet20sp1, dotnet20sp2, dotnet30 and dotnet30sp1.
If the install had been successful you would also have dotnet35 and dotnet35sp1 folders.

You should also keep this in mind:

Code: Select all

dotnet35 does not yet fully work or install on wine.  Caveat emptor.
Winetricks may install it well enough to fool the app into thinking it's installed, but if it actually needs dotnet35 functions it still will not work.
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

I have now installed Winbind.


Winetricks will still not install dotnet 30 and 35sp1
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

Did you upgrade Wine to the current development release?
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

No I haven't. There doesn't seem to be a simple way to do it. There's no Debian ppa for me to use. Installing manually looks very dangerous. Unless you want to tell me how to do it?

EDIT:

This seems to be the page: http://dev.carbon-project.org/debian/wine-unstable/

My Linux Kernel is 3.2.0-3-686. Is that compatable with the i386.deb files from that page?
OSO
Level 2
Level 2
Posts: 12
Joined: Mon Dec 10, 2012 12:28 am

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by OSO »

I have successfully managed to install the latest Wine.

This page helped: http://www.fandigital.com/2012/05/insta ... linux.html

dotnet35 and dotnet 35sp1 still cannot be installed.

I downloaded winetricks via apt-get. Could winetricks be the issue here?

.cache/winetricks does not have any folders marked dotnet35 or dotnet35sp1

Code: Select all

neil1@debian:~$ winetricks dotnet35
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
Current wine does not have wine bug 16956, so not applying workaround
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Working around wine bug 16956 -- Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
wine: cannot find L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsvw.exe"
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 2
ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Version 0 REG_SZ 2.0.50727 1
The operation completed successfully
Executing mkdir -p /home/neil1/.cache/winetricks/dotnet20sp1
fixme:clusapi:GetNodeClusterState ((null),0x32ec04) stub!
fixme:advapi:DecryptFileA "y:\\8b3b8a029397fc680887a6fb\\" 00000000
WARNING: gnome-keyring:: couldn't connect to: /home/neil1/.cache/keyring-7qs8Oj/pkcs11: No such file or directory
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
------------------------------------------------------
dotnet20sp1 install completed, but installed file /home/neil1/.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found
------------------------------------------------------
neil1@debian:~$ winetricks dotnet35sp1
Executing w_do_call dotnet35sp1
Executing load_dotnet35sp1
------------------------------------------------------
dotnet35sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
Current wine does not have wine bug 16956, so not applying workaround
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Working around wine bug 16956 -- Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
wine: cannot find L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsvw.exe"
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 2
ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Version 0 REG_SZ 2.0.50727 1
The operation completed successfully
Executing mkdir -p /home/neil1/.cache/winetricks/dotnet20sp1
fixme:clusapi:GetNodeClusterState ((null),0x32ec04) stub!
fixme:advapi:DecryptFileA "y:\\f662c422b6f9c58b830b02d0201950\\" 00000000
WARNING: gnome-keyring:: couldn't connect to: /home/neil1/.cache/keyring-7qs8Oj/pkcs11: No such file or directory
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
------------------------------------------------------
dotnet20sp1 install completed, but installed file /home/neil1/.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found
------------------------------------------------------
neil1@debian:~$ winetricks dotnet35
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
Current wine does not have wine bug 16956, so not applying workaround
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Working around wine bug 16956 -- Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
wine: cannot find L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsvw.exe"
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 2
ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Version 0 REG_SZ 2.0.50727 1
The operation completed successfully
Executing mkdir -p /home/neil1/.cache/winetricks/dotnet20sp1
fixme:clusapi:GetNodeClusterState ((null),0x32ec04) stub!
fixme:advapi:DecryptFileA "y:\\1bbea7c439c9f9aca2a44c34\\" 00000000
WARNING: gnome-keyring:: couldn't connect to: /home/neil1/.cache/keyring-7qs8Oj/pkcs11: No such file or directory
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
------------------------------------------------------
dotnet20sp1 install completed, but installed file /home/neil1/.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found
------------------------------------------------------
neil1@debian:~$ winetricks dotnet35sp1
Executing w_do_call dotnet35sp1
Executing load_dotnet35sp1
------------------------------------------------------
dotnet35sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
Current wine does not have wine bug 16956, so not applying workaround
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Working around wine bug 16956 -- Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
wine: cannot find L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsvw.exe"
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 2
ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 Version 0 REG_SZ 2.0.50727 1
The operation completed successfully
Executing mkdir -p /home/neil1/.cache/winetricks/dotnet20sp1
fixme:clusapi:GetNodeClusterState ((null),0x32ec04) stub!
fixme:advapi:DecryptFileA "y:\\41638464b4ec05f13039\\" 00000000
WARNING: gnome-keyring:: couldn't connect to: /home/neil1/.cache/keyring-7qs8Oj/pkcs11: No such file or directory
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp1\set-winver.reg
------------------------------------------------------
dotnet20sp1 install completed, but installed file /home/neil1/.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found
------------------------------------------------------
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Championship Manager 2010 Editor + Mono + Regedit

Post by dimesio »

Make sure you have the latest winetricks; you can get it from http://winetricks.googlecode.com/svn/tr ... winetricks.

Also, have you been deleting the wineprefix and installing to a clean one for each attempt? You need to.
Locked