Battlelogium / Battlelogium

Battlelog client for Windows.
http://battlelogium.github.io/Battlelogium
Other
58 stars 17 forks source link

Battlefield 4 Community Test Environment (CTE) Support? #50

Open BooBerry opened 10 years ago

BooBerry commented 10 years ago

Is it possible to get official Battlefield 4 CTE support with Battlelogium?

http://cte.battlelog.com/bf4/

chyyran commented 10 years ago

I don't have Battlefield 4 premium nor do I plan to given it's $50 price tag. I just don't play that much BF4 :/ I got the game for the equivalent of around $15 back when Dogecoin was still at an all-time high. If I ever do get it though, I'll get straight on it, if CTE is still a thing by then.

If you really want support for it, and aren't afraid to get your hands a bit dirty, feel free to fork my repo, add support for CTE. Don't forget to create a pull-request and merge your changes back in once you're done :) I've written instructions on how to create a new client for a Battlelog here: https://github.com/ron975/Battlelogium/wiki/Creating-a-client-for-an-arbitrary-Battlelog

Although.. since all the BF4 code has been written all you really have to do is copy everything BF4 related, make a few changes, basically adding that cte part to the battlelog url and you should have some basic CTE support. If you want I can get you a build based off the Battlefield 4 code where I switch the URL out with the CTE URL, but I can't guarantee that it'll work with CTE at all, nor can I guarantee future support since I can't actually fix any bugs as I can't actually access CTE.

Another issue, though pretty small, is that I don't know if I were to make modifications to make the Javascript or any other part of Battlelogium work with CTE, would that construe a violation of the Confidentiality Agreement. I wouldn't think EA cares at all about someone revealing some tiny amounts of Javascript, that probably is already present in the regular BF4 Battlelog however.

I'll leave this issue open for now if I ever get around to buying BF4 premium. Maybe when EA has a sale.. For the time being, I've marked the issue as wontfix.