Skip to content

Experimental tool, capturing screenshots of Market window in Lost Ark and saving results to different outputs.

Notifications You must be signed in to change notification settings

Czupak/LostArkMarketScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LostArkMarketScan

Experimental tool, capturing screenshots of Market window and saving results to different outputs.

Dependencies

Python 3 and Tesseract are required.

You need to install Tesseract and setup the path in snap.py.

https://github.com/UB-Mannheim/tesseract/wiki

Usage

Currently coordinates to look for items are hardcoded, therefore will probably work for a very specific resolution. Working on self-calibration, so the coordinates could be pointed by the user.

Tested on 2560x1440.

21:9 might work with changes in snap/__init__.py

    self._row_height = 57
    self._items_location = {'x': 340, 'y': 275 + 110, 'width': 300, 'height': self._row_height}
    self._prices_location = {'x': 645, 'y': 275 + 110, 'width': 150, 'height': self._row_height}

Market window needs to be moved to the top-left corner.

  1. Run snap.py, you'll hear a beep. Alt-tab to the game.
  2. Make a search.
  3. Toggle Scroll-Lock to capture results.
  • The script will try to recognize items (OCR) and will beep for each item found.
  • High beep means, an item has been recognized. Low beep means that item has not been recognized.
  1. Repeat step 2-3.
  2. Toggle Num-Lock to terminate the script.

Results will be saved to snap.csv file and SQLite snap.db

SQLite [TODO]

Tables: items, prices

View: prices_history_v

Images

image image image

In the future

image

About

Experimental tool, capturing screenshots of Market window in Lost Ark and saving results to different outputs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages