Smart Fpg Editor v0.4.5 – Coming soon

August 29, 2011

The new version of SFPGE is about to be released (expected date is next weekend).
Meanwhile, a video showing some of the new features:

  • Contextual menus
  • “Look for next/previous free control point ID” in graphic viewer
  • Drag graphics directly to the explorer to produce files

A complete list of the new features will be published with the release.


Smart Fpg Editor 0.4.0 released

May 7, 2011

I am glad to announce the release of a new version of Smart Fpg Editor. The goal of this version was to improve the interaction between the user, the editor and the environment of the editor.
Main additions are drag&drop and copy&paste functionalities. A complete list of changes can be found at Smart Fpg Editor post in BennuGD forum.
The program is available for download at the project page

Hope you like it!

Drag&Drop and Clipboard support in Smart Fpg Editor

May 1, 2011

This weekend I added support for Drag&Drop and clipboard operations. Still some details need to be finished but I leave you a video showing it in action:

Smart Fpg Editor 0.3.0 released and 0.4.0 is WIP

April 30, 2011

A new version of my FPG editor has been uploaded. This version adds an exporting feature which allows saving the graphics contained in an FPG as MAP or PNG formats. An important bugfix related to control points is also included as well as other tiny changes.

You can read more in Smart Fpg Editor post in Bennu’s official forum.

Also, I would like to announce that 0.4.0 is half on the way. This version will have clipboard operations and drag&drop functionality as main improvements.

I am committed to complete this project and work on it until it reaches the state I always wanted.

You can find all related downloads in the project page.


Smart Fpg Editor 0.2.0 released

August 25, 2009

I have uploaded a new version of my FPG editor. This version comes with a graphic viewer, and two control points editors (one visual and one list-based), among other things.

Check it out in the project page.

In my opinion, it can be used as a regular editor if you don’t need graphic extraction or 1bpp FPG support (which has not been implemented yet). This will be included in next release.

GDI+ Dependence removed (SFPGE)

June 4, 2009

After some work the GDI+ library is no longer needed. This will make SmartFpgEditor more compatible with older OS, as the drawing routines use only standar GDI calls. The rendering functions where finally not isolated in a new module, as the complexity this would have introduced was not justified by the requirements.
One drawback is that I have appreciated some decrease in performance when an FPG contains several 32bpp big MAPs which suggest that the rendering functions should be optimized.
Another change is that now 8bpp, 16bpp and 32bpp MAPs can be rendered with or without transparency (before it was only possible to see 32bpp transparency). 16bpp use black as the transparent color, in the same way that Bennu does.

Only the graphical control point editor remains to be finished to realease a new public version.

Tons of image formats for Smart Fpg Editor (at no additional cost :))

May 23, 2009

One of the depences of Smart Fpg Editor is FreeImage library. Until now, it was only used for decoding PNG files but the possibilities for using it for other purposes were still big.

So these days I’ve been writing a class that encapsulates some of the functions that this library provides. I’m doing this mainly because it will allow me to replace the usage of GDI+, which I had been using because standar GDI required a lot of code to deal with 32bpp bitmaps containing alpha channels.

However, I also decided to take advantage of the possibilities that the library offered to load a wide range of image formats, so now Smart Fpg Editor is available to load formats such as “GIF”, “PCX”, “PSD”, “BMP”, “JPEG”, among others. Other very rare formats are also available “XBM”, “WBMP”, … but I’m considering not including them as I see it unlikely that someone uses this kind of formats… even though that the required code to add support is minimal. We will see.

Map Viewer, Smart Fpg Editor

May 14, 2009

Some days ago I wrote about the non-graphical control point editor for Smar Fpg Editor. Following the features list intended for version 1, it was time to go for the Map Viewer / Editor.

This three points summarize the basic functionality for the map viewer:

  • View the graphics of the FPG in it’s real size and scaled.
  • Edit the description of the graphic
  • Edit graphically the control points of the graphic

This three features will be working before next release. Some other characteristics will be added in future versions, such as copying the map to clipboard & drag and drop support.

