Announcement

Collapse
No announcement yet.

Can you inspect the Media Library database using just the main.dat file?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lorisaare
    replied
    You are the smrtest person I know

    Leave a comment:


  • drumskirun
    replied
    Solved

    The author of the node-nde library
    code:
    https://github.com/Wiiseguy/node-nde
    has updated it to be able to read any .dat file without needing it's corresponding .idx file.

    Problem solved!

    Leave a comment:


  • Can you inspect the Media Library database using just the main.dat file?

    I lost some music recently in a botched drive migration but was hoping to maybe see what it was that I had lost by trying to inspect the Media Library database (located in AppData/Roaming/Winamp/Plugins/ml). From what I've read, the database consists of two files, a main.dat and a main.idx. It seems as though the database is some proprietary thing Nullsoft made
    code:
    http://wiki.winamp.com/wiki/Nullsoft_Database_Engine
    .

    Unfortunately, my database updated itself after the migration, so it no longer contains any of the songs that I lost. However, there's a backup copy of main.dat from a year ago in that directory (called something like main.dat.n3w00001A60 with a 40MB file size, so it seems valid) but, alas, there's no accompanying main.idx file.

    I found a Node library
    code:
    https://github.com/Wiiseguy/node-nde
    that's able to read my current database, but when I try to pass it the path to the old .dat file with the current .idx file, unsurprisingly it doesn't work.

    Does anyone know if it would be possible to inspect that older copy of the database (the .dat file) without its associated index (.idx) file?

    Thanks
Working...
X
😀
🥰
🤢
😎
😡
👍
👎