aianlinb / VisualGGPK2

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

extract torrent ggpk #14

Closed Chuanhsing closed 3 years ago

Chuanhsing commented 3 years ago

System.OverflowException: Arithmetic operation resulted in an overflow. at LibBundle.BundleContainer.Read(BinaryReader br) in D:\GitHub\LibGGPK2\LibBundle\BundleContainer.cs:line 109 at LibGGPK2.GGPKContainer.Export(IEnumerable`1 list, Action ProgressStep) in D:\GitHub\LibGGPK2\LibGGPK2\GGPKContainer.cs:line 211 at VisualGGPK2.MainWindow.<>c__DisplayClass23_0.b__0() in D:\GitHub\LibGGPK2\VisualGGPK2\MainWindow.xaml.cs:line 450

libggpk2 should skip missing files and extract available files.

aianlinb commented 3 years ago

Fixed in v0.11.4

alcor75 commented 3 years ago

With version v0.11.4 i get this error if i try to view any .dat file:

System.NullReferenceException: Object reference not set to an instance of an object. at LibGGPH2.Records.BundleFileNode.ReadContent(StreamggpkStream) in c:\Bot\GGPKVievers\LibGGPK2-master\LibGGPK2\BundleFileNode.cs:line 59 at VisualGGPK2.MainWindow.OnTreeSelectedChanged(Object sender, RoutedPropertyChangedEventArgs`1 e) in c:\Bot\GGPKVievers\LibGGPK2-master\VisualGGPK2\MainWindow.xaml.cs:line 238

I'm i doing something wrong?

Tnx you.

aianlinb commented 3 years ago

@alcor75 That’s because the torrent GGPK file does not contain the dat files

alcor75 commented 3 years ago

Ah! shame on me. Tnx for the fast answer.

zaafar commented 3 years ago

Just an FYI: After the patch, looks like Chests got some new data. image

aianlinb commented 3 years ago

@zaafar Fixed in v0.12.0