public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Tradewars 2002
@ 2003-01-21  0:54 Ryan Underwood
  2003-01-21  1:17 ` Bart Oldeman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ryan Underwood @ 2003-01-21  0:54 UTC (permalink / raw)
  To: linux-msdos


hi,

Can someone with a bit more knowledge of dosemu internals try to figure out
the problem with this program?

DPMI version:
ftp://doorgames.org/bbsfiles/space_doors/2002d309.zip
non-DPMI version:
ftp://doorgames.org/bbsfiles/space_doors/2002v309.zip

I tried both versions, under dosemu 1.0.2 with latest freedos, and after
starting a bigbang (to initialize the game), they exit with a:

File Error (1) - TWCfig.DAT : Invalid Function

Actually, it works fine under DR-DOS, so is this a FreeDOS problem and not
a dosemu problem?  If so, how would I go about getting relevant debug 
information to send to the FreeDOS developers?

Thanks!

-- 
Ryan Underwood, <nemesis at icequake.net>, icq=10317253

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tradewars 2002
  2003-01-21  0:54 Tradewars 2002 Ryan Underwood
@ 2003-01-21  1:17 ` Bart Oldeman
  2003-01-21  3:16   ` Bob Newell
  2003-01-21  1:43 ` DOS Partitions are read only John Sowden
  2003-01-21  6:02 ` Tradewars 2002 Ryan Underwood
  2 siblings, 1 reply; 6+ messages in thread
From: Bart Oldeman @ 2003-01-21  1:17 UTC (permalink / raw)
  To: Ryan Underwood; +Cc: linux-msdos

On Tue, 21 Jan 2003, Ryan Underwood wrote:

> File Error (1) - TWCfig.DAT : Invalid Function
>
> Actually, it works fine under DR-DOS, so is this a FreeDOS problem and not
> a dosemu problem?  If so, how would I go about getting relevant debug
> information to send to the FreeDOS developers?

I'm not sure which FreeDOS version you are using. The program you
mentioned seems to run just fine for me (with FreeDOS kernel 2028).

Bart


^ permalink raw reply	[flat|nested] 6+ messages in thread

* DOS Partitions are read only
  2003-01-21  0:54 Tradewars 2002 Ryan Underwood
  2003-01-21  1:17 ` Bart Oldeman
@ 2003-01-21  1:43 ` John Sowden
  2003-01-21  3:17   ` Bart Oldeman
  2003-01-21  6:02 ` Tradewars 2002 Ryan Underwood
  2 siblings, 1 reply; 6+ messages in thread
From: John Sowden @ 2003-01-21  1:43 UTC (permalink / raw)
  To: linux-msdos

I have DOSemu up and running.  I put the ms-dos components (from win98) in the 
"boot drive.  I boots fine, but when I lredir the other dos partitions, I 
cannot write to them.  I have installed and am running as a user, not root.

tia, john


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tradewars 2002
  2003-01-21  1:17 ` Bart Oldeman
@ 2003-01-21  3:16   ` Bob Newell
  0 siblings, 0 replies; 6+ messages in thread
From: Bob Newell @ 2003-01-21  3:16 UTC (permalink / raw)
  To: linux-msdos



On Mon, 20 Jan 2003, Bart Oldeman wrote:

> On Tue, 21 Jan 2003, Ryan Underwood wrote:
> 
> > File Error (1) - TWCfig.DAT : Invalid Function
> >
> > Actually, it works fine under DR-DOS, so is this a FreeDOS problem and not
> > a dosemu problem?  If so, how would I go about getting relevant debug
> > information to send to the FreeDOS developers?
> 
> I'm not sure which FreeDOS version you are using. The program you
> mentioned seems to run just fine for me (with FreeDOS kernel 2028).

An interesting related insight: Trade Wars will refuse to run multi-player
with anything BUT FreeDos (on a redirected file system).  It has to do
with the file locking issues in mfs.c, or at least it seems so.

There is a patch floating around that deals with this problem for just
about every other game of this nature, but TW is doing something slightly
different and I haven't quite figured out the details.

Bob



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: DOS Partitions are read only
  2003-01-21  1:43 ` DOS Partitions are read only John Sowden
