EA Download Manager

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

EA Download Manager

Post by Cleveland Rock »

Hi, I'm a n00b, but I was hoping you could help me with EA Download Manager. From what I understand, some have gotten it partially working, and others may have gotten it working completely.

This is what I get:
Image

It's supposed to look more like this:
Image

Version: Wine 1.2 RC2
Operating system: Ubuntu 10.04
Download link: http://eastore.ea.com/eadm
AppDB link: http://appdb.winehq.org/objectManager.p ... &iId=10932
Terminal output:

Code: Select all

err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:lsa:LsaGetLogonSessionData 0x32f164 0x32f158 stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 3600000
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: EA Download Manager

Post by dimesio »

Cleveland Rock wrote:

Code: Select all

fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 3600000
Try native wininet.
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Re: EA Download Manager

Post by Cleveland Rock »

dimesio wrote:Try native wininet.
How do I do that?
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Use Winetricks to install wininet, it should automatically set it to native from there.
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

DaVince wrote:Use Winetricks to install wininet, it should automatically set it to native from there.
The terminal output now looks like this:
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:lsa:LsaGetLogonSessionData 0x32f164 0x32f158 stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:shell:SHFlushSFCacheWrap : stub
I get the same error when trying to run it.
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Post by motub »

I have spent all today installing The Sims 3, the two expansion packs, and the Stuff pack, so I have a fair amount of very recent experience with getting the Download Manager partially working....

