Written by Jim Brown email: config2000 (at) hotmail (dot) com
Mac version help from Pierre Durant and Ghislain Schoofs Linux version help from Chris Chamacho
Created entirely in the cross-platform development language BlitzMax. Vist www.blitzmax.com for more detais.
Framework Assistant is a utility which creates BlitzMax 'Framework' templates. By default, when you compile a BlitzMax source file without a framework every module (in the mods folder) gets included in the final executable. This will result in a larger executable than required.
What Framework Assistant does is examine the source file and produce a list showing only the modules actually needed. This resulting framework code can the be pasted into the source code. After a re-compile the executables file size should be significantly smaller.
Note: For use with BlitzMax v1.12 onwards only.
You can install Framework Assistant anywhere you wish. When you first run the application you should set the BlitzMax ROOT folder via:
Max > Set BlitzMax ROOT folder
This only needs to be done once (or anytime you move the BlitzMax installed location). If the correct BlitzMax root folder is set you'l see the status bar updated with the number of modules scanned and the total number of commands found.
To examine a BlitzMax *.bmx source file you have 2 options:
Menu - File > Examine *.bmx sourceA requester appears. Choose the BlitzMax source code to examine.
Drag a *.bmx file onto the window (not in the html output area!) Drag a *.bmx file onto the Framework Assistant icon.
After a brief pause a report detailing what you need to paste into the source code appears. Clicking the links to the main source / imported code opens it using the associated *.bmx IDE editor. NOTE: The default BlitzMax IDE editor will open more than one instance here.
If your code uses graphics FA will produce different types of frameworks. This depends on what is found in the source code.
If your main source imports other code FA will detail what modules the imported code should handle.
To reduce your final exe size even further:
Get the latest version of Framework Assistant