NuSkooler / enigma-bbs

ENiGMA½ BBS Software
https://nuskooler.github.io/enigma-bbs/
BSD 2-Clause "Simplified" License
549 stars 105 forks source link

ANSI art edited with PabloDraw are displayed wrong on MS-DOS terminals #542

Closed dream7prod closed 1 week ago

dream7prod commented 5 months ago

Describe the Bug ANSI art edited with PabloDraw are displayed wrong on vintage terminal programs under MS-DOS, like Qmodem or Telix. Seams ANSI file is displayed raw (see screenshots). Syncterm or MacOs terminal works fine.

Is there any recommended ANSI editor ? As all ANSI arts from luciano_blocktronics works fine, which software was used to create that theme ?

To Reproduce Open an art file like PAUSE.ANS, just save it without making any changes. (PabloDraw changes original ANSI code a lot even without editing anything...) Use Telix or Qmodem under MS-DOS on a real vintage PC or DOSBox (tried both) to connect to EnigmaBBS. Every screen that uses pauses are corrupted.

Screenshots

With PAUSE.ANS saved with PabloDraw : ("Account is locked" art is just for testing with a lightweight ANSI file)

Capture d’écran 2024-06-20 à 20 04 10

With original PAUSE.ANS

Capture d’écran 2024-06-20 à 20 05 23

PAUSE.ANS saved with PabloDraw : PAUSEPD.ANS.zip

Thanks !

Environment

NuSkooler commented 5 months ago

@dream7prod Interesting - I likely created the original PAUSE.ANS with PabloDraw. I wonder if it's a difference in the hosting platform: I would have done it under Linux or Windows.

Try perhaps IcyDraw or Moebius

dream7prod commented 5 months ago

That's really interesting ! I'm not ANSI expert but after looking at the new saved ANSI code with an hex editor, comparing to the original code, it looks like colors are now saved as RGB values instead of the old-school "16 values" fashion (can't find any option on PabloDraw related to this). I may be wrong... but that could explain why old terminals won't understand this. Doesn't looks like an encoding problem, though I'll try on windows tomorrow and IcyDraw as well (which seams to have option for 16 colors restriction).

Original file :

Capture d’écran 2024-06-21 à 00 19 36

New PabloDraw (3.3.13.0) saved file :

Capture d’écran 2024-06-21 à 00 19 48
dream7prod commented 5 months ago

Thanks to your suggestion for Icy Draw, it works perfectly ! It even repaired problematic files, they shown duplicate colors on the palette, going to Colors > Palette Mode > Dos 16, cleans color palette, export and everything are drawn perfectly on MS-DOS terminals !!! :)

NuSkooler commented 5 months ago

@dream7prod The 256c issue is interesting. I wonder if it's defaulting different when run under macOS.