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

How do you know how to parse the library? #3

Open
SamKlier opened this issue Feb 23, 2022 · 1 comment
Open

How do you know how to parse the library? #3

SamKlier opened this issue Feb 23, 2022 · 1 comment

Comments

@SamKlier
Copy link

Hi,
thank you so much for this script which parsed an important Shareaza file for me perfectly.
Now I'm trying to unterstand what's going on in the script.
I'm specially interested in the tristate 'shared' value (line 1036).
How do you know how to parse the information? Is there a Shareaza documentation about the serialized objects? Or did you reverse engineer it?

Thanks in advance...
Sam

@fmpfeifer
Copy link
Owner

Hi, sorry for the delay.

Actually Shareaza is open source. So I just downloaded the source code and read and tried to understand it, at least the part of the code dealing with saving and reading the dat files.

There is a nice fork of the source code here: https://github.com/ivan386/Shareaza (for me it is much easer to get the code in github than in subversion - the original version control of shareaza).
You can see the definition of a TRISTATE here: https://github.com/ivan386/Shareaza/blob/0c2f2f56c8294c930f26463a522057d00ed319fa/shareaza/Shareaza.idl#L42

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

2 participants