Grid Sage Forums

Grid Sage Forums

  • November 12, 2024, 11:30:03 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: REXpaint color tags do not match CDDA color tags  (Read 85 times)

Boondiggle

  • Unaware
  • *
  • Posts: 2
    • View Profile
REXpaint color tags do not match CDDA color tags
« on: November 09, 2024, 01:42:45 PM »

Hello!

I made some ascii art for the guns a few years ago, but had to put that on hold for personal reasons. I'm back and ready to continue, but a problem I had then is cropping back up now.
Some colors, when exported to CDDA format using ctrl+j, are either different colors than what's in-game (some values of yellow in REXpaint become shades of brown in CDDA, for example), or are color combos that do not work at all (e.g. 'color_yellow_brown' throws an error and does not display. 'yellow with a brown background' does exist in-game, but it's called 'color_yellow_yellow' instead).

I looked through the REXpaint settings/config and could not find a way to change or add color tags for export. I looked through the directory, too, but didn't see any files I could open in notepad that had these color tags defined anywhere.

I'm motivated to get this working. I'll run a test later to see exactly which ones aren't working and what they should be instead. If I get a list of "bad color > good color" together, is this something that can be fixed?
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4461
    • View Profile
    • Cogmind
Re: REXpaint color tags do not match CDDA color tags
« Reply #1 on: November 09, 2024, 05:54:25 PM »

This might have to do with the version of CDDA you are using? CDDA itself had inconsistent use of colors and issues with its docs/source not matching up, but this was resolved specifically for REXPaint years ago later in this original thread. Or maybe CDDA formatting has changed again in the time since? I already updated it once specifically due to CDDA bugs :P

Technically I can update it with yet another patch, but one would need to be 100% sure that it actually works in the latest version and track down when and why it changed from when it was originally working just fine. Kind of annoying that CDDA broke compatibility again if that's the case...

In the meantime, depending on your needs I guess there'd be the option of using find and replace to change tags in the art file itself.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Boondiggle

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: REXpaint color tags do not match CDDA color tags
« Reply #2 on: November 11, 2024, 12:52:04 PM »

I have the latest stable steam version. I'm discussing this with the CDDA discord and trying to figure out if there is a way to include all the color combos instead of only half of them (this is internal CDDA stuff, nothing to do with REXPaint yet). For the ones that do work, I already have a list of exported color tags vs what they should be. I'm doing more testing this evening with it. Thanks! REXPaint has been an invaluable tool for ascii art creation for CDDA, and I'll use it regardless.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4461
    • View Profile
    • Cogmind
Re: REXpaint color tags do not match CDDA color tags
« Reply #3 on: Today at 12:27:27 AM »

Awesome, in any case you can use the text replacement approach for now, and yeah let me know if and when there are changes or a confirmed stable list. I could release a patch, but ideally once it's actually final (again).

Also not sure if the Steam version diverges from non-Steam in this regard... plus there are plenty of forks out there, though I imagine none of them would really touch this stuff, it's a mainline concern (and likely same as Steam, as I understand it).
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon