dbcviewer
dbcviewer copied to clipboard
DB2 (WDB5) sparse Saving
Hello there,
I've checked out your DBC Viewer and I must say it's done its job quite well by allowing you to manually edit and add rows, if necessary, to the Legion DB2s (WDB5).
However, there's one that has issues while saving happens: item-sparse.db2. This db2 has always been a special one and I noticed in your code you load it differently with:
public bool IsSparseTable { get; private set; }
You can edit it as normal, however as soon as you save it then for some reason it is not saved as a sparse storage DB2 would be. The way I confirmed this was by editing one test row in and then opening up a testing environment where it loads all the db2s and it resulted in me being given the following error:
(metaFlags & 0x1) != 0, "Item-sparse.db2 is not a sparse storage, use DB2Storage!"
Which leads me to believe there's an issue in regards to the metaflags on saving a DB2 as a sparse storage.
I've been looking into means to see if I can fix this, but I frankly can't. Perhaps you can @tomrus88 and if not then the issue's here for everyone to look at it, I suppose.
Thanks in advance.
Kind regards, DJScias
Saving as sparse table not implemented at this time. When saving sparse table DB2, it's converted to regular table.
I understand and I will patiently wait for it to be implemented, if ever.
Thanks for the answer, @tomrus88 :)
Kind regards, DJScias
Hello, thank you for the open source project. I found a problem that could not be saved ItemDisplayInfo.db2 file. What can help me,thank!