Need help figuring out dosemu and doors with enigma reddit / bbs ---------------------------------------------------------------------- Paracelex ยท 2021-08-16 18:51 I have been fighting with enigma 1/2 and dosemu all week trying to figure out how to get a couple of door to work. I feel I am real close but quite get it to work. Was wondering if someone could look at the following codes and tell me if you notice any in-consistences? I'm working in debian 11 and I can not get dosemu2 to install so I have to use regular dosemu. ​ For example I am trying to get the door game darkness to work. I setup a directory in enigma\\\\bbs called doors that I am using to work with. ​ My config/menus/ bbs-doors.hjson file contains this: ​ \​ darkness: { desc: Playing Darkness module: abracadabra config: { name: Darkness dropFileType: DOOR cmd: /home/dannygarrett/enigma-bbs/doors/rundark.sh args: \[ "{node}", "dark", \], nodeMax: 1 tooManyArt: DOORMANY io: stdio } } the [rundark.sh](https://rundark.sh) file that I created to run the door looks like this: BBSROOT=/home/dannygarrett/enigma-bbs NODE=$BBSROOT/drop/node$1 \# NODE=$BBSROOT/temp$1 \#EXTNODE=/opt/share/node$1 \# Convert DOOR.SYS to DOS line endings unix2dos $NODE/DOOR.SYS 2>/dev/null ​ \# Define root directory for DOSEMU hdd DROOT=/home/dannygarrett/.dosemu/drive\_c/nodes/temp$1 ​ \# Define node directory inside DOSEMU filesystem cp $NODE/DOOR.SYS $DROOT/DOOR.SYS \#cp $NODE/DOOR.SYS $EXTNODE ​ \# Generate a random lowercase 4 digit code for batch file uniqueness RAND=$(tr -dc a-f0-9 2>/dev/null /dev/null 2>&1 \# dosemu -E "D:\\\\cahce\~6p.\_\_\_\\doc\\by-app" 1>/dev/null 2>&1 rm $3/$2 rm $3/DOOR.SYS } ​ case "$DOOR" in dark) echo -e '\\r@echo off \\r' > $DROOT/$FILE echo -e 'c: \\r' >> $DROOT/$FILE echo -e 'cd c:\\\\doors\\\\darkness\\\\ \\r' >> $DROOT/$FILE echo -e 'dark16 /n'$1' \\r' >> $DROOT/$FILE echo -e 'exitemu' >> $DROOT/$FILE unix2dos $DROOT/$FILE 2>/dev/null run\_batch $1 $FILE $DROOT ;; ​ \*) echo "Invalid option" ;; esac trap 2 ​ Now when I load the door in enigma it tries to execute it loads up dosemu and i get a bad command or filename at c:\\nodes\\temp1\\run8dcc.bat i can dir/s for door.sys and that .bat file in the dosemu console that pops up in failure and can not find any of those files. However I can find the files when I look at directories in debian. For instance the door.sys file is sitting in /home/dannygarrett/enigma-bbs/drop/node1 directory and the run\*.bat file is sitting in the /home/dannygarrett/.dosemu/drive\_c/nodes/temp1 directory even though i can not see it in its matching c: directory while the door is still trying to load. ​ Anybody have any ideas?