• mystic (lnx) + dosbox

    From ryan@21:1/168 to All on Wed Jan 22 22:37:57 2020
    Hey folks,

    I imagine this is more broadly for any linux based BBS but since I use
    mystic, I figured I'd post in this sub. Plus, I know little about socket descriptors and suspect that may be part of the issue here.

    I'd like to experiment with getting a doorgame to work in dosbox (vs dosemu).

    I can't get darklands working in dosemu. So...dosbox it is :)

    I compiled dosbox version 0.73 which evidently doesn't have broken socket inheritance. I have
    serial1 = nullmodem telnet:1 inhsocket:1
    in my config.

    I launch dosbox telling it about the socket (with -socket) and use Mystic to launch dosbox with the socket handle, %H or whatever it is. This, so far, has always been "10".

    Now, I can't get anything to display on the BBS. If I export the display to
    be that of my vnc x server, I can see the display there, but I can't see it
    on the BBS.

    Anyone have this working at all? Calling apam for help here, your howto on
    the mystic wiki is out of date with dead links :P

    Thanks!

    --- Mystic BBS v1.12 A44 2020/01/16 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From apam@21:1/126 to ryan on Thu Jan 23 16:49:55 2020
    Anyone have this working at all? Calling apam for help here, your
    howto on the mystic wiki is out of date with dead links :P

    I have a howto on the mystic wiki? Hmm.

    I think from memory socket inheritance doesn't work on mystic on Linux,
    only stdio redirection.

    You should be able to use a dosbox shim I wrote for magicka with mystic,


    https://magickabbs.com/docs/configuration/doors/dos/dosbox.txt

    Keep in mind that the shim uses a port for each door configured via
    dosbox, so simultaneous nodes won't work (but then it wont work with
    dosbox file locking anyway).

    Sorry my documents not really great, the shim basically acts as a little
    server listening for a connection on a port specified, dosbox is
    configured to connect to said port and the shim relays the socket io via
    stdio for the bbs.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From ryan@21:1/168 to apam on Wed Jan 22 23:32:00 2020
    I have a howto on the mystic wiki? Hmm.

    Maybe someone (Avon?) did a writeup and just linked to your now defunct
    github gists :)

    I think from memory socket inheritance doesn't work on mystic on Linux, only stdio redirection.

    This sounds about right. Bummer. I wonder if g00r00 is tracking that?

    You should be able to use a dosbox shim I wrote for magicka with mystic,

    Sweet deal, gonna check this out later. Thanks man!

    Keep in mind that the shim uses a port for each door configured via dosbox, so simultaneous nodes won't work (but then it wont work with dosbox file locking anyway).

    Yeah, gonna create a .inuse file and trigger whether or not the door can
    launch based on its existence.

    Sorry my documents not really great, the shim basically acts as a little server listening for a connection on a port specified, dosbox is configured to connect to said port and the shim relays the socket io via stdio for the bbs.

    Sounds good to me. Much appreciated!

    --- Mystic BBS v1.12 A44 2020/01/16 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From Analog@21:2/123 to ryan on Thu Jan 23 08:08:58 2020
    Mystic to launch dosbox with the socket handle, %H or whatever it is. This, so far, has always been "10".

    Ryan,

    I user %0, the comm socket handle. Not sure about %H, but when I redirect IO
    to the socket descriptor that's what I had to use.

    Cheers,

    |19|15┌─|16|07┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |07└─┘├─┐ |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
    |11■ |07└|19|15─|16|07┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |12≡|15A|07n|08al|07o|15g|12≡ |08:>.|13F|05dn |131|08:|13305|08/|132|08.
    |08:>.|15S|08ci |1577|08:|151|08/|15131|08.
    |08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/01/16 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From ryan@21:1/168 to Analog on Thu Jan 23 09:59:46 2020
    I user %0, the comm socket handle. Not sure about %H, but when I
    redirect IO to the socket descriptor that's what I had to use.

    Ok, thanks. I'll give that a shot :)

    --- Mystic BBS v1.12 A44 2020/01/16 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From maskreet@21:1/114 to ryan on Thu Jan 23 12:47:59 2020
    On 22 Jan 2020, ryan said the following...

    Hey folks,

    I imagine this is more broadly for any linux based BBS but since I use mystic, I figured I'd post in this sub. Plus, I know little about socket descriptors and suspect that may be part of the issue here.

    I'd like to experiment with getting a doorgame to work in dosbox (vs dosemu).

    I can't get darklands working in dosemu. So...dosbox it is :)

    Darklands, eh? Lemme see if I can get this working.

    Are we talking about the one downloaded from darklands.cx?

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From ryan@21:1/168 to maskreet on Thu Jan 23 14:13:32 2020
    Darklands, eh? Lemme see if I can get this working.

    Are we talking about the one downloaded from darklands.cx?

    Yessir! And thanks.

    Notice that there are multiple dos versions and a linux version. There's also
    a link to the sources that include other binaries that you can try.

    In fact, I've gotten the source to compile in freepascal on linux, but can't get the damn thing to work at all regardless. *shrug*. I'm not much of a
    pascal guy in the first place.

    --- Mystic BBS v1.12 A44 2020/01/16 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From maskreet@21:1/114 to ryan on Thu Jan 23 20:09:32 2020
    On 23 Jan 2020, ryan said the following...

    Darklands, eh? Lemme see if I can get this working.

    Are we talking about the one downloaded from darklands.cx?

    Yessir! And thanks.

    Yeah, I checked it out. The docs are super light on what to do with this
    thing. I'll keep whacking at it though.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)