Skip to content

Instantly share code, notes, and snippets.

@anadius
Created August 6, 2019 11:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anadius/f339dc93d530a08071a838dba3fe8c40 to your computer and use it in GitHub Desktop.
Save anadius/f339dc93d530a08071a838dba3fe8c40 to your computer and use it in GitHub Desktop.
How to force Origin to download games from HTTP servers

How to force Origin to download games from HTTP servers

Download, install and run Fiddler.

Open Tools > Options....

Options

In Performance tab uncheck Parse WebSocket Messages and set Stream and forget bodies over to 0 MB.

performance

In HTTPS tab check Decrypt HTTPS traffic and install certificates when prompted. From dropdown menu select ...from non-browsers only. Click on Skip decryption (it will now say Perform decryption) and in the field below enter api1.origin.com (if that doesn't work you can always go back to those options and change it to *.origin.com).

https

Accept changes with OK. Click on FiddlerScript tab, and from dropdown menu select OnBeforeRequest. Add following code under the selected line and click on Save Script.

if (oSession.uriContains("/ecommerce2/downloadURL") && oSession.uriContains("&https=true")) { 
    oSession["ui-backcolor"] = "lime";
    oSession.fullUrl = oSession.fullUrl.Replace("&https=true", "&https=false");
}

script

Optional: Open Rules and check Hide CONNECTs.

connect

Restart Fiddler, run Origin and start downloading/updating the game. This is what you should see:

working

That entry with lime background is where Fiddler edited URL. Following entries are proof Origin downloads from HTTP server.

How to uninstall certificates

If you decide you don't want to use it anymore (or Origin adds some better, official solution), open Tools > Options... go to HTTPS tab, uncheck Decrypt HTTPS traffic and from Actions menu select Remove Interception Certificates. And accept when prompted. Now you can uninstall Fiddler.

remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment