Official eMule-Board: Node .dat Files Structure - Official eMule-Board

Jump to content


Page 1 of 1

Node .dat Files Structure

#1 User is offline   DavidH 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 06-December 18

Posted 06 December 2018 - 04:31 AM

Hi, a friend of mine asked me if I could make a simple program for him that takes multiple eMule node .dat files, extracts the individual nodes from them and merges the unique nodes into one .dat file. I have found a page (http://wiki.amule.org/wiki/Nodes.dat_file) with description of the .dat files structure.
My program seems to be working to some extent, but I am not sure, since any binary data can be decoded as nodes and I guess there is no way to validate them. Or is there?
For example according to the page, there are v0 files and all the other files are v2 like. But from what I had one v1 file, it seems more likely that the nodes are encoded like in v0, i.e. 25 bytes per node. At least the length of the file suggests that.
And other .dat files I was experimenting with were far too long for the number of nodes they were supposed to contain.
Can you please tell me about all the types of .dat files encoding or point me to some source from which I can find out how the decoding / encoding is done so that I can incorporate it into my program?
Thank you very much
0

#2 User is offline   pier4r 

  • Ex falso quodlibet ; Kad is the major concept behind emule.
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 588
  • Joined: 31-March 09

Posted 16 December 2018 - 12:48 PM

It is not needed.

The nodes.dat are needed for Kad to bootstrap (to contact someone when Kad is starting). Then they get updated with new info as some nodes in the nodes.dat may be not there anymore.

Therefore as long as you have a couple of healthy nodes in the nodes.dat emule will slowly find new nodes and update the nodes.dat.

Having plenty of nodes is unneeded.

Hopefully it helps.
>>>Feature Request (ICS) or SOTN, EmuleCollectionV2 >>> Emule on old hardware (intel pentium 2 or 3 - via c3 - and so on) with good OS settings and enough ram (256+ mb): great >>>user of: eMule - Xtreme - ZZUL bastard - SharX - SharkX 1.8b5 pierQR - ZZUL-Tra - ZZUL-Tra-TL - kMule - Beba

Extended signature: click.
0

#3 User is offline   DavidH 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 06-December 18

Posted 29 December 2018 - 03:09 PM

Thanks for your reply. I believe the reason why my friend wanted this is to omit the "slow" node finding phase you mention. I myself do not use eMule, so I cannot judge what improvement it could make. I guess if he wants the network mapped well at all times, another solution would be to leave eMule up and running so that is does the job itself.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users