Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

fpg-editor

FPG Editor is a cross-platform desktop application for editing FPG, FNT and PRG files used in BennuGD, Fenix and related game engines

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

FPG Editor

FPG Editor is a cross-platform desktop application for editing FPG, FNT and PRG files used in BennuGD, Fenix and related game engines. It runs on Linux, macOS, and Windows built with Lazarus using the Qt6 widgetset on all platforms. Release archives produced by make package/* are self-contained: the binary is shipped together with Qt6Pas and the required Qt6 libraries (no system Qt6Pas install needed to run the release).

Forked from the original FPG Editor and updated for modern 64-bit systems.

Download the latest release and also the BennuGD compiler

Run Instructions

qt6 (Linux)

pascal
![Screenshot Linux](/catalog-images/b8/b8bbbe2b19be099bbdfee77a.png)
bash
make run/lin

Local builds still need Qt6Pas installed on the machine. Release tarballs from make package/lin already include libQt6Pas + Qt6 libs under lib/ (run via the launcher script inside the archive).

qt6 (macOS)

pascal
![Screenshot macOS](/catalog-images/4c/4cd6edbd92f7aa2138be195d.png)
bash
make run/mac

Release tarballs from make package/mac ship an .app with Qt6Pas.framework and Qt6 frameworks embedded (no /Library/Frameworks install required). CI publishes both x86_64 (ARCH=x86_64) and Apple Silicon (ARCH=arm64) archives.

qt6 (Windows)

pascal
![Screenshot Windows](/catalog-images/50/50680819c30b0a2fcbc02323.png)
bash
make run/win

Release tarballs from make package/win produce fpg-editor-win-*.zip with Qt6Pas6.dll, Qt6 DLLs and platform plugins next to the executable.

  • FPG

image

  • Auto-complete

image

Supported Files

1. FPG – Fenix Picture Group

A collection of images (sprites, tiles, backgrounds) stored together in a single package.

FPG Example

2. FNT – Font

A bitmap-based font definition for displaying text in BennuGD or Fenix.

FNT Example

3. PRG – Program

The main program file containing the game logic, processes, and code.

PRG Example

4. Others

File type with description

Extension Meaning Function
.PRG Program Main game or program code (source or compiled)
.INC Include Auxiliary file with functions or shared data
.DCL Declare Declarations of variables, processes, and constants
.FPG Fenix Picture Group Image group (sprites, tiles, etc.)
.FNT Font Bitmap font used for displaying text
.MAP Map Single image file (often part of an FPG)
.PAL Palette Color palette file