P2SM

Means « Pixels to Sprites & Masks »: image tool dedicated for games development (2/16/256 colors sprites). Work is done on chunky two-dimensional byte-array, so that image modifications are made independently to current screenmode.
Can be used as plain drawing tool for oldschool pixel artwork.

Needs EdDI cookie for offscreen VDI (NVDI), plenty of RAM and strong CPU.
Uses a customized PARX.SYS, provided in the archives.

Archives Size Version Date
English 68K CFv4e 513.1 KB 1.3C 04-12-2025
GFA Sources 177.2 KB

9 réflexions sur « P2SM »

  1. Changes in 1.3C version:

    • opt: quicker image offscreen builts. Depends on the image structure ie repetition of contiguous pixels of same color.
    • opt: quicker image and mask builts also for layers.
    • opt: quicker Flood fill, Undo and Redo. Redraws one area instead of drawing every pixels (no more animation).
    • fix: default masked flag on/off for layers was not saved in preferences.
    • fix: palette tools: looping for redraw content.
    • fix: palette tools: could not slidebox the value buttons in the RGB sliders.
  2. Changes in 1.3B version:

    • fix: layers mode: memory allocations not freed after sprites moved, masked or transparency. Could eat all RAM, with missing display.
    • add: layers mode: default preference for adding image with masked flag.
    • fix: under monoTOS, images and parx RIM modules were not found, due to bad test on file attributes during Fsfirst/Fsnext.
    • fix: use cache was not enabled by default, if enough TTRAM detected.

    Tools were also updated to 1.2C:

    • fix: under monoTOS, images and parx RIM modules were not found, due to bad test on file attributes during Fsfirst/Fsnext.
  3. Changes in 1.3 version:

    • add: Layer manager, with 2 types of layers: assembly, animation.
    • add: cache for rasters, enable quick swap between images (uses RAM). Available if enough TTRAM. Can be disabled in the preferences.
    • add: opening the application with folder as argument loads contained images files (one level to avoid recursion). NB: in ARGV, still only 1 folder or 1 image can be loaded.
    • fix: now sorting images by names at multiple loading.
    • add: Shift+Zoom action changes all loaded images zooms (max zoom = 16).
    • add: Shift+Change raster tool mode applies mode for all loaded images.
    • fix: quicker and less RAM consuming for VDI primitives.
    • fix: drawing with wrong N-1 brush.
    • fix: fileselector titles for images and palettes folders paths.
    • fix: system palette restore if P2SM is not top application.
    • mod: fine settings in memory manager for types of records.
    • mod: Options and Help menus merged.

  4. Changes in 1.2C version:

    • add: resize block selection with Shift+Arrows keys.
    • fix: cancel or crop block selection if image is reduced.
    • fix: in conversion table for VDI index colors: 1 and 255 were swapped at loading/saving for 256 colors images.
  5. Changes in 1.2B version:

    Images list

    • add: make update desk for drives contents after writing on disk (under multitasking environment).
    • fix: make ^C effective for Block Copy if image list window ontop by error (for ^X and ^V, still mandatory to have raster window ontop).
    • fix: selection and ‘?’ popup: Save as… falsly disabled.
    • fix: selection and right-click free pop-up could not close image(s).
    • fix: list start not corrected after closing image(s).
    • fix: bad redraw when scrolling to bottom with bottom widget.

    Raster window

    • add: VDI index indicator on toolbar, next to XYWH.
    • add: arrow keys can move selection in block mode.
    • fix: mirroring and shifting: arrows keys interference with window scrolling.

    Palette tool

    • add: key shortcuts for some buttons (^F1: Load palette, ^F2: Save palette, ^F3: Update color in raster, ^F5: Create sprite, ^F6: Create mask).
    • fix: selected color redraws after load or paste.

    Make_DG? tools

    • add: make update desk for drives contents after writing on disk (under multitasking environment).
    • fix: spare character (often « \ ») at end path if drag’n’drop.
  6. Changes in 1.2 version:

    Raster window

    • add: image rotate in +/-90° steps.
    • add: show x+y coords when mouse cursor is in hand pointing state.
    • add: can save a block copy to scrap.img (enable it in the preferences).
    • fix: infinite loop if flood fill on same color.
    • fix: recalculate main color after flood fill.
    • fix: bad edges detection (for example, made bad block redraw on edges).
    • fix: for some tools, forgot to top window after click in void zone.
    • mod: tools are reordered in the pop-up and F1-F10 keys.

    Images list

    • add: save and load images list as project (*.ILT), with optional list clearing before loading (enable this in the preferences).
    • add: close all images (except those that have the flag ‘modified’).
    • fix: wrong address pointer for raster used when closing image.
    • fix: alert if try to load image without palette or not handled by RIM (no alert when multiple loads with Drag’n’drop).
    • fix: last item wasn’t fully displayed in the window bottom.
    • fix: scrolling with down key and item selected.

    Preferences

    • fix: buttons still selected after paths were changed.
    • fix: could not set default raster tool mode greater than ‘image shift’.

    Fileselectors

    • fix: show title (wrong AES/GEMDOS version detection).
    • fix: correct use of filters.
  7. Changes in 1.1 version:

    Raster window

    • add: brush (draw with 16x16px pattern).
    • add: gum color is possible for flood filler.
    • add: « a=b » button for equal sides (square/circle for rectangle/ellipse).
    • add: settings button: fill pattern for surfaces, type-width-ends for lines.
    • add: remember sliders positions.
    • mod: allow zoom up to 32 if image =< 128*128px.
    • fix: zoom>1 still displayed image evenif deselection in image list.
    • fix: use other safer algorithm for flood filler (stack overflow).
    • fix: forgot the ‘modified’ flag for VDI basics and flood filler.

    Palette tool

    • add: rearrange colors order.
    • add: generate gradient in colors modificator.
    • fix: could not select index 0 in palette tools color table.

    Images list

    • fix: 2 bitplanes images are loaded and converted to 4 bitplanes.
    • fix: double-click on toolbar opened the metadatas window.
    • fix: closing an image made the next ones with bad palette.

    Miscellaneous

    • mod: Text window becomes Tools attributes window with sub-panels.
    • add: save tools attributes and preferences windows positions in CFG file.
    • fix: alert if screensize is not enough.

  8. Changes in 1.0 version:

    • add: Undo (^Z) and Redo (^Y), with raster changes history.
    • add: VDI basics: (filled|hollowed) rectangles and ellipses, polylines, text.
    • add: built-in drawing basic: flood filler.
    • add: BubbleGEM support, with P2SM.BUB file.
    • add: logfile (generaly to u:\ram\p2sm.log).
    • add: arrange/dispose windows (^J).
    • mod: the Fonts window is revamped for Text function (font, size, attributes and edit). The fonts for images list is relocated in the preferences.
    • add: preference for opening automaticaly or not the metadatas window for new images.
    • add: preference for lowercase filenames/extensions.
    • add: preference for default raster mode edition (load, new, paste as new).
    • fix: possible crash at rename filename function.
    • fix: corrupted saved files if length > 16000 KB (ex: large block copy).
    • fix: block copy added one more extra line at bottom with left pixel.
    • fix: extension was lost after renaming image.
    • fix: overwrite alert wrongly displayed for « Save » same name.
    • fix: set as modified the color-remaped loaded images.
    • fix: add « u: » and convert slashes for $HOME value written in un*x format.
    • add: arrows keys are effective on raster window for scrolling. (old behavior is kept for mirror and shift mode).
    • mod: ^Del instead of ^U for closing image, the previous image in the list become selected.
    • fix: removed Insert key, use only ^N.
    • fix: palette tools, modificator pane: conflit between C and ^C.
    • fix: ^M was not active in image metadatas window.
    • fix: Save as (^M) was possible only if modified.
    • fix: raster: block selection, display W and H values (-1 for both).
    • fix: raster: will redraw block only in block mode (F2).
    • fix: raster: pixel at 0,0 = block unselected block display.
    • fix: raster: void zone was not redrawn when unzoomed.
    • fix: raster: closing all, remained first raster.
    • fix: raster: was not all all redrawn after resize.
    • fix: images list: bad redraw when scrolling to bottom.
    • fix: images list: no redraw after renaming.
    • fix: if vertical/horizontal slided, only redraw if changed.
    • mod: use of clean revamped EXIST() instead of old Fopen() trick.
    • rmv: records slot 2 (MFDB) unused.
    • fix: iconified window title.

    Changes in 1.2 version for tools:

    • fix: parx.mem use is removed.
    • fix: parx.sys functions from P2SM code.
    • add: trace to u:\ram\make_dg?.log (MiNT only).
    • fix: MAKE_DGI: export in TC24 mode was missing.
    • fix: MAKE_DGX: remap with extended did not expand bitplane number to 8.
    • chg: menu removed, Quit = close main window.
    • chg: settings in $HOME and shared between the 2 MAKE_*.
    • add: settings: use or not lowercase for extensions (.vdi, .dgi, .dgx).
    • add: tools.hyp file guide, with fixes in the documentation.

Les commentaires sont fermés.