Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BBS Software Chatter  <--  <--- Return to Home Page
   Networked Database  BBS Software Chatter   [841 / 864] RSS
 From   To   Subject   Date/Time 
Message   Dan Clough    All   DOSEMU, PKZIP and DPMI   June 29, 2019
 10:08 PM *  

Hi all, I'm reposting the below message, with the original
author's permission, because I think it may be helpful to many
sysops...


 * Originally in: FSXnet BBS Support/Dev
 * Originally on: 06-29-19 20:40
 * Originally by: Netsurge

PKZIP and dosemu don't play very well, especially if you are using a 64bit
linux os.

There is a way to disable DPMI (which causes the issue) via command line, 
by adding -) to the command line, but that really doesn't help if the zip
and unzip routines are hardcoded into software, like interlord.

Alas, after a shit load of research I have found a work around.

First you will need pkzip 2.04g (google for pkz204g.exe or ask me to drop it
in your inbound).

Create a directory via dosemu to house pkzip and pkunzip (I created one in my
doors dir called pkzip).

Copy and run pkz204g.exe, it should uncompress all the PK stuff into
doors/pkzip.

Create a file in your pkzip dir called pkzip.cfg and add the following to
that file:

DPMI=Disabled

Next you need to set the path for your pkzip folder and disable dpmi for
pkunzip via your autoexec.bat. Edit autoexec.bat and add the following to
your path statement:

d:\doors\pkzip (where ever your created your pkzip folder)

so my path statement looks like this now:

path z:\bin;z:\gnu;z:\dosemu;d:\doors\pkzip

you also need to add the following to your autoexec.bat file right after your
last lredir statement:

SET PKUNZIP=-)

Now exit out of dosemu and head back into it so that your new autoexec.bat
takes effect.

As to why PKZIP uses a cfg file and PKUNZIP requires a variable set is beyond
me, why not use either or for both. Then again, we are talking about the
90's here/

You should now be able to run pkzip.exe and pkunzip.exe from any directory
without getting the dreaded DPMI error.

If you have any questions, there is a huge discussion on SciNet in the
gaming echo about beating dosemu into submission when it comes to running
old dos door games in linux.

frank // netsurge
disksh0p!bbs % bbs.diskshop.ca % mystic goodness 
SciNet ftn hq % https://diskshop.ca/scinet

=== Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
 # Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (21:4/154)
--- SBBSecho 3.07-Linux
 * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BBS Software Chatter  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0834 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_n3okknpb6prq1bodpnrcdhocq6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_n3okknpb6prq1bodpnrcdhocq6, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_n3okknpb6prq1bodpnrcdhocq6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0