• Inserting ANSI in MPLs

    From paulie420@77:1/158 to All on Mon Mar 8 12:47:36 2021
    Want to insert ANSI code into my MPL. Of course dispfile('filename.ext') works swimmingly, but I want to animate the ANSI across the screen. No matter how I import the ANSI code, I can't seem to find the way that 'works'.

    I've imported the 'cat filename.ans' results. I've imported 'cp437 cat filename.ans' results. I've imported the esc-codes from a standard 'nano filename.ans' editor. Anyway... I've tried several ways that don't give me ANSI that looks correctly on the other end.

    Have you the secret that I'm obviously missing??
    What format do I need to import it as? I thought it would be the esc-codes one from a 'nano' edit, and I even converted all the ^['s to ACTUAL ESCcodes... so I'm like.... :/



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/01/26 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (77:1/158)
  • From paulie420@77:1/158 to paulie420 on Tue Mar 9 15:08:27 2021
    Want to insert ANSI code into my MPL. Of course dispfile('filename.ext') works swimmingly, but I want to animate the ANSI across the screen. No matter how I import the ANSI code, I can't seem to find the way that 'works'.

    Save or convert the ANSI file to Mystic Color Codes, theres a converter program or you can doso in the Mystic ANSI Editor. (Save as Mystic Color Codes)

    Its tricky to get the file into your MPL in the correct 'format' - using Linux's nano brought it in in UTF8, and using the gui Kate editor was worse.

    I ran a simple "cat file1.ans >> file2.mps" which worked a charm, from there you can manipulate the ANSI however youd like. It will write perfectly if you just "writeLn" each line - but you can dive deepere and plot every point out on the screen if you're doing a bit more than simply displaying the file.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/01/26 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (77:1/158)
  • From xqtr@77:2/102 to paulie420 on Wed Mar 10 16:49:58 2021
    Want to insert ANSI code into my MPL. Of course dispfile('filename.ext') swimmingly, but I want to animate the ANSI across the screen. No matter ho import the ANSI code, I can't seem to find the way that 'works'.

    I usually use Geany editor (my default editor :) ) and if the ANSI file doesn't contain SAUCE data, it opens it like a charm. Then a simple copy/paste into the code (usually a write() function). I never had problems.

    As you also said, the ANSI to PIPE conversion is also a solution.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (77:2/102)
  • From paulie420@77:1/158 to xqtr on Thu Mar 11 18:07:53 2021
    Want to insert ANSI code into my MPL. Of course dispfile('filename.ex swimmingly, but I want to animate the ANSI across the screen. No matt import the ANSI code, I can't seem to find the way that 'works'.

    I usually use Geany editor (my default editor :) ) and if the ANSI file doesn't contain SAUCE data, it opens it like a charm. Then a simple copy/paste into the code (usually a write() function). I never had problems.

    Nice ... so I can use ANSi - I saw yours, in voteliner, and thought it was some difference between MPY / MPL - but I should have known.. it was just the format I was messing up, huh. Also watch out for SAUCE. Check... thanks xqtr. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/01/26 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (77:1/158)