Script to scan video or screenshots of user scrolling through their ACNH Nook Shop catalog, DIY recipes list, critters, song list, reactions and more.
Includes a Telegram Bot for ease of use. Try it out!!
This repo is a fork of the original CatalogScanner by Ehsan Kia which had the Twitter bot and later on a Discord bot. I use neither of those platforms, so I decided to make a Telegram bot.
Prerequisites:
- Python 3.12+
- Tesseract-OCR
- Poetry
This package uses Tesseract-OCR to read the text from the screenshots / video. You need to install it first.
With the installation of the binary, you need to install the language packs for the languages supported by the script. You can find the list in pacman-deps.txt.
For Arch Linux users, you can install the required packages with the provided script after cloning the repo (this also installs the python dependencies):
./install.sh
In addition to the language packs you also need a tesseract script file. You can download it from their Github repository. Make sure you download it to the right place for your platform.
sudo mkdir -p /usr/share/tessdata/script
sudo curl "https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/script/Latin.traineddata" -o /usr/share/tessdata/script/Latin.traineddata
You can install the required libraries using Poetry:
git clone https://github.com/Nachtalb/CatalogScanner
cd CatalogScanner
poetry install
# if you want to use the Telegram bot
poetry install --with bot
poetry shell # to activate the virtual environment
Before using this script, you need to create a valid video file. You can find instructions on how to do so here: Exporting the Catalog.
When you have your video / screenshots, you can scan them with the script:
catalogscanner catalog.mp4
# explore the help for more options
catalogscanner --help
If you have screenshots, you can pass it as is if there is a single one,
otherwise you need to number them starting with 0 and pass the filename with
%d
instead of the numbers.
catalogscanner catalog_%d.png
By default, it will detect the media type (catalog, recipes, etc), but you can
force on with --mode
.
You can use --for_sale
to filter out items that are not purchasable, and you
can use --locale
to adjust the parsed language. By default, the script prints
out the name of all the items found in your catalog video.
To use the scanner, first record a video or take screenshots of what you want to scan. Then, simply send the video or screenshot to the bot. You'll receive a list of items that you can import into your tracker.
These instructions are also available here
🛍️ Nook Shopping
- Open Nook Shopping on the ATM or phone
- Select the desired catalogue and optionally a subsection
- Scroll to the bottom by holding down the right analog stick
- Hold the "Capture" button (left Joy-Con) to record the last 30 seconds
- Open the Switch's Album gallery and select your video
- Trim the video to include only the start and end of the scrolling
- Send the video to your phone using "Send to smart device"
- Send the video to the Telegram bot @ACNHScannerBot
Click the GIF to view the full video
🛠️ DIY Recipes
- Open your DIY Recipes on your phone
- Scroll to the bottom holding the left analog stick
- Hold the "Capture" button (left Joy-Con) to record the last 30 seconds
- Open the Switch's Album gallery and select your video
- Trim the video to include only the start and end of the scrolling
- Send the video to your phone using "Send to smart device"
- Send the video to the Telegram bot @ACNHScannerBot
Click the GIF to view the full video
🐛 Critterpedia
- Open Critterpedia on your phone
- Make sure you are in List Mode, not Display Mode
- Move through every section to view all Bugs, Fish, and Sea Creatures
- Hold the "Capture" button (left Joy-Con) to record the last 30 seconds
- Open the Switch's Album gallery and select your video
- Trim the video to include only the start and end of the scrolling
- Send the video to your phone using "Send to smart device"
- Send the video to the Telegram bot @ACNHScannerBot
Click the GIF to view the full video
🎵 Music
- Open your song list by interacting with any music player
- Scroll to the bottom using the left analog stick
- Hold the "Capture" button (left Joy-Con) to record the last 30 seconds
- Open the Switch's Album gallery and select your video
- Trim the video to include only the start and end of the scrolling
- Send the video to your phone using "Send to smart device"
- Send the video to the Telegram bot @ACNHScannerBot
Click the GIF to view the full video
😍 Reactions
- Press ZR to open the Reactions Wheel
- Press Y to access the full list of reactions
- Move your cursor to an empty spot or the top right corner
- Press the "Capture" button (left Joy-Con) to save a screenshot
- Open the Switch's Album gallery and select your screenshot
- Send the screenshot to your phone using "Send to smart device"
- Send the screenshot to the Telegram bot @ACNHScannerBot
Original script by Ehsan Kia.
The item name data comes from:
- https://tinyurl.com/acnh-sheet
- https://github.com/imthe666st/ACNH
- https://github.com/alexislours/translation-sheet-data
This project is dual-licensed:
- Original work: MIT License (LICENSE-MIT)
- Modifications and new files: GNU Lesser General Public License v3.0 (LICENSE)
Individual files contain SPDX license identifiers indicating applicable license(s). When using or distributing this software, please comply with both licenses.