http://bugs.winehq.org/show_bug.cgi?id=27228
Summary: Battlefield Play4Free: Crashing when running initial update/download Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: karlmk@hotmail.com
Created an attachment (id=34796) --> (http://bugs.winehq.org/attachment.cgi?id=34796) Errors when running the updater from command line.
How to reproduce this problem:
1. Download and install firefox 3.6.17 from mozilla.com
2. Go to battlefield.play4free.com
3. Log in
4. Press Play now
5. Install the requested plugin, and press restart.
6. The game (or actually the updater) starts, and shows you the EULA, but crashes.
A little explanation on how this game works when launching. You go on the website and installs a plugin, this plugin basically contains an exe file called BP4FUpdater. When you press on the "Play Now" button online, this file gets called with a bunch of parameters. This exe will check that the game is up to date before launching it, and if this is the first time you run the game, it will download the game.
If you want to try and launch the updater directly you can go into: C:\Users<YourUserName>\AppData\Roaming\Mozilla\Firefox\Profiles\ceaeu01e.default\extensions\battlefieldplay4free@ea.com\plugins and run BP4FUpdater.exe -sessionId "<YourSessionKey>" -serverDeltaTime "0" -loggedIn "true" -showStaticAdImage "false" -lang "en" -ip "<YourIP>" -soldierName "<YourSoldierName>" -hostname "battlefield.play4free.com"
The variables sessionId, ip and soldierName are you able to get from the webpage you get to when you press Play Now, inspect the source, and search for sessionId.
Attatched are the errors I get when running the updater directly from the command line, with the correct parameters (as seen working on a vmware image).