• Re: Doors on linux hosted BBSes

    From esc@21:4/173 to Digital Man on Thu Oct 27 01:28:34 2022
    Re: Re: Doors on linux hosted BBSes

    Hey Rob, /very/ different topic but this thread was what spurred my memory into reaching out to you.

    I have a number of roguelikes on my BBS computer. I would really like to serve those up as games on the BBS. A number of these work relatively well out of the box or with a handful of changes to function in cp437 with standard dos colors. However, a number of these games use true unicode and the xterm-256color palette.

    I saw in the syncterm repo that there are evidently plans to implement unicode at some point. It also seems to have been a pretty stale feature plan that hasn't moved much in a few years.

    Any chance to inject a little interest in enabling this?

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Tracker1@21:3/149 to esc on Thu Oct 27 22:34:55 2022
    On 10/27/22 01:28, esc wrote:

    However, a number of these games use true unicode and the xterm-256color palette.

    The issue will be translating the character codes and colors for
    16-color CP437 client users... which may well work badly to very badly
    for them... or detecting upscale clients and only letting those
    connected users use said games.

    luit does a pretty good job for character set conversion, but won't
    really work for the color code filters/adjustments.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)
  • From esc@21:4/173 to Tracker1 on Fri Oct 28 08:56:06 2022
    The issue will be translating the character codes and colors for
    16-color CP437 client users... which may well work badly to very badly for them... or detecting upscale clients and only letting those
    connected users use said games.

    What I use for this typically is here: https://github.com/bostelk/cp437

    I also set LANG=en_US for most games, and TERM=ansi or ansi-bbs (which I snagged from the Synchronet wiki and works pretty well).

    The problem is that some games still look off, with incorrect characters or color schemes hardcoded in the games themselves which makes them basically unplayable.

    luit does a pretty good job for character set conversion, but won't really work for the color code filters/adjustments.

    Interesting, hadn't looked at this, but I will give it a look now. Thanks for the recommendation!

    But yeah, my goal is to have a games selection menu for traditional 80x25 cp437 (i.e., dos doors) and a separate menu for unicode 256color games. Naturally there could be logic baked in to gate some of these menus behind a theme or some detection thing.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Digital Man@21:1/183 to esc on Sun Oct 30 15:14:48 2022
    Re: Re: Doors on linux hosted BBSes
    By: esc to Digital Man on Thu Oct 27 2022 01:28 am

    Re: Re: Doors on linux hosted BBSes

    Hey Rob, /very/ different topic but this thread was what spurred my memory into reaching out to you.

    I have a number of roguelikes on my BBS computer. I would really like to serve those up as games on the BBS. A number of these work relatively well out of the box or with a handful of changes to function in cp437 with standard dos colors. However, a number of these games use true unicode and the xterm-256color palette.

    I think the latest SyncTERM already supports the xterm-256color palette. https://gitlab.synchro.net/main/sbbs/-/raw/master/src/conio/cterm.txt

    If by "unicode" you're refering to UTF-8 support in SyncTERM, yeah, that's on Deuce's todo list.

    I saw in the syncterm repo that there are evidently plans to implement unicode at some point. It also seems to have been a pretty stale feature plan that hasn't moved much in a few years.

    Any chance to inject a little interest in enabling this?

    Sure, but I'm not likely the one to do most of that work (in SyncTERM), that'd be Deuce. I think the *only* place that Decue accepts SyncTERM feature requests/discussion these days is https://sourceforge.net/p/syncterm/feature-requests/
    so I'd bring it up or chime-in there.
    --
    digital man (rob)

    Sling Blade quote #26:
    Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 84.2øF, 19.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From Digital Man@21:1/183 to acn on Sun Oct 23 19:50:47 2022
    Re: Re: Doors on linux hosted BBSes
    By: acn to McDoob on Mon Apr 04 2022 10:40 am

    Am 03.04.22 schrieb McDoob@21:4/135 in FSX_BBS:

    Hallo Mcdoob,

    Synchronet includes JavaScript-based versions of LORD, LORD2 and
    "TradeWars 2".

    But, 2fi---um, 2TWIsty (o_-) is running Mystic, not Synchro. Do you know if these java versions are available to the general public?

    The JS versions are available, just as everything else from
    Synchronet, as open source from the Git repository: https://gitlab.synchro.net/main/sbbs
    In the subdirectory xtrn, 'lord', 'lord2' and 'tw2' can be found.

    Also, there is still the trouble of setting up a Java environment, but that won't be as difficult as setting up a DOS environment in Linux...

    Just for clarification: It's JavaScript, not Java.
    And I don't know if Synchronet JavaScript scripts can be made running
    on Mystic or other BBS systems.

    Yes, using jsdoor, written by Deuce, the same one that made those JS ports of those door games: http://doors.bbsdev.net/

    (sorry, I realize that's an old post)
    --
    digital man (rob)

    Sling Blade quote #26:
    Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 60.3øF, 76.0% humidity, 8 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From acn@21:3/127.1 to Digital Man on Mon Oct 24 10:57:00 2022
    Am 23.10.22 schrieb Digital Man@21:1/183 in FSX_BBS:

    Hallo Digital,

    Just for clarification: It's JavaScript, not Java.
    And I don't know if Synchronet JavaScript scripts can be made running ACN>> on Mystic or other BBS systems.

    Yes, using jsdoor, written by Deuce, the same one that made those JS ports of those door games: http://doors.bbsdev.net/

    Thank you! I didn't know that this exists :)

    (sorry, I realize that's an old post)

    No problem. I think it's good to have this piece of information here
    :)

    Regards,
    Anna

    --- OpenXP 5.0.56
    * Origin: Imzadi Box Point (21:3/127.1)
  • From Tracker1@21:3/149 to esc on Tue Feb 14 08:11:51 2023
    But yeah, my goal is to have a games selection menu for traditional 80x25 cp437 (i.e., dos doors) and a separate menu for unicode 256color games. Naturally there could be logic baked in to gate some of these menus behind a theme or some detection thing.

    Yeah, I finally got around to setting the colors in my terminal application (Tabby) to match original DOS/CGA colors...

    Not sure on detection, I know there is some stuff in terminal responses, and telnet interaction for that matter, but been a very long time since I looked into it... not to mention unicode detection, etc.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)