Origin 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

Patch for download speed

There is a binary patch for Qt5Network.dll available that enabled buffering of the TCP Socket:
http://bugs.winehq.org/show_bug.cgi?id=31438#attach_47911

Just do as the comment says. Download the file as Qt5Network.bin.patch into the Origin directory (where the Qt5Network.dll file is located).
Change in the directory and run the command:
patch -p0 < Qt5Network.bin.patch

Should just output: patching file Qt5Network.dll

This should fix problems regarding the download speed in origin.
Just downloading Dead Space+Mass Effect with 6MB/s.

Hi,

Thanks for the heads up. Downloading ME3 as I write this and it's going as fast as my bandwidth allows.

Its nice to see that Origin is working! I'll have to try this at some point. Now that I repurchased ME1 and ME2 on Steam, I don't need to use Origin at the moment.

Thank you. This patch worked reasonably well for me as well.

For anyone else reading, to determine where that file should go (took me a bit to figure it out), you will want to do the following:

Open Crossover
In the header, go to Tools / Manage Bottles
Under the desired bottle, click "Open C Drive"
This will open the C Drive in a new window, and you can navigate to:

Program Files / Origin.

Make a note of the entire path. It will be something like

/home/[username]/.cxoffice/Origin/dosdevices/c:/Program Files/Origin

The patch should be copied to that location. Then open that location in origin and run the patch as described above.

I figured out how to do the same thing in Crossover Mac.

First download the two files in http://www.codeweavers.com/xfer/balfour/origin/

Then open Crossover, go to the Configure menu, Manage Bottles, select the Origin bottle, and Open C: drive in Finder. Go into drive_c/Program Files/Origin and copy those two files into that directory.

Finally launch Terminal (in Applications>Utilities) and run the python script. Easiest thing to do is type in:

python (drag and drop the patch_qt5network_wine.py file onto the Terminal window)

which will fill in the full path to the python script. Hit enter and it'll apply the patch. Origin started downloading games for me after that.

Going to that URL asks for an unlock code.

Yeah, the files shared by Balfour are behind a password. Either way, the patch worked for me in Mac.

Just download "Qt5Network.bin.patch" from the link in the original post and within the Bottle, place it in "Program Files/Origin/". Open terminal, type "cd" and drag the Origin folder, press enter, then paste the command "patch -p0 < Qt5Network.bin.patch" and run it.

Pretty easy. I'm getting an average of 2 MB/sec, downloading FIFA 14.

Ack, sorry I thought it was unlocked. Access code is "origin".

If you read the original post on WineHQ, the poster gives md5 sums for the dll. This patch, at least for me, worked even when the dll's md5 hash did not match the one for my system.

Dunno if a recent Origin update broke this fix but when I try to patch the file, I get this output:

~/.cxoffice/Origin/drive_c/Program Files/Origin> patch -p0 < Qt5Network.bin.patch
patching file Qt5Network.dll
Hunk #1 FAILED at 13883.
1 out of 1 hunk FAILED -- saving rejects to file Qt5Network.dll.rej

Dug around on the WineHQ bugzilla and discovered that a recent update to Origin did infact break this fix.

Instead of running patch -p0 < Qt5Network.bin.patch

You now must run printf '\x01' | dd of=Qt5Network.bin bs=1 seek=518625 count=1 conv=notrunc

I've been thinking that EA has been intentionally been making their stuff Linux-unfriendly. This is just more evidence in support of that belief.

Oh man, some people should tone down their conspiracy theory mode. For your convenience:

https://bugs.winehq.org/show_bug.cgi?id=31438

Start around comment no. 117. Unless you think the people working on QT are also "in on it"...

Looks like this was patched upstream:

Hey Crossover - any chance of you implementing this patch in your branch?

https://bugs.winehq.org/show_bug.cgi?id=31438#c196

Ooh, nice catch. Hopefully this can be cherry-picked for the next dot release. That would be one heck of a win.

That seems unlikely. Origin has been removed from the distribution list. Why would CodeWeavers do that if they were planning on adding official support. Forgive the conspiricy theorist here, however I think EA sent them a request to remove Origin from the list, because they hate everything that can't be DRM'ed to death.

First of all, I never mentioned anything about official support. Fixes from upstream wine get cherry-picked and integrated into the CX build of wine sometimes.

Second, what "distribution list" are you talking about? It can be found by searching the site or within CrossOver.

image

Ah, I thought you were suggesting Origin may get official support in CX 15.

Under the details tab there is a place that lists where a programs distribution methods such as Steam, or GOG. There is a full list under details --> admin dists --> add. That list. It contained Orgin last year, but this has since been removed.

The next major CrossOver release will include an updated Wine and thus have the mentioned patch.

1 to 19 of 19

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...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMzNzU5ODAxLCJjc3JmX3Rva2VuIjoic0ZRVnVjTm5mV2Ntc3NzdCIsImdkcHIiOjB9