@ 2003-01-21  3:17   ` Bart Oldeman
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Oldeman @ 2003-01-21  3:17 UTC (permalink / raw)
  To: John Sowden; +Cc: linux-msdos

On Mon, 20 Jan 2003, John Sowden wrote:

> I have DOSemu up and running.  I put the ms-dos components (from win98) in the
> "boot drive.  I boots fine, but when I lredir the other dos partitions, I
> cannot write to them.  I have installed and am running as a user, not root.

check your /etc/fstab; see "man mount". If you're on a true multiuser
system it's best to create a dosemu group. But if you're the only one on
that computer who uses Linux then you can just as well make the DOS
partition owned by you, ie. something like

         /dev/hda1 /dosc msdos defaults,uid=500,umask=022 0 0

in your /etc/fstab. Replace 500 with your real UID.
Use vfat instead of msdos if you want to see long file names in Linux.

Below is the relevant excerpt from README.txt.

Bart

    4. The msdos partitions, that you want to be accessable through
       Section 5 should be mounted with proper permissions. I recommend
       doing this via 'group's, not via user ownership. Given you have a
       group 'dosemu' for this and want to give the user 'lermen' access,
       then the following should be
          + in /etc/passwd:

         lermen:x:500:100:Hans Lermen:/home/lermen:/bin/bash
                      ^^^-- note: this is NOT the group id of 'dosemu'

          + in /etc/group:

         users:x:100:
         dosemu:x:200:dosemu,lermen
                  ^^^

          + in /etc/fstab:

         /dev/hda1 /dosc msdos defaults,gid=200,umask=002 0 0
                                            ^^^

       Note: the changes to /etc/passwd and /etc/group only take place
       the next time you login, so don't forget to re-login.
       The fstab entry will mount /dosc such that is has the proper
       permissions

       ( drwxrwxr-x  22 root     dosemu      16384 Jan  1  1970 /dosc )

       You can do the same with an explicit mount command:

          mount -t msdos -o gid=200,umask=002 /dev/hda1 /dosc

       Of course normal lredir'ed unix directories should have the same
       permissions.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tradewars 2002
  2003-01-21  0:54 Tradewars 2002 Ryan Underwood
  2003-01-21  1:17 ` Bart Oldeman
  2003-01-21  1:43 ` DOS Partitions are read only John Sowden
@ 2003-01-21  6:02 ` Ryan Underwood
  2 siblings, 0 replies; 6+ messages in thread
From: Ryan Underwood @ 2003-01-21  6:02 UTC (permalink / raw)
  To: linux-msdos


> I tried both versions, under dosemu 1.0.2 with latest freedos, and after
> starting a bigbang (to initialize the game), they exit with a:
> 
> File Error (1) - TWCfig.DAT : Invalid Function
> 
> Actually, it works fine under DR-DOS, so is this a FreeDOS problem and not
> a dosemu problem?  If so, how would I go about getting relevant debug 
> information to send to the FreeDOS developers?

Interesting.  Well, I was able to get it to work using the latest dosemu-freedos-07f
"Ripcord" distribution, and copying in the latest kernel.sys and command.com
from the freedos sourceforge project.  So it appears that this was a problem
in the old dosemu-freedos.tgz, which is now no longer an issue.

I will post here if I discover anything more.

-- 
Ryan Underwood, <nemesis at icequake.net>, icq=10317253

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-21  6:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-21  0:54 Tradewars 2002 Ryan Underwood
2003-01-21  1:17 ` Bart Oldeman
2003-01-21  3:16   ` Bob Newell
2003-01-21  1:43 ` DOS Partitions are read only John Sowden
2003-01-21  3:17   ` Bart Oldeman
2003-01-21  6:02 ` Tradewars 2002 Ryan Underwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox