GithubHelp home page GithubHelp logo

otool's Introduction

OTool

OTool is designed as an open source command-line utility for downloading your Origin games. It allows you to easily view, download and install your purchased products from the Origin platform without needing to have Origin installed on your system.

This lightweight and simple interface means you do not need to have X servers, or out-of-date versions of Origin installed on your Linux system in order to use it.

Venice Unleashed

We have a Venice Unleashed specific branch available at otool/vu. This version simplifies the installation process by automatically finding your Battlefield 3 and expansion pack product IDs, followed by downloading and installing.

What you can do

  • View owned games and their IDs
  • View all products, including DLCs on Origin and their IDs
  • Install products from the Origin platform

What you cannot do

  • Download/play games that you are not entitled to
  • Play games without having Origin installed
  • Perform updates on downloaded games

How to use it

There are a few prerequisites that must be satisfied in order to use this application. As a first step, you must ensure that a version of Python 3 is installed on your system. Furthermore, you must install the required Python packages found in requirements.txt. This can be done through pip3 using pip3 install -r requirements.txt.

Logging in

In order to use this application, you must provide your Origin email address and password. This can be done using the -E and -P flags.

  • python3 otool.py -E <email> -P <password> <command>

If you do not provide your credentials through the command-line flags, you will be prompted to once the utility has started.

  • python3 otool.py <command>

If you have Two-Factor Authentication enabled on the account, you will be prompted to select the method you wish to receive the code with. Once you select the method, you must wait to receive the code and enter it once you have received it.

Commands

There are a few commands provided by the application:

  • games provides you with a list of the base games (and their IDs) entitled to your Origin account.
    • python3 otool.py games
  • entitlements provides you with a list of games and DLCs (with their IDs) that you are entitled to on your Origin account.
    • python3 otool.py entitlements -w <wildcard>
    • An example command to find DLC entitlements looks like this:
      • python3 otool.py entitlements -w BF3:PC:XPACK*
  • allgames provides you with a list of all games (and their IDs) available on the Origin platform. This can be used to obtain a list of DLCs for a certain game.
    • python3 otool.py allgames
  • install allows you to install a game and its DLCs provided you have the respective IDs.
    • python3 otool.py install -i <installer> -g "<game_id>" -e "<dlc_id1>" "<dlc_id2>" ... -d <installation_path>
    • The available installer options are:
      • Frostbite (fb)
    • An example installation command for BF3 looks like this:
      • python3 otool.py install -i "fb" -g "DR:225064100" -e "OFB-EAST:50631" "OFB-EAST:51080" "OFB-EAST:55172" "OFB-EAST:109546437" -d "~/bf3"
        • OFB-EAST:50631: Close Quarters (XPACK2 - Non-premium)
        • OFB-EAST:51080: Armored Kill (XPACK3 - Non-premium)
        • OFB-EAST:55172: Aftermath (XPACK4 - Non-premium)
        • OFB-EAST:109546437: End Game (XPACK5 - Non-premium)
      • You can use the entitlements command provided above to find the DLC IDs for your account.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

All trademarks and registered trademarks are the property of their respective owners.

otool's People

Contributors

imposter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

otool's Issues

Downloading DLC failed

I believe I've used this right, I used the current version with the 4 lines re-added from the other issue, game downloaded and extracted correctly however it appears only 1 or so of the DLC correctly downloaded before erroring, This screenshot is of the resulting error with the command used to run it below that with login info removed, and some filepaths blacked out:
Untitled

I'd just post the whole thing but the majority is shell complaining about no SSL certificate repeatedly. I'm willing to help with testing to iron out issues like this if you're still committed to this project, it's really useful

Functionality loss in latest version

image
In the latest version, you get this:
image
With lines 10-13 re-added it at least doesn't fail without arguments and gets to the part where it tells you how to use it. I didn't test this version further yet. I am not proficient in python nor how origin's API works, so I might just be wrong here.

-r error msg

When you use -r you get "otool.py: error: argument -r/--remove: expected one argument"
vu branch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.