Skip to main content

Baldur's Gate Computer Assisted Reroll for easy character high ability scores roll

Project description

BGCAR

Baldur's Gate Computer Assisted Reroll helps one effortlessly reach high ability scores for one's CHARNAME by performing computer assisted reroll. This program performs live roll result analysis and only stores the highest value. This is done by capturing screen area containing the total roll score and by analyzing this value using OCR.

Installation

Installing from PyPI:

pip install bgcar

Installing from source:

git clone https://github.com/simonkeyd/bgcar && cd ${_##*/}
pip install -r requirements.txt

Step by step guide

  1. Start Baldur's Gate or Baldur's Gate 2 in windowed mode
  2. Proceed to create your character and stop at ability page
  3. Run bgcar (for first time use add -i parameter)
  4. For first time use follow the initial wizard to provide the different positions that the program needs.
    Click on corresponding buttons when asked to and mark the area of the Total roll score by first clicking on the top left of this score and then on the bottom right.
  5. Let the program perform the rolls and stop it by pressing 't' when done

note: Baldur's Gate game window has to be in the foreground so that bgcar can perform capture and clicks.

Advanced usage

usage: bgcar [-h] [-i] [-d DELAY] [-m MAX_ROLL_COUNT] [--gpu]

options:
  -h, --help            show this help message and exit
  -i, --initialize      initialize required settings like button location - mandatory before program use
  -d DELAY, --delay DELAY
                        time in second to wait between each click (one can use decimal values); a delay too short for you setup might cause program to misbehave (eg. not
                        store roll correctly)
  -m MAX_ROLL_COUNT, --max-roll-count MAX_ROLL_COUNT
                        limit the maximum number of roll that you want the program to perform; by default bgcar will run in infinite mode
  --gpu                 enable GPU mode for OCR and accelerating program

Known issues

Invalid value results (eg. program finding incorrect value for a Total roll) can be caused by the following:

  • Total roll score area too big or too small
  • too poor game resolution
  • too small game window (or both)

To prevent this from happening try re-initializing Total roll area (using -i parameter) or enlarging game window and increasing game resolution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bgcar-1.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bgcar-1.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file bgcar-1.0.0.tar.gz.

File metadata

  • Download URL: bgcar-1.0.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for bgcar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2361fb9ca9aa42362d8e02d467c12c2e86dd53f0a3646d9e16d34f0f01aaf6f5
MD5 22209dd9e950c65278f66adfa1a581bc
BLAKE2b-256 84c4c9de1da4020fa0f9994e740b2b04a3f3c1649d8f2a709167485669f6baf8

See more details on using hashes here.

File details

Details for the file bgcar-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bgcar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for bgcar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6cc64cdee1a1ae2203831bedabd2f1cd687a95d75382de2126934b020677ec
MD5 1392ca3bfdd83ac901dc25a3d2155968
BLAKE2b-256 788b68d0a9c3a9f936949b4cbc6b4fa8d608126ddb6be3460b40f64799e9e662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page