aianlinb / VisualGGPK2

Library for Content.ggpk of PathOfExile (Rewrite of libggpk)
GNU Affero General Public License v3.0
159 stars 32 forks source link

Errors on CraftingBench* dats #21

Closed dotnetdan closed 3 years ago

dotnetdan commented 3 years ago

Hi,

I noticed the following files can't be viewed:

The error is

---------------------------
Error
---------------------------
System.Exception: CraftingBenchOptions.dat : Actual record length: 191 is not equal to that defined in DatDefinitions: 175

   at LibDat2.DatContainer..ctor(Stream stream, String fileName) in C:\LibGGPK2\LibDat2\DatContainer.cs:line 91

   at VisualGGPK2.MainWindow.OnTreeSelectedChanged(Object sender, RoutedPropertyChangedEventArgs`1 e) in C:\LibGGPK2\VisualGGPK2\MainWindow.xaml.cs:line 300
---------------------------
OK   
---------------------------
aianlinb commented 3 years ago

Fixed Replace your DatDefinitions.json with the lastest one https://github.com/aianlinb/LibGGPK2/blob/master/LibDat2/DatDefinitions.json