Hi, PBL and PBD files contain:
- List of all source objects in the file (a directory incl. where in file the object is located)
- The text defining each DataWindow object
- Compiled version of every class (remember even global functions, structures, and application object are classes though each is restricted in some way)
- Source code version of every class -- ONLY in PBL, NOT in PBD
Therefore - and I'm very sorry - from a PBD you can get the source code for every DataWindow object but the source code for every PowerScript class in that library is GONE!
Even the best and costliest decompiler can only get back partial source code.
- EX A: Conditional compile may have resulted in .PBD just having empty lines in certain code areas
- EX B: Project objects have no compiled equivalent so they are totally gone. Completely.
The ONLY way to get your PBL files back including all source code is either backup (which I understand is not available) or retrieving from source control. NOTE: Even from source control standard properties of application object are only partially available.
NOTE
App icon and default fonts you will have to enter once more. They ONLY exist in the compiled version of the app object. This Appeon tells is improved in upcoming release but that doesn't help you right now, today.
Do you have a backup even if it is "old" like weeks old or so? "Get Latest" from source control is far easier if you have oudated version of source code than no code at all.
I guess you use traditional/legacy source control (read: Not native source control for git nor SVN). In that case I suggest ytou do Get Latest twice. First time will create PBL files you are missing. Second time will get all the source code for the new PBL files.
If you have no backup and no tools like PBGEN to recreate all from source then it is still possible to recreate all from scratch albeit tedious - and as noted above a few properties on the application object must be entered explicitly. Hopefully you have back to jump start your source recovery.
Wishing you luck (in Europe at CET) so it is WAY late for me. Perhaps someone in the Americas or Asia can help you further while I and other PB folks in Europe/Middle East/Africa get some sleep.
HTH /Michael