... I say "partially" because as far as I can see, you're not going to be able to get it to download anything; it will try, but it will fail to find even the PatchProgressWindow.html (despite the fact that that file is local and exists exactly where the error message says it is, so why it claims it can't find it is a mystery), and presumably thereafter fail to connect to the Internet/EA servers, but there is no error message to that effect (because the progress window is not shown except as a "missing texture pink" area without text to tell you what's going on).

The two things that seem to be necessary to some extent to get even partial success (insofar as if the DM is running when you launch TS3, it will tell you what patch you need --even if you then have to download and install it yourself-- or that you're up-to-date) are:

1. AdobeAir pre-installed via Winetricks. Probably also IE. For good measure, I also installed native inet, IE6 (haven't tried with 7), Flash, ActiveX plugins, and Shockwave, but they may not be strictly necessary.

2. The correct version of the DM. The screenshot you have looks like a standalone program, whereas with TS3, the program runs as an icon in the system tray and feeds its information to the SimsLauncher app. According to wine uninstaller it's version 5.0.0.255, installed with the game(s).

Several times (after a wineboot, or upon a reinstall of IE6, which also must cause a silent wineboot) the DM tried to update itself to version 6. You must not let it do so (click the "Stop Update" button while it's downloading, and laugh at the irony that it can download that just fine, but not a patch to the game as was intended). Version 6 is the one that won't initialize and I have found no way to get it to do so, short of uninstalling the thing from wine uninstaller and reinstalling from the game CD (taking me back to version 5).

Version 5 works as well as the thing is apparently going to atm, insofar as it does initialize, appear in the wine systray, the context menu is useable (although you get a number of script errors if you try to change the settings, and no html page can be displayed in the main UI), and it does feed the correct information as to what patch version it would download, if it could, to the SimsLauncher (which can connect to the EA server well enough to display the patch details, though the Download Manager/IE6 itself can't display any web page, local or remote). It works so well, in fact, that the game (which I have running in a virtual desktop) won't exit me back to the real desktop until I close the EA Download Manager in the Wine systemtray.

So there you have it; you can get the Download Manager v.5 to run embedded in a Launcher, as long as you have Adobe Air (and possibly IE) installed via winetricks before you install the DM (during the game install, or separately from the game DVD-- for TS3, the EADM installer can be found in \Support\EADM). However, it's not of much use. Once you find out what patch you need, head over to The Patches Scrolls-- they just carry official patches old and new, no cracks or anything of that sort-- and get the patch you need, install manually, and smile when the next time you launch the game and the DM says you're all up-to-date.

Hope this helps.
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

Thanks. It's almost like you knew I was doing this for The Sims 3.

However, there's a major problem. I don't have the DVD version of The Sims 3. I have the downloadable version. The one I'm supposed to download with EA Download Manager.

Does that mean Windows is my only option? Stupid EA!
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Post by motub »

Cleveland Rock wrote:However, there's a major problem. I don't have the DVD version of The Sims 3. I have the downloadable version. The one I'm supposed to download with EA Download Manager.
Oh, that is unfortunate. Digital download (non-Steam) versions of games are often a problem, not only under Wine, but under Windows, and not only for this game, but for others I'm aware of as well.

Naturally I have no idea when you purchased the game, or when you jumped over to Linux in relation to that. In the future, though, before committing to a digital download that requires a proprietary download manager to even receive, check the AppDB beforehand to make sure that the Download Manager works.

The EA Download Manager is listed as 'Garbage' (<==this is a link!) for a moderately recent Wine version, and more importantly, there are 3 currently open bugs linked to it which would strongly suggest that buying the digital download version wouldn't be a good idea. In fact, the bug that the EADM doesn't download the Flash plugin was the reason that I pre-installed Flash (but I don't know if it helped, since no web page is displayed in the Manager).

Of course, the bug stating that the DM doesn't download requested patches would have been of even more relevance to you prior to purchasing a version of the game that required the DM to download something significantly bigger than a patch file. Had you known.

Yes, I suspect Windows is your only option for the initial download and install, unless you want to buy a second 'hard' copy of the game (which I would suggest first, despite the cost. Maybe you can 'return' your digital download via customer service, if you just bought it).

If you choose to download and install via Windows, I would suggest the following to (hopefully/maybe) get the pre-installed version working under Wine:

DISCLAIMER 1: I am assuming that you have a dual-boot with a fixed Windows partition on your HDD. If not, you could always try VirtualBox or some such, however I have never used virtualization programs and could not advise on how they interact with Wine.

DISCLAIMER 2: These instructions are provided completely without guarantee that they will work. All I can say is that if this procedure can work, then this is the only way (as far as I know) that it will work, but it may be that it cannot work at all, and you have to get a DVD anyway. But your time is also an investment, and it's up to you what it's worth to you to attempt a procedure that may not succeed in the end.

1. If you don't have a separate partition for your data files/installed applications, you'd need to make one. There is no way you will be able to run a Windows-installed game from a Windows C:\Program Files under Wine. If you have a dual-boot, you are probably a bit familiar with partitioning, and there are numerous instructions available on the internet on how to use GParted or whatever the KDE version is (QTParted, I think) to reduce a current partition to create free space (obviously it must be of sufficient size to allow TS3 and whatever else to fit there) and create a new empty one from that free space.

Oh, crap, filesystem. You could either a) use FAT32 so that Windows would see it as native (doable, but far, far from optimal, since FAT32 fragments and is easily corrupted), or b) format the FS as EXT2/3 and use the Ext2IFS driver for Windows (<==this is a link!) to allow Windows to access the partiiton. This is my recommended option, as this what I have used for years to access my Ext3 data partitions (I always install applications and save 'loose' downloaded data to dedicated partitions so that if I ever have to delete or reinstall my OS-- whichever it may be-- I'm not in danger of losing my data unless the drive itself dies) in the event that I have to use my minimal Windows boot for something (like this, for example :) ). Be aware that Ext4 is not supported, so stick to Ext3 (or Ext2 if you don't care about journalling).

2. Once you have your partition set up and the IFS driver installed into Windows, you should be able to run the EADM from Windows and install the game to the new partition. Make a note to yourself as to what drive letter Windows calls this partition. Since you have downloaded the EADM separately, you probably have version 6, which afaics doesn't work at all under Wine. So after you've installed the game you should probably run it under Windows one time and install any needed patches, and also any downloadable content that you want to install (since the EADM v6 doesn't run at all, there's a chance that the Launcher won't run either, and you need the Launcher to install SimsStore bought content, or content from TheSims Resource or wherever. It is possible to install extra content via third-party apps if the Launcher won't run, but it's even a bigger PITA than you're having now, from the looks of it. At any point that this becomes ridiculous to you, feel free to head to the store and buy a hard copy of the game :wink: . It's only money). Don't play the game, though (unless of course, you'd rather just boot into Win every time you want to do that).

3. OK, now that the game is installed under Windows, and is in theory accessible to Linux (because it's on a Linux partition), you should be able to export the Registry settings for the game (Start==>Run==>(type) regedit (Enter)), to a *.reg file (or several) that you can later import into Wine's Registry to fool it into thinking you've installed the game under Wine. The entries you need to export (select the noted key and then choose 'Export Registry file' from the 'Registry' menu above) are:

Under HKEY_CLASSES_ROOT:
- .sims3pack

Under HKEY_CURRENT_USER:

- Software==>Electronic Arts (exporting the Electronic Arts folder/key will export all of the sub-keys under it as well)

Under HKEY_LOCAL_MACHINE:

- Software==>Electronic Arts

- Software==>Sims

Save the *.reg files you create on the partition you made for the game, but not in the EA folder where the game is (for safety's sake).

4. Head back into Linux. Depending on your settings when you created the partition, the new partition may have already mounted. If not, open Nautilus (presuming you're still using GNOME) and mount it.

5. If you have not made a separate prefix for TS3, do so now. Easiest way is to open a terminal and type export WINEPREFIX=~/.wine-ts3 (or whatever you want to call the prefix, .wine-ts3 is just what I use atm) and hit enter. All wine commands typed into this terminal will now be created under/attached to that specific wine prefix. So now type winecfg in that terminal. You should get a message box saying that the prefix is being created, and then winecfg will open. Do the usual 'new prefix' tasks, such as selecting your sound system, and (at least on my system, I always have to) going to the 'Desktop Integration' tab and setting the "My Documents" folder to ~/Documents, rather than the ~ folder that it is set to by default.

6. Then go to the 'Drives' tab (my OS is in Dutch, so it says 'Stations', but I presume that in English that would be 'Drives' or "Drive Letters" or something similar), and add your new partition as a new drive, using the first available drive letter that comes up when you click 'Add". Make a note to yourself as to what drive letter that is in comparison to what drive letter Windows installed the game to. Apply, then close winecfg.

7. In the terminal, type wine regedit. Regedit will open. Now you want to import all those *.reg files you exported from Windows. From the main 'Registry File' menu, select 'Import Registry file' and select the first exported *.reg file; it should be under 'My Computer'==>drive letter that you gave the new partition and hit OK to import it. The key will be added to the appropriate place in the registry. Rinse and repeat for all keys.

8. The keys are now imported, but it can be that the Windows thought that game is installed to a different drive letter than Wine thinks it's on. If that is the case (this is why you made those notes to yourself), you'd have to change that in the Wine Registry so that it's correct for Wine. The keys that might need changing to correct their location are (as far as I can see):

HKEY_CURRENT_USER==>Software==>Electronic Arts==>Sims 3==>Launcher==Settings==>DiskAuthDrive
Note This key is a) encrypted on my system, so I can't even say what the setting actually is, and b) since you're working with a digital download, it may be blank, or "perfectly OK" to leave as it is (as opposed to with a DVD where I expect that the key points to the DVD drive or some such). I wouldn't mess with it, myself, but for completeness I have to mention that it might be that that key points to a location that might have changed between Windows and Linux.

HKEY_LOCAL_MACHINE==>Software==Sims==>The Sims 3 (additionally for any expansions or addons)==>InstallDir

This is the important one, naturally. If Windows thought you had installed to F:\ , and the same partition under Wine is considered D:\ , you would need to edit the key to reflect that (select entry on the right, right-click and choose 'Edit', change the F:\ to a D:\, OK). Repeat in all expansion key folders if necessary.

When you're done, close Regedit, and you have done all that you can do to fool Wine into thinking that TS3 is installed under Wine.

You might want to set AppDefaults for the Launcher and the game(s) applications to run in a virtual desktop in winecfg, as is recommended in the AppDB listing for Sims 3 (<== also a link).

You might also be thinking of copying your C:\Program Files\EADM install folder from Windows' C:\ to Wine's /drive_c (since it's listed as being there in the Registry), but since you have v6 (probably) that doesn't initialize, I would leave it off the system (but leave the Registry entries alone), so that the program simply isn't found. The Launcher (assuming it works) will (hopefully) just give a message saying it couldn't connect to the Manager (because it's not running, because it's not there) and thereafter open normally (as opposed to the 'application could not initialize' message, which stops everything cold). If that doesn't work as expected (because the application not being where the Registry thinks it is stops everything cold), you can probably run wine uninstaller from the terminal where you've exported the TS3 prefix and "uninstall" EADM, thereby removing it from the Registry and hopefully resolving that issue. Or you could remove it manually from the Registry at last resort.

9. Since the installer was never run under Wine, you don't have any desktop shortcuts or menu items to run the game, so you'll have to run it from the terminal, or from a script that you put on the desktop (or wherever).

Here's the Target line from my Desktop shortcuts; adapt for your wine prefix and your path to the Game/Bin folder. All shortcuts by default point to the Launcher, which for me works fine under 1.2rc2, but since the Launcher is not particularly of use to you (unless you later want to install further downloadable content), you can also adapt this command line to point directly to the game executable (either the main game, if that's all you have, or the last-installed expansion or stuff pack that you have):

Code: Select all

env WINEPREFIX="/home/motub/.wine-ts3" wine F:\\Electronic\ Arts\\De\ Sims\ 3\\Game\\Bin\\Sims3Launcher.exe 
So if you just "type" your adapted version of that into a terminal (honestly, type it one time in a text editor, then select, copy, and paste into the terminal, unless you'd rather type it out every time), and the game (or the Launcher, depending on which application you targeted) should run. Or you can put those commands in a text file-- one command per line, starting with #/bin/sh as the first line-- save it to the desktop and make it executable. Then grab an icon from somewhere and convert it to png (you can do this easily in EOG, which you should already have installed, but not in gThumb so don't bother to even try opening an *.ico file there) and attach it to the file, and voila! you have a desktop shortcut.

Whew. Hope this works, hope it helps, but mostly I hope you save yourself the trouble and get a DVD copy :) . Good luck!
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

:shock: Woooow. I think I'm just gonna boot into Windows when I want to play it. Haha.

Thanks for all your help, though. I hope EADM will work with a future version of Wine…
James McKenzie

EA Download Manager

Post by James McKenzie »

motub wrote:
Cleveland Rock wrote:
However, there's a major problem. I don't have the DVD version of The Sims 3. I have the downloadable version. The one I'm supposed to download with EA Download Manager.
Oh, that is unfortunate. Digital download (non-Steam) versions of games are often a problem, not only under Wine, but under Windows, and not only for this game, but for others I'm aware of as well.

If your fix works, please add it to the 'broken' Applications Database
entry. This will give a work around until the necessary features are
added to Wine to support the EA Download Manager.

James McKenzie
James McKenzie

EA Download Manager

Post by James McKenzie »

Cleveland Rock wrote:
[Shocked] Woooow. I think I'm just gonna boot into Windows when I want to play it. Haha.

Thanks for all your help, though. I hope EADM will work with a future version of Wine…

Mr. Rock:

Can you at least try the work around. Some folks don't have the luxury
to boot into Windows and will need to do this if they want to use EA
Download Manager'd games.

James McKenzie
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Re: EA Download Manager

Post by Cleveland Rock »

James McKenzie wrote:Can you at least try the work around. Some folks don't have the luxury to boot into Windows and will need to do this if they want to use EA Download Manager'd games.
But, even with this workaround, it's necessary to use EA Download Manager, and since EA Download Manager currently doesn't work in Wine, it has to be run in Windows, meaning people who can't boot into Windows can't do this workaround.

…unless I'm misunderstanding something.
James McKenzie

EA Download Manager

Post by James McKenzie »

Cleveland Rock wrote:
James McKenzie wrote:
Can you at least try the work around. Some folks don't have the luxury to boot into Windows and will need to do this if they want to use EA Download Manager'd games.
But, even with this workaround, it's necessary to use EA Download Manager, and since EA Download Manager currently doesn't work in Wine, it has to be run in Windows, meaning people who can't boot into Windows can't do this workaround.

…unless I'm misunderstanding something.


Some folks have access to a Windows machine, and the files can be copied
on DVD media.

The thing is that we are stating 'this cannot be done' right now, but it
may be possible with the help of a friend.

Also, I am looking for something to fix and I'm concentrating on areas
that will help.

James McKenzie
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

Ah, that makes sense.

Okay, just give me a while to download everything and I'll do it.
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Re: EA Download Manager

Post by motub »

James McKenzie wrote:If your fix works, please add it to the 'broken' Applications Database entry.
I, for my part, was planning to add entries for version 5.0.0.255 (bronze) and 6.0.4.10 (garbage) of the EADM to the AppDB, since the (unspecified) version reported as garbage is for Wine 1.1.35, and Wine has made great strides since then. I mean, heck, when I installed TS3 under 1.0.43, you couldn't get the Sims3Launcher to work for love nor money, but under 1.2-rc2 it started right up, with the EADM loading properly (as long as it's v. 5.0.255).

I admit, though, I hadn't even thought about the digital download issue-- certainly I hadn't expected that EA would be so annoying as to make the user download the game they just bought via their own download manager, making it even harder to somehow preserve the item you bought. OK, so a digital download is already more ephemeral than a physical DVD, and now you can't even have the download file itself; now it goes to the EADM cache (which the average user won't know where that is), from which the EADM presumably installs it, distancing the buyer even more from the product they've bought.

Yeah, Steam works the same way, but Steam's been around for years now, and has worked hard to earn our trust. I'm not filled with enthusiasm by EA's attempt to horn in on that market.....

... but anyway, my entries into the AppDB will have to wait till tomorrow (Monday), but they'll get there (when approved).

Thanks for your encouragement to Cleveland Rock, James McKenzie, and thank you, Cleveland Rock, for pitching in to help test the workaround and help Wine and other users like yourself!

Holly
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

Ah, I should have noticed this sooner, but Ext2IFS doesn't seem to work with Windows 7 (32-Bit), which is what I have.

…Sheesh, this is a pain!
James McKenzie

EA Download Manager

Post by James McKenzie »

Cleveland Rock wrote:
Ah, I should have noticed this sooner, but Ext2IFS doesn't seem to work with Windows 7 (32-Bit), which is what I have.

…Sheesh, this is a pain!

DVDs are your friend. I advised to use one rather than try to copy over
the files to an EXT3/4 partition from either FAT32 or NTFS.

And Windows7 adds 'security' features which makes upgrades to
programs/adapters like EXT2IFS necessary.

James McKenzie
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

If I bought DVD copies of The Sims 3 and its expansions, it would cost a total of $110, not counting tax or shipping! For a game I already own and can play on Windows, I don't think it's worth it.

Does this mean there's nothing I can do to help the other poor souls with the downloadable versions of The Sims 3 and/or its expansions? I guess I can keep my fingers crossed that EA Download Manager works with future versions of Wine.
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Post by motub »

[quote="Cleveland Rock"]If I bought DVD copies of The Sims 3 and its expansions, it would cost a total of $110, not counting tax or shipping! For a game I already own and can play on Windows, I don't think it's worth it.

Does this mean there's nothing I can do to help the other poor souls with the downloadable versions of The Sims 3 and/or its expansions?/quote]
I think you misunderstand. James means (I believe), that you download and install to a normal Windows partition, then backup (burn) the install folder to a DVD. Return to Linux, copy the backup install back to a Linux partition, then proceed as above to let Wine know that it's installed and see if it runs.

My apologies for the confusion; I haven't upgraded past XP and totally forgot about Vista and Win 7 as a possible secondary problem.
m137o
Newbie
Newbie
Posts: 1
Joined: Thu Jun 17, 2010 2:44 pm

same problem

Post by m137o »

you download and install to a normal Windows partition, then backup (burn) the install folder to a DVD. Return to Linux, copy the backup install back to a Linux partition, then proceed as above to let Wine know that it's installed and see if it runs.
Any luck with this?

I'm getting the same error and would be keen to find out if there's any progress made. I only have a distribution of Ubuntu running with Wine, so I'm trying to get the game (Battlefield 2) onto my box via my friends windows machine.

:?:
Cleveland Rock
Level 2
Level 2
Posts: 10
Joined: Fri Jun 04, 2010 11:20 pm

Post by Cleveland Rock »

Ah, sorry, I didn't get a notification reply.

I don't have a DVD burner.
Locked