Solved

Dos game on CD

Posted on 1997-10-19
13
387 Views
Last Modified: 2010-04-30
I recently installed a Zip drive and gave it the drive letter D, and my CD drive E. When I start the game (Labyrinth) after going to DOS mode (via a PIF) I now get the E drive letter like I'm supposed to, then I type in the bat file to start the game. I get the message: invalid media type, failure reading  drive D, abort, fail, retry.  All the windows settings are fine, everything says I have assigned the drive letters correctly, I can even read other cd's at the E: prompt but that game still thinks I'm using D. There is only a game save directory on drive C called Labsaves, otherwise the game is played only with the cd.
What's going on here? Have I missed something?
Can you help?

Thanks Steve
0
Comment
Question by:0519
  • 5
  • 5
  • 2
  • +1
13 Comments
 
LVL 4

Expert Comment

by:johnt082197
ID: 1107359
The easy solution would be to backup your saved games in a temporary directory, then uninstall the game and reinstall it.
Without doing this, you could try to locate the .INI file in the Windows directory. To locate it, you could either look for a name sounding like the one of your game, or, go to the game with the ZIP drivers not loaded, then modify some option in the game, then quit. List all .INI files by date. It's one of the latest modified. When you have located the file, open it, and find the reference to the drive letter. Modify it, save and enjoy.
0
 
LVL 4

Expert Comment

by:johnt082197
ID: 1107360
The DOS enviornment has no reference to the game. There are no *.cfg files associated with the game and there are no *.NIN files. I'm still stumped!
0
 

Author Comment

by:0519
ID: 1107361
Also, there is no installation of the game, it is just started at the CD ROM prompt (E:) by typing the bat file LAB.
0
 

Author Comment

by:0519
ID: 1107362
Could you post this .BAT file? Thanks.
0
 
LVL 4

Expert Comment

by:johnt082197
ID: 1107363
As it seems you are trying to play an MS-DOS game under WIN95
The easiest way to get rid of the assignment D for your ZIP-drive
is to assign a special DOS-session to that game (I hope you
know how to do that: Look at the Program Properties and choose
a self configured DOS-session. Here you only install the drivers
you want to load). Doing it this way, WIN95 will reboot your
computer each time you start the game, but you can decide which
drivers to load. Don't forget to enter the mouse and your
CD-ROM drivers...
0
 
LVL 2

Expert Comment

by:mdietz
ID: 1107364
I'm using a customized PIF already, that gets me to the E prompt OK, the problem starts when I begin the game at the E prompt. The message says invalid media type, failure reading drive D.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:0519
ID: 1107365
So... What about that batch file? (You could inverse those 2 letters too, by the way...)
0
 
LVL 4

Expert Comment

by:johnt082197
ID: 1107366
The BAT file is:
@echo off
cd\labw
set dos4g=quiet
player %1 %2
cd..

labw is a subdir. on the CD, dos4g.exe and player.exe are in that folder.
 While I know that I can reassign drive letters, I'd like to know what is going on here for future reference.
0
 

Author Comment

by:0519
ID: 1107367
Well... Nothing suspicious in that batch file. Could you do a DIR LABW*.* /S from C: drive? If you find any file like this tell me.
type DIR /AH /S. That looks for hidden files eberywhere on the hard drive. Anything syspicious?
0
 
LVL 4

Expert Comment

by:johnt082197
ID: 1107368
Try "subst d: e:". Subst is a file from your directory c:\winpath\command.
0
 

Expert Comment

by:kapoor
ID: 1107369
BINGO!  I typed SUBST D: \ on the bat file line in the PIF and it worked perfect!  All I can think of is that this game was written to default the D drive as a CDROM device.  Any thoughts?
 
Thanks to all who contributed!
0
 

Author Comment

by:0519
ID: 1107370
The game uses the first non-standard drive as default CD-ROM,
like a lot of games. This is the reason, why you must make
sure that your CD-ROM is the first drive loaded with explicit
drivers. From your question I see that you still have your
ZIP-drive as first drive. You must force your computer to ignore
that ZIP-drive by removing the drivers from your configuration
files or loading it after loading your CD-ROM.

DO NOT START THAT GAME IN A DOS PROMPT! USE A DOS-SESSION
CONFIGURED EXACTLY FOR THAT GAME!
0
 
LVL 2

Accepted Solution

by:
mdietz earned 100 total points
ID: 1107371
Thanks, that confirmed my hunch.  The zip drive should be drive E.  Yes I did configure the DOS session for the game, and it works fine.  Thanks again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
High ping 4 535
Microsoft flight simulator gauge on touch screen 1 422
new arcade machines 3 158
Can't Acess Shared folders across Site to site VPN 3 39
See the related links at the bottom of the tutorial for downloads and supplemental information. Introduction The Nvidia 3D Vision Kit is a [not so] new gaming technology which allows you to play the newest computer games in "Stereo 3D" (like …
Programming  of  forecasting lottery numbers for self use  on Turbo C++ is done by use of random number generator code by a program algorithm logic. Random numbers usually generates numbers between definite interval. Therefore, when entering the c…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now