Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB2 (WDB5) sparse Saving #6

Open
DJScias opened this issue Jul 30, 2016 · 3 comments
Open

DB2 (WDB5) sparse Saving #6

DJScias opened this issue Jul 30, 2016 · 3 comments

Comments

@DJScias
Copy link

DJScias commented Jul 30, 2016

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

@tomrus88
Copy link
Owner

Saving as sparse table not implemented at this time. When saving sparse table DB2, it's converted to regular table.

@DJScias
Copy link
Author

DJScias commented Jul 30, 2016

I understand and I will patiently wait for it to be implemented, if ever.

Thanks for the answer, @tomrus88 :)

Kind regards,
DJScias

@sndwow
Copy link

sndwow commented Sep 11, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants