Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6

Author Topic: REXPaint, the ASCII art editor  (Read 28746 times)

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: REXPaint, the ASCII art editor
« Reply #60 on: November 14, 2015, 03:11:12 am »

Can we make gifs with rexpaint?
if then ill switch to it.
I prefer to leave the gif work to other programs, one big reason being possible loss of color/quality. Maybe one day I'll add built-in animation support, but that would be a fairly large project to do correctly. As DragonDePlatino says, you can use multiple layers (or perhaps even better: use separate images and scroll through them in the built-in browser, which will essentially look like an animation preview--still, not ideal, I know). I make gifs using REXPaint as well, just not without additional software.
Then ill keep my program , as it can make animations.All i need to do is do the frames , then export as gif.
Logged
A random person which does stuff and likes roguelikes and SS13...

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #61 on: November 14, 2015, 04:15:45 am »

Yep, different tools for different purposes! In case you're looking for something better, in my recent guide I listed some of the alternatives that I know of, at least one of which (if not more) handles animated gifs. You can find the list at the very end.
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: REXPaint, the ASCII art editor
« Reply #62 on: November 14, 2015, 05:14:43 am »

Yeah , but if i make ascii art again i'll switch to rexpaint , as i usually dont make gifs.
EDIT:Downloaded.
Feedback:I really like the image browsing system , the interface is pretty cool.But its missing different palettes.
9/10
« Last Edit: November 14, 2015, 05:50:57 am by KillerHP »
Logged
A random person which does stuff and likes roguelikes and SS13...

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #63 on: December 21, 2015, 10:35:14 pm »

After more than two years since its inception, REXPaint has finally reached 1.0 :D

More fonts, cellwise HSV tweaking, layer locking, options menu, and more!

Full release notes and demo images can be found on the dev blog here.

The full REXPaint 1.00 (151220) changelog:

* NEW: Added more CP437 fonts (greater range of image zoom/scale options): 14x14, 18x18, 20x20
* NEW: Cellwise HSV color shifting of both foreground and background (interval controlled in options)
* NEW: Info window shows palette/art foreground/background color values under cursor, either RGB or HSV (toggle with 'q')
* NEW: Rect/Copy tools can show area dimensions directly on the canvas (toggle via "RDim" button, or Ctrl-d)
* NEW: Lock individual layers to prevent accidental modification ("Lck" button, or Shift-1~4)
* NEW: Hold Alt while cursor hovering over a palette color to highlight all uses in image (akin to glyph highlighting feature)
* NEW: Options menu (the 'O' button at the bottom, or F2)
* NEW: Program settings changed while running are saved/remembered for next time, without requiring cfg modifications
* NEW: Exiting while image(s) have unsaved changes requires confirmation (can be disabled in options)
* NEW: Reset image location to top-left corner via Enter (centering switched to Ctrl-Enter)
* NEW: Ctrl-RMB copies the uppermost visible cell at that position in a multi-layered image (working w/reference layers, etc.)
* NEW: Premade Arne32/Arne64 palettes available from the website resources page
* MOD: Enhanced 16x16 CP437 font's relative proportionality with other fonts
* MOD: Image dimension limits increased from 999x999 to 2500x2500
* MOD: Removed Undo/Redo buttons to save space (use ctrl-z/y instead)
* MOD: Autosaving now inactive by default (must set desired interval value in options)
* MOD: Layer delete button changed from "Del" to "X"
* MOD: Palette/color swaps only operate on unhidden layers
* MOD: Changes to layer hide/unhide/active states no longer count towards the unsaved progress indicator
* MOD: Different cfg format, now that options are available from within REXPaint itself
* MOD: Change skin keyboard command switched from F2 to F3 (also now accessible directly from options menu)
* MOD: License in README file more explicit about commercial use of images
* MOD: Removed backwards compatibility with pre-R9 .xp images (2013 format), which were converted by 0.99r9 build (2014)
* FIX: One mixed-line glyph in the square 10x10 CP437 font was 1 pixel off
* FIX: Reversed NW/SE directional canvas scrolling via numpad
* FIX: Using the mouse to select a value box in the color picker required an extra key press before detecting input
* FIX: Creating a new image copied the view offset of the image currently open, rather than resetting it to (0,0)
* FIX: Image browser couldn't collapse subdirectories at a depth of three or greater
* FIX: Copy-paste of lone transparent cell on layer 2+ crashed editor (Note: RMB-copy faster for this purpose, anyway!)
* FIX: Cellwise drawing off edge of image without releasing LMB damaged undo history, which could crash if accessed
* FIX: Could attempt to draw multi-cell objects to parts of a large image shifted under the tools area, leading to UI issues
* FIX: Typing a grave character at the end of a text entry would crash the font renderer
* FIX: Crash on running without an enabled audio device (now no such device required)
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #64 on: May 02, 2016, 12:08:37 am »

A bunch of other devs have been making cool stuff with REXPaint, so I took a day after releasing the latest Cogmind Alpha to throw in a few of the easier features on the TODO list (sorry, the tough stuff will have to wait until Cogmind is done!).

The full REXPaint 1.02 (160502) changelog:

* NEW: Image shifting with wrapping (Ctrl-Arrow/Numpad or Ctrl-Shift-Arrow/Numpad for single layer)
* NEW: TXT file importing (conversion to .xp format) supported via command line (see manual Appendix F)
* NEW: Partial PNG image importing (conversion to .xp format) supported via command line (see manual Appendix G)
* NEW: Fill tool includes second mode for 8-directional search
* NEW: Unlimited font size regardless of resolution limits--NOT ideal usage, implemented by request (see "unlimitedFontSize" in cfg)
* FIX: One line junction glyph in the 8x8 CP437 font misaligned

Some of the new features in action:

Spoiler (click to show/hide)
An imported txt file.

Spoiler (click to show/hide)
Shifting an image, with content wrapping to the other side.

I also included this experimental tool I was playing with earlier this year, though I wonder if anyone else will actually get any use out of it :P...
Spoiler (click to show/hide)
Importing a .png screenshot from ADOM into an editable .xp format.

Spoiler (click to show/hide)
Another from Brogue.

Also, if you haven't seen it before, the gallery is now filled with impressive work :)
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

RoseHeart

  • Bay Watcher
  • Pale Blue Dot
    • View Profile
    • Portfolio
Re: REXPaint, the ASCII art editor
« Reply #65 on: November 16, 2016, 01:00:30 pm »

Couldn't a lot of these be posted here, raw?
Logged
Hanlon's razor: Never attribute to malice that which can be adequately explained by a lack of knowledge or understanding. Maybe your own.
'No.' is a complete sentence. —Mary Kate & Ashley

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #66 on: November 16, 2016, 07:42:42 pm »

"These" meaning gallery images? I don't want to spam the thread like that :P

There are also a bunch of different REXPaint threads on different forums across the web, so it's better to have it all on the official website in one place.

Certainly anyone on Bay 12 who has created something is welcome to post new works in this thread! (But the vast majority of existing contributors are from other sites.)
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #67 on: June 19, 2018, 07:38:57 pm »

REXPaint v1.04 is released!

Changelog:
  • NEW: Selected glyph's ID shown in Apply box, along with the glyph itself (activate in options menu)
  • NEW: ID for glyph currently under cursor in selection box can be shown directly to the right (activate in options menu)
  • NEW: Swap foreground/background colors across entire image (Shift-Alt-w)
  • NEW: Copy entire active layer to clipboard (Ctrl-Shift-c)
  • NEW: Arrow keys for glyph selection now wrap around to opposite side
  • NEW: Undo/Redo functionality also accessible via simply z/y as hotkeys (ctrl optional)
  • NEW: Limit application of specific RGB channels in foreground and/or background (Shift-Alt-r/g/b and Ctrl-Shift-Alt-r/g/b)
  • NEW: File browser can be set to ignore specified paths ("ignorePath" in cfg)
  • NEW: Option to use basic CP437 characters instead of UTF8 for txt output ("txtOutputUTF8" in cfg)
  • NEW: Can now override the normal autodetection for font bitmap color keying ("fontKeyColorOverride" in cfg)
  • NEW: F2 hotkey opens rename dialogue for currently selected image in browse mode
  • NEW: Better input support for very long filenames
  • NEW: Currently selected filename in browse mode also expanded to full length if longer than available width (not only on mouse hover)
  • NEW: PNG importing now assumes direct pixel-to-cell conversion if no cell dimensions appended to filename (see manual Appendix G)
  • NEW: Manual's .xp specification explicitly states that the 32-bit character is stored as little-endian
  • NEW: Checks for newer version on startup to show a notification (toggleable in options)
  • MOD: Brought back Undo/Redo buttons
  • MOD: Locking a layer no longer prevents the copy tool from being used on it
  • MOD: Hotkeys for switching between HSV color shifting modes now require Ctrl modifier
  • MOD: Options hotkey changed to F3
  • MOD: Cycle GUI skin hotkey changed to F4
  • MOD: "Base Image Path" and "Exports to Base" removed from options menu (still available in REXPaint.cfg)
  • FIX: Crash if moving caret too far before visible section of filename dialogue box when filename length exceeded box's width
  • FIX: Crash when using fill tool on very large and open images
  • FIX: Foreground colors on a non-black background color output to PNG would have their RGB values changed by +1 for any channel the background color used
  • FIX: Browse mode hotkeys for toggling all folders would simultaneously shift-wrap currently open image
  • FIX: 14x14 CP437 character 147 slightly misaligned (extra pixels)
For feature demos and other info see the main release announcement on the forums.

REXPaint is now also available on itch.io :D
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #68 on: August 02, 2020, 09:54:43 pm »

REXPaint has a new update, and we're going all the way to 1.50!

This release combines all of the cumulative feature request patches released on the forums over the past couple years, and most importantly includes what was originally planned to be a 2.0 feature: unlimited character bitmaps! Custom fonts are no longer limited to CP437's 16x16 grid, and can add as many rows as you like to include additional glyphs or otherwise expanded tilesets--lots and lots of room for especially the gamedev REXPaint users out there ;)

REXPaint 1.50 (200803) changelog:
  • NEW: Support for more than 256 glyphs in a single font (scroll with wheel or PgUp/Dn)
  • NEW: Adjustable wheel-based extended glyph scrolling ("glyphScrollRowCount" in cfg)
  • NEW: Manual provides additional information about extended custom fonts and tilesets
  • NEW: Multi-layer support for Copy/Cut/Paste tools, use 'd' and Shift-d to adjust the desired operational depth
  • NEW: Full layer copy (Ctrl-Shift-c) obeys current multi-layer copy depth setting as well
  • NEW: Cycle images while in Paint mode using Ctrl-Up/Down
  • NEW: Reload all image files via Ctrl-Shift-r or the Browse window's "R" button
  • NEW: Batch export of all .xp images to PNGs supported via command line (see manual Appendix H)
  • NEW: Export to format used for art in Cataclysm: Dark Days Ahead (Ctrl-j) (see manual Appendix I for more info)
  • NEW: Toggle transparent cell visibility with 'n' (only shows current layer)
  • NEW: Switch between two different preset transparency visualization color schemes (editable in skins.xt) (hotkey Shift-Alt-n)
  • NEW: Manual explicitly states that alternative paste modes affect the results of any copy action
  • NEW: Manual explicitly states that custom fonts always treat index 32 as a space, regardless of what the bitmap contains there
  • MOD: Font config for custom fonts requires specifying the number of columns and rows present in each bitmap font
  • MOD: Options menu Default Image Background (applies to new images, expansions from resize, layer 1 areas) now defaults to transparent instead of black
  • MOD: Holding Alt while cursor hovering over font glyph highlights matching glyphs across a layer using a different style rather than simply flashing them
  • MOD: "Shift all layers in indicated direction" hotkey changed to Shift-Arrow/Numpad
  • MOD: Color Shift Mode hotkey changed from Ctrl-h/s/v to Shift-h/s/v
  • MOD: Keyboard's Pause key no longer has an effect
  • FIX: Canvas-sized image created on opening also obeys Default Image Background setting
  • FIX: Version check functionality restored after an unexpected server change broke the previous connection system
  • FIX: Using separate fonts for GUI and art was not compatible with the new selected glyph preview in the Apply box
  • FIX: Optional glyph hover ID display was off by one

You can download REXPaint here, and note that as of 1.04 it's also available on itch.io.

Regarding the new extended font support, here's the relevant excerpt from the manual:
Quote
Although the default number of rows in a font bitmap is 16, and that is the largest number REXPaint will display at once, fonts with additional rows are supported, essentially allowing space for an "unlimited" number of glyphs in an image. Simply specify the proper number of rows available for the relevant art font in _config.xt and it will be loaded normally (16 columns is still a requirement), then you can use PgUp/Dn or the scroll wheel (with cursor in the glyph area) to see and use glyphs beyond #255. The mouse scrolling rate can be adjusted in REXPaint.cfg via glyphScrollRowCount. If any art fonts have more than 16 rows, the font window will display numbers at the top right indicating the number of rows currently above and below the current view. To make it easier to use large tilesets, by default right-clicking on an image glyph to select a glyph currently outside the viewable glyph window does not automatically scroll the view to show it unless you right-click on the same selected glyph a second time, though you can overide this behavior and have it always scroll immediately by setting glyphSelectAlwaysAutoscrolls in REXPaint.cfg.

For those of you updating your install from a previous version in which you're using custom fonts/tilesets, note that due to the new expanded character support, the format of fonts/_config.xt has changed a bit, requiring you to explicitly list the number of columns and rows in each font file. See the default install's included version for the proper formatting.

Some of the new features in action

Playing with a custom extended tileset (specifically Kenney's 1-bit pack).



Using explicit transparency mode to visually isolate layers from one another.



Ctrl-Up/Down cycling through images in Paint mode.



Multilayer copy/paste.



Enhanced glyph usage highlighting.



Exporting art to the JSON format used by Cataclysm: Dark Days Ahead (CDDA).



Happy painting/designing/mapping/developing!
« Last Edit: August 02, 2020, 10:29:32 pm by Kyzrati »
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

Loud Whispers

  • Bay Watcher
  • They said we have to aim higher, so we dug deeper.
    • View Profile
    • I APPLAUD YOU SIRRAH
Re: REXPaint, the ASCII art editor
« Reply #69 on: August 19, 2020, 06:21:41 pm »

This program speaks to me on a chakra aligned, ASCII described level

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #70 on: January 09, 2024, 11:53:40 pm »

Progress on Cogmind has recently led to numerous engine improvements (and a few bug fixes), so combined with feature request patches from the past few years we're getting an official release for the new and improved REXPaint!

Big items this time around include autoscaling of font bitmaps, .gpl (GIMP) palette support, and even better .ans (ANSI art) support--for the first time REXPaint can automatically import a format other than its own!

First, the full changelog...

REXPaint 1.70 (240110) changelog:
  • NEW: Support for automated upscaling of font bitmaps (see manual under Custom and Extended Fonts)
  • NEW: .ans file automated importing and conversion (ANSI art)
  • NEW: .gpl (GIMP) palette support
  • NEW: Ctrl-v during active file naming dialog or Text tool pastes text from system clipboard (single line only)
  • NEW: Reopening REXPaint recalls the last glyph index and brush foreground/background color in use
  • NEW: Remap all layer colors to closest from current palette (Shift-Alt-p, or Ctrl-Shift-Alt-p for all unlocked layers)
  • NEW: Added full list of valid color names to skins.xt file for reference
  • NEW: Command line support for creating new image files (see manual Appendix H)
  • NEW: Command line support for opening REXPaint with specific image selected (see manual Appendix H)
  • NEW: Command line support for exporting specific image as PNG (see manual Appendix H)
  • MOD: .ans export format optimized for reduced file size
  • MOD: C:DDA image exports now also reference custom Unicode glyph assignments in cases where users may want a custom font layout besides CP437
  • MOD: Updated installation instructions with new MSVC DLL download location
  • MOD: Manual Appendix H rewritten to encompass multiple types of command line options
  • MOD: Manual Appendix I changes official C:DDA font reference to reflect switch from Unifont to Terminus, provided on website Resources page
  • FIX: Reloading all images via Browse window blocked further mouse interaction with some popups like Resize window
  • FIX: Potential rare crash due to multithreaded logging
You can download REXPaint here, and note that as of 1.04 it's also available on itch.io.

.ANS Importing!

While REXPaint has had .ans exporting for many years and could therefore be used to create traditional ANSI art, only art created from scratch using REXPaint's native format could be used to do this. Now .ans files can be imported as well!

Simply drop any .ans files into the /images/ directory structure, and on startup if REXPaint does not see any corresponding .xp files by the same name, it will automatically convert them for editing access. Although REXPaint only edits .xp files directly, you can re-export to .ans at any time. Original .ans files remain unchanged unless you choose to overwrite one with an export.

REXPaint will import and view .ans files even when ANSI mode is not active, though properly exporting to .ans again would require that mode to be active as usual. (Note: REXPaint strips SAUCE metadata when it converts .ans to .xp, and therefore does not contain any on export, either.)

Animated .ans files are beyond the scope of REXPaint and ignored--only static ANSI art is compatible.

Here is a demo of .ans conversion:



We've had text and image file importing for a while, but those are more fiddly, while this automated feature was a much bigger production. I spent a while researching the format in order to enable imports, and as a result was also able to optimize REXPaint's .ans exports to reduce the resulting file size.

(Note that one of these optimizations involves giving "cursor" instructions to skip over empty space, but if you're intending to use REXPaint's .ans exports with Discord's ```ansi feature, know that Discord's implementation of ANSI is pretty terrible and incomplete so you'll probably have to set the new ansOutputNoCursorShift cfg option to make images containing that sort of empty space compatible over there.)

Some other new features in action

Spoiler (click to show/hide)

Over a decade since the first release and REXPaint is still going :)

I've still got lots more planned, including huge features, but, you know, when I get to it :P
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

Iris

  • Bay Watcher
  • A paradox of love and righteous sin
    • View Profile
Re: REXPaint, the ASCII art editor
« Reply #71 on: January 10, 2024, 10:26:53 pm »

Woah, this is still around?! I used to use REXPaint for illustrating ISGs years ago. Thanks for the sudden nostalgia blast.
Logged
Quote from: AseaHeru (on Discord), Monday, June 20, 2022 10:41 PM
I still want the D. The D is love, the D is life. The D is bully.
Rewind, can't keep going
My mind keeps replaying
That night when we dove in
But now I'm sinking

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #72 on: January 10, 2024, 11:10:48 pm »

Hehe it is totally still around, and there are totally still a ton of users! More and more over the years, really, so happy to continue expanding on it. Getting to 2.0 would be super neat--I want to do a compo when that's released, so many unprecedented new feature ideas I think people would enjoy playing with...

I've always enjoyed seeing what the folks here do with it, too :)
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon

brewer bob

  • Bay Watcher
  • euphoric due to inebriation
    • View Profile
Re: REXPaint, the ASCII art editor
« Reply #73 on: January 11, 2024, 03:27:22 am »

Ooh, importing .ans files sounds nice. Used to mess around with ACiDDraw back in the days. Wonder if I have some old files somewhere still?

Kyzrati

  • Bay Watcher
    • View Profile
    • Grid Sage Games
Re: REXPaint, the ASCII art editor
« Reply #74 on: January 11, 2024, 04:28:57 am »

Yeah they should work if you've got 'em around. I loaded up a bunch of different .ans from the past several decades and everything worked okay except for the animated ones, which is out of scope so I had to block importing of those (generally a minority, but there sure are more of them the further back you go! really interesting stuff to research...).
Logged
Cogmind - Sci-fi Roguelike (devblog) | X@COM - The X-COM RL | REXPaint - ASCII art editor | Patreon
Pages: 1 ... 3 4 [5] 6