Author Topic: Library tool for PowerBASIC to "explode" libraries.  (Read 1752 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Library tool for PowerBASIC to "explode" libraries.
« on: January 10, 2015, 11:02:14 AM »
Something missing from the PowerBASIC library toolkit was the capacity to extract all SLL modules in one operation. Unfortunately Bob passed away before items like this were available. This tool is designed to perform this function and is very easy to use.

explode.exe

NOTATION : explode yourpblib.ext

To use this tool, a new directory should be created. Place the library to
explode and explode.exe in this directory. Run the above command line and
the SLL components of the library will be written as separate files in the
current directory.

It has not been exhaustively tested but works OK on libraries created with both the current versions of PBCC and PBWIN. Modules extracted in this manner and rebuilt back into libraries perform correctly.

Link in next post.  :biggrin:
« Last Edit: January 11, 2015, 10:28:37 AM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Library tool for PowerBASIC to "explode" libraries.
« Reply #1 on: January 10, 2015, 11:55:45 PM »
I have tracked down a couple of bugs i the first version, the last SLL was one byte too long and in some circumstances it would miss an SLL near the beginning of the library. These 2 bugs have been fixed.

Next version posted below.
« Last Edit: January 13, 2015, 10:19:03 AM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Library tool for PowerBASIC to "explode" libraries.
« Reply #2 on: January 13, 2015, 10:18:06 AM »
With the help of one of the members of the PB forum, the tool has been tweaked so its more reliable. The search pattern I had been using did not match the latest versions of the library output and was rejecting valid PB libraries. This has been fixed.

The latest version is attached. I will properly version these once the tool is demonstrated as reliable.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin: