Andrewthe13th / Inventory_Kamera

Scans Genshin Impact characters, artifacts, and weapons from the game window into a JSON file.
MIT License
695 stars 115 forks source link

Characters not scanned #520

Open Zamasu97 opened 6 months ago

Zamasu97 commented 6 months ago

Current Behavior

During character scanning it only scans the active character, constelations and basic attack lv, then it stops Console output is

Unable to locate Weapons item count.

Parameter is not valid.

   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

   at InventoryKamera.Navigation.CaptureRegion(RECT region, PixelFormat format)

   at InventoryKamera.CharacterScraper.ScanTalents(Character character)

   at InventoryKamera.CharacterScraper.ScanCharacter(String firstCharacter)

   at InventoryKamera.CharacterScraper.ScanCharacters(List`1& Characters)

   at InventoryKamera.InventoryKamera.GatherData()

Expected Behavior

The scanner continues to scan

Reproducing a Behavior

Start scanner with Characters selected

Device OS

Windows 11

Genshin Impact Version

4.6

Inventory Kamera Version

1.3.16

Screen resolution, screen mode, and UI scale

1920x1200 windowed

Additional notes and remarks

No response

Evidence

No response

Preflight Checklist

cr4zyc4t commented 2 months ago

I tested multiple times, it seems that scanner will stop if the game graphics settings does not set to 16:9 resolution