Andrewthe13th / Inventory_Kamera

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

Unable to update game data #454

Closed Daniil-pizza closed 1 year ago

Daniil-pizza commented 1 year ago

Current Behavior

On open scan asks to update lookup tables, after trying to update gives error massage. Trying to update lookup tables through options menu result the same

Expected Behavior

The scanner to supports game new or edited content

Reproducing a Behavior

Just try to update lookup tables in any way image

Device OS

Windows 11

Genshin Impact Version

3.7

Inventory Kamera Version

1.3.8

Screen resolution, screen mode, and UI scale

full screen

Additional notes and remarks

tried use scanner 1.3.7, makes same error

Evidence

InventoryKamera.debug.log InventoryKamera.log

Preflight Checklist

e5pe commented 1 year ago

It's happenning the same for me but I think you are looking at the wrong log file, it's in /logging/archives. The last lines in my log are these:

2023-06-09 17:10:37.228|INFO|InventoryKamera|Kamera initialized
2023-06-09 17:10:37.228|INFO|MainForm|Resolution: 1920x1080
2023-06-09 17:10:37.396|INFO|InventoryKamera|Logging directory reset
2023-06-09 17:10:38.183|ERROR|UserInterface|System.FormatException: Data file for Characters is invalid. Please try running the auto updater and try again.
   en InventoryKamera.DatabaseManager.GetList(ListType list)
   en InventoryKamera.Scraper.ReloadData()
   en InventoryKamera.Scraper..cctor()
2023-06-09 17:10:38.183|INFO|MainForm|Hotkey removed

Using: Genshin Impact Version 3.7

Inventory Kamera Version 1.3.8

Daniil-pizza commented 1 year ago

InventoryKamera.20230608162433.debug.log InventoryKamera.20230608162433.log Well logs from there

Riskinz commented 1 year ago

Having the same issues myself, tried to change the location files where it was looking but something isnt right. InventoryKamera.log InventoryKamera.debug.log

Barikly commented 1 year ago

Same issue happened to me. InventoryKamera.debug.log InventoryKamera.log

diggtrap commented 1 year ago

Getting the same error InventoryKamera.debug.log InventoryKamera.log

Edit: Seems like Dimbreath's github database was removed, his profile redirects to this one https://gitlab.com/Dimbreath/AnimeGameData

rafsawicki commented 1 year ago

This is likely the same issue that I was having, so it should be fixed in a new version since a fix was merged

Daniil-pizza commented 1 year ago

So now as issue found I just need to wait for fix in 1.3.9?

juandvasquezp commented 1 year ago

Program has been using the fandom wiki for a while instead of that repository, what happened is that someone made a change in the characters wiki.

huang-jy commented 1 year ago

As a minor workaround if you want the app to work, is to re-extract the zip from the releases (Which will overwrite the messed up data files) and start the app, but then choose NOT to update. The app will run and work (albeit with older database)

Daniil-pizza commented 1 year ago

Yup update to 1.3.9 works just fine (option to not update lookup tables on 1.3.8 made and error on ry to scan)