Here there is an screenshot of the Viewer:

Map Viewer

Map Viewer

The drawing is quite fast, even with big pictures :), and there is non apreciable flickering when scrolling (at least in my computer, and it’s quite old).

One good thing is that I’ve been able to use the knoweldedge I got when writing the Map Viewer for Flamebird MX and the performance is a great deal higher than it was on it. The look is also more professional, and the behaviour is the expected.

By the way, if you wonder what is it the graphic shown in the viewer, is an sketch of an Underground Thermal Energy Storage, but let’s leave the explaination for another moment :P…

I’ll keep you informed with the advances on it :).


Control Point Editor, Smart Fpg Editor

May 9, 2009

Time has gone by and nothing has been updated on this site, however development of Smart Fpg Editor has continued (slowly) during this time. Two major changes have taken place:

  • Splitting of the project in several modules (Active X components). Addition of new modules
  • Implementation of an “advanced” control point editor (non graphical

The splitting in several submodules responds mainly to flexibility and reusability reasons, which may not be of much concern to the end user and therefore it will not be explained here. At any case, documentation, when available (and it is already being written), will include these relevant desing notes for who plan to go deeper into the program source code.

It is, however, worth to have a look at the new control point editor and its characteristics. The editor is not a graphical control point editor, but it provides some interesting features that so far, it is not possible to find in any other editor. The complete list of features is listed below:

  • Set / Remove control points
  • 4 different modes of setting control points
    • Append mode: adds control points at the end of the CP list
    • Insertion mode: inserts a control point in the position of an existing one and moves the existing one, and the following ones one position
    • Completion-insertion mode: inserts a control point in the inmediate subsequent position of an existing one. Only if the position where the new CP is to be inserted is not free, the following control points will be displaced one position forward
    • Manual mode: allows specifying manually the position where the control point is to be inserted
  • Possibility of writing formulas as coordinates, such as “WIDTH / 2”
  • Multiple graphic edition mode, meaning that if we have several graphics selected, a set of control points can be applied to all of them at the same time

These kind of features are the ones I have sometimes missed when working with FPGs in other programs and is for that reason that I decided to include them here.

In conformity with one of the main project goals usability has been kept in mind in every aspect of the control point editor (the editor does what the user expects it to do). This may be difficult to understand here but will certainly be appreciated when working with the editor :).

A capture of the control point editor is shown below:

Control Point Editor

Control Point Editor

Some important things remain to be done before the next release. The first one will be to eliminate totally the dependence of the GDI+ library, and separate the rendering functions into a new module. By eliminating GDI+ library dependence, the program will likely run better on systems different from Win-Xp and above (probably compatibility with Wine in Linux will also increase). The new module will depend on the FreeImage library, but this library is already being used to give support to PNGs graphics, so no new dependences will be added.

Smart Fpg Editor 0.1.0

January 5, 2009

I’ve uploaded a new version to the project page. The new version, though, does not add to the end user more than the possibility to create 8bpp FPGs (loading the palette from a PAL, MAP, FNT or FPG file) and includes a minor bug fix for the open/save dialogs (internally other changes have occur).

However, a new package has been added: “binary zip package” which contains the binaries of the program without the need of an installer. If you plan to use it, be sure to read the “README-FIRST.txt” file included in the ZIP. Basically you will need to run the “register.cmd” batch file and that’s it.

I recommend to uninstall previous version before upgrading to a new one.

I wanted also to point out that some users have made it run in Linux via Wine and winetricks. If you want to try, download the binary package files (you can also use the installer but then you will need to use regsvr32 to register the components). On wine you will need this main packages:

  • vb6run: (in fact it seems that MSVBVM60.DLL is the only one needed)
  • gdiplus

If your cmctl32.ocx version is not updated, you may also need that package.

I would appreciate feedback from anyone who has tried the program: Do the FPG are correctly generated? Can you open them in Div/Fenix/Bennu? Do the program work well in Linux? Do the program run in Windows Vista? And in Win98, Me, 2000, etc.? All this kind of things…