First of all, thanks for keeping this project alive!
I was attempting to run the scripts to update the json files myself, and ran into an issue in the 2_cache script where it would fail to dump the cache using the net.runelite.cache.Cache jar
Exception in thread "main" java.lang.RuntimeException: Invalid data
at net.runelite.cache.fs.Container.decompress(Container.java:101)
at net.runelite.cache.fs.jagex.DiskStorage.loadIndex(DiskStorage.java:134)
at net.runelite.cache.fs.jagex.DiskStorage.load(DiskStorage.java:108)
at net.runelite.cache.fs.Store.load(Store.java:121)
at net.runelite.cache.Cache.loadStore(Cache.java:127)
at net.runelite.cache.Cache.main(Cache.java:64)
I asked around in the Runelite discord and they mentioned that their cache dumps are created using the same packer tool we use to unpack the flatcache files. I tested the scripts using the files generated from that and it picked up the new/changed items and NPCs.
First of all, thanks for keeping this project alive!
I was attempting to run the scripts to update the json files myself, and ran into an issue in the 2_cache script where it would fail to dump the cache using the net.runelite.cache.Cache jar
I asked around in the Runelite discord and they mentioned that their cache dumps are created using the same packer tool we use to unpack the flatcache files. I tested the scripts using the files generated from that and it picked up the new/changed items and NPCs.
Would you like a PR to merge these changes up?