Updated FDB Extractor

FDB Extractor

I’ve made several changes to the FDB extractor and fixed a few minor bugs. It now creates proper headers for DDS texture files.

Download FDB Extractor v1.1 (134.39 KB)

22 Comments to “Updated FDB Extractor”

  1. David says:

    Looks like you can’t extract a complete folder. I always get the following error message. Looks like you’re trying to cast a List into a single object of type Terestria.FDB.Viewer.NodeInformation. Try to cast into List instead :)

    System.InvalidCastException: Das Objekt des Typs “System.Collections.Generic.List`1[Terestria.FDB.FileInformation]” kann nicht in Typ “Terestria.FDB.Viewer.NodeInformation” umgewandelt werden.
    bei FDB_Extractor.Extractor.cmdExtractTree_Click(Object sender, EventArgs e)
    bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
    bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    —————————————-
    FDB Extractor
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/d.humpohl/Desktop/FDB%20Extractor.exe.
    —————————————-
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    —————————————-
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    —————————————-
    System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    —————————————-
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    —————————————-
    System.Drawing.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Drawing.resources.dll.
    —————————————-
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    —————————————-

  2. Seipheroth says:

    Yea looks like I forgot some to update some stuff in the foldertree, its been fixed now :)

  3. none says:

    first thanks about program, sir we extract files but how can compress files again if we edit something on files ???

  4. David says:

    Thanks for the great tool. Works now as expected :-)

  5. The CronoLink says:

    Wow, here I’m looking an app for fdb files to check the RoM’s and you do one exactly for those. Thanks a lot. :D

  6. Linnea says:

    Hi, if I try to extract the interface.fdb I got the following errors:
    ___
    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.ArgumentException: Der an Icon übergebene Win32-Handle ist ungültig oder hat den falschen Typ.
    bei System.Drawing.Icon..ctor(IntPtr handle, Boolean takeOwnership)
    bei System.Drawing.Icon..ctor(IntPtr handle)
    bei System.Drawing.Icon.FromHandle(IntPtr handle)
    bei FDB_Extractor.Extractor.GetFileDescription(String filename)
    bei FDB_Extractor.Extractor.GenerateTree(String archiveName, Archive archive)
    bei FDB_Extractor.Extractor.bgwArchiveLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
    bei System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
    bei System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3603 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    —————————————-
    FDB Extractor
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/Tools%26Installs/RoM/FDB_Extractor1/FDB%20Extractor.exe.
    —————————————-
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    —————————————-
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    —————————————-
    System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    —————————————-
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    —————————————-
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3603 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    —————————————-
    System.Drawing.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Drawing.resources.dll.
    —————————————-

    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
    ___

    Also music.fdb and other.fdb makes errors:
    __
    System.ArgumentOutOfRangeException: startIndex darf nicht länger als die Länge der Zeichenfolge sein.
    Parametername: startIndex
    bei System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    bei FDB_Extractor.Extractor.GetFileDescription(String filename)
    bei FDB_Extractor.Extractor.GenerateTree(String archiveName, Archive archive)
    bei FDB_Extractor.Extractor.bgwArchiveLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
    bei System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
    bei System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
    __

    I have one another question: which database fomate have fdb files?

    Thanks :)

  7. Seipheroth says:

    @Linnea:
    Info on the FDB format can be found on http://wiki.xentax.com/index.php/Runes_of_Magic_FDB :) .

  8. ... says:

    Link not working.

  9. Seipheroth says:

    Ah messed up some stuff with the downloads. Its fixed now so the download links are working again :) .

  10. Tom says:

    Hello, I can’t extract “*.fdb” for “v2.1.7.2069″, ex. “data.fdb -> data -> addpowerobject.db”.

    Thank you !!

  11. 7ero says:

    Would be great if you could make a library for fdb handling, i want to make a Tool to check the files if they damaged. (repairtool for rom)

  12. Dan says:

    Great tool!

    I have been able to modify sounds by creating mp3 files and puting them in directories under the Runes of Magic directory. However i’ve had no luck trying the same technique with dds textures. Does anyone have any tips on how to do this?

  13. shd says:

    That’s strange, i can’t recreate dds properly even with this version.

  14. tales says:

    Seipheroth – Do you know how to open the .db files found inside the .fdb?

  15. Mrkun says:

    i have a problem.. when i try to select a fdb file this thing pops up..

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at FDB_Extractor.Extractor.Tree_Generate(String name, Archive archive)
    at FDB_Extractor.Extractor.bgwArchiveLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
    at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    —————————————-
    FDB Extractor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/DOCUME~1/Miha/LOCALS~1/Temp/Rar$EX00.515/FDB%20Extractor.exe
    —————————————-
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    —————————————-
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    —————————————-
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    —————————————-

  16. BIGFAN says:

    Great program. But why can not extract the .dds? (…/runes of magic/fdb/texture0.fdb)
    I have the latest update!

  17. ohos says:

    hi, does this project still live? i really interested in full working fdb extractor and want help make it better

  18. fury says:

    cant extract data.fdb/data/itemobject.db for some reason

  19. Blabim says:

    Heya, great programm!
    I tried to edit some lamuren_torso files, extracted them from the texture0.fdb.
    the resulting .dds files contain the right “picture” but it is cut up into small horizontal stripes (4-5pixel) and mixed together again.
    so the result looks like 2 interlaced images, which is wierd for a texture. Ingame the textures then are also “striped” and dont fit on the model.
    But the standard textures the game loads from the .fdb work without problems. SO i´d guess smth. goes wrong while extracting the files from the .fdb.
    Any Ideas for a workaround?
    I only got that prob. with the lamuren textures so far.

  20. NooneImportant says:

    hi, i´d love to see this tool updated.
    everything except dds textures extracts without a problem.
    But all i want is the textures :-P
    thx

  21. Voronog says:

    Virus “Trj/CI” detected in rar file.

  22. CypherHackz says:

    Beware! The application contains trojan…

Leave a Reply

(required)

(required)