Terestria Random Stuff

3Jan/1014

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)
Comments (14) Trackbacks (0)
  1. 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. Yea looks like I forgot some to update some stuff in the foldertree, its been fixed now :)

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

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

  5. 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. 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. Link not working.

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

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

    Thank you !!

  10. 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)

  11. 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?

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

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


Leave a comment


No trackbacks yet.