-
Notifications
You must be signed in to change notification settings - Fork 16
Full Auto
RDRM-PGSS Full-Auto controls everything with one command.
git clone https://github.com/123FLO321/RealDeviceRaidMap --recurse-submodules
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Download and install the latest Python 3.6 version from here or your favourite package manager.
Download and install the latest Tesseract version (for MacOS: brew install tesseract)
- Create a venv using this command:
python3.6 -m venv path/to/create/venv(example:python3.6 -m venv ~/venv_pgss) - Activate the venv using this command:
source path/to/venv/bin/activate(example:source ~/venv_pgss/bin/activate - Make sure to always activate the venv when running python commands later on
Go into the PGSS folder and install the requirements: pip3.6 install -r requirements.txt -U (Comment out mysqlclient or psycopg2 and psycopg2-binary depending on your DB-type)
- Install Xcode CLI Tools if the are not installed allready:
xcode-select --install - Enable the TOols:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Run the following commands (might take a while)
brew install --HEAD usbmuxd
brew install --HEAD libimobiledevice
brew install libimobiledevice
brew install libzip
export PATH=/usr/local/opt/openssl/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$LD_LIBRARY_PATH
export CPATH=/usr/local/opt/openssl/include:$CPATH
export LIBRARY_PATH=/usr/local/opt/openssl/lib:$LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
git clone https://github.com/123FLO321/idevicelocation
cd idevicelocation
./autogen.sh
make
sudo make install
cd ..
rm -rf idevicelocation
brew uninstall libimobiledevice
brew install --HEAD libimobiledevice
brew link --overwrite libimobiledevice
sudo chmod -R 777 /var/db/lockdown/
- Go into the PGSS folder
- Copy
config.example.pytoconfig.py - Edit
config.py
TODO
Run the following SQL to update the PGSS and Monocle tables:
ALTER TABLE pokemon_images
ADD COLUMN form smallint(6) DEFAULT NULL;
ALTER TABLE raids
ADD COLUMN form smallint(6) DEFAULT NULL;ALTER TABLE pokemon_images
ADD COLUMN form smallint DEFAULT NULL;
ALTER TABLE raids
ADD COLUMN form smallint DEFAULT NULL;
-
DB_ENGINE: Configure your DB connection. -
SCAN_AREA: Set a Polygon (or MultiPolygon) where Full-Auto should scan raids inside. (make sure to import Polygon or Multipolygon like in the example in the config) -
DEVICE_LIST: Enter all Identifiers of the Devices you want to use. (Get them in: Xcode -> Window -> Devices and Emulators -> Device Properties -> Identifier) -
SCREENSHOT_DELAYSThe interval (in seconds) to capture screenshots. Array that matches DEVICE_LIST order. -
TELEPORT_DELAYS: The time (in seconds) to stay at coords in order to capture screenshots. Array that matches DEVICE_LIST order.
You can leave all other settings the default values (for now)
python3.6 raidscan.py (or python3.6 raidscan.py config2 to use another config)
Still need help? Check #faq or ask in #help in our Discord