Home Mods & CC Utilities (inc Notes) Pictorials Stories Seahouses Bay Misc My Simblr Buy Me A Coffee!

DBPF Viewer

The DBPF Viewer is a simple application to display the (programming related) resources of a DBPF (.package) file. It was written primarilary as a testing application for the DBPF Library, but also supports exporting resources as XML (either to the clipboard or to a file).


Before using DBPF Viewer it is necessary to tell it where to find the objects.pacakge file for the latest expansion you have installed. From the "File" menu, select "Configuration..." and either enter or browse to the install location (where the CSBin, TSBin and TSData sub-directories are located) - for UC this will end "Fun with Pets\SP9"

Yes, I know that's the configuaration dialog for BHAV Finder, but they're the same.


To open a package, from the File menu, select "Select Package..." (or type "Ctrl+O") and browse to find the required package file. If this file has been opened recently, it can quickly be re-opened from the "File", "Recent Packages..." sub-menu.

The supported resource types are BCON, BHAV, CTSS, GLOB, OBJD, OBJf, STR#, TPRP, TRCN, TTAB, TTAs and VERS. To limit which ones are displayed, use the Resources menu to turn them on or off.

The selected resources can be exported as XML either to the clipboard (File menu, Save XML To Clipboard - Ctrl+S) or to a file (File menu, Save XML As... - Ctrl+Alt+S)


Shortcut Keys

  • Alt+F - File menu
  • Alt+H - Help menu
  • Alt+F4 - Exit

  • Ctrl+O - Open file (select package)

  • F1 - Help (about)

Source Code

Source code can be downloaded from GitHub


Change Log

Version 2.0

  • Recompiled to fix compression and SimPe issues - see here

Version 1.1

  • Improved error handling
  • Improved resource usage

Version 1.0

  • Initial release


Code Reuse Policy

You are free to use my code in any way you want, a credit would be nice, but not required.

Specifically, you may

  • reverse engineer the code to figure out how I did it
  • modify the code to do something different but similar and redistribute it, provided you change the name of the .package file
  • merge my code into your own mod and redistribute it
  • merge my code into another mod for your own use. You may redistribute this mod-mod ONLY if the author(s) of the other mod permit it

Files