VOGONS


Need Help please

Topic actions

First post, by Blazer88

User metadata
Rank Newbie
Rank
Newbie

Ok,...I am having probs getting games to run that were working before.I am pretty much do not know anything about DOS so if ya can help ya need to explain in well.
Ok,..using DOS Box 0.63 with D-Fend v2,..and really until recently I have had great success with games working with little change to default settings.However upon reinstalling those two apps I have since had issues with multiple games and it is well beyond me as to why,...
For instance Ultima IV-Quest for the Avatar that I got from Home of the Underdogs.(have other copies though I have tried too) here is the message that DOS Box gives me for this game,..and it is pretty muchg the same for all the others that do not work so I figure if I can figure out this one then I can adapt it to fix the others.So the following is what comes out in the DOS Box window using the ultima.exe. There are other exe files (such as title)and they give the same effect.Oh I should point out that these exe files do work when I run them with XP dos emu so it is not as if they are corrupt or anything like that.But I want them to run on DOS Box/D-Fend combo again.

Z:\>SET BLASTER=A220 17 D1 H5 T6

Z:\>SET ULTRASND=240,1,1,5,5

Z:\>SET ULTRADIR=C:\ULTRSND

Z:\>mount D "D:\"
Drive D is mounted as local directory D:\

Z:\>D:

Z:\>cd\

Z:\>cd EMULAT~1\DOSBOX~1\DOSGAM~1\ULADB6~1\ULTIMA~1\
unable to change to: EMULAT~1\DOSBOX~1\DOSGAM~1\ULADB6~1\ULTIMA~1\

D:\ultima.com
illegal command: ultima.com.

Reply 1 of 8, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

First of all, you're using directories with long filenames (longer than 8 characters). This is BAD because it causes lots of confusion. Just make a D:\oldgames or something.

Second, for some reason in your example when you do `D:` to switch to the d: drive, the Z:\> prompt should change to D:\> but doesn't. Is this a typo?

Also, the `dir` command is your friend! Use it to see what's in the current directory so you know that you aren't doing something invalid.

Reply 2 of 8, by Blazer88

User metadata
Rank Newbie
Rank
Newbie

Nope,..not a typo that is what it says.

Also concerning directories,...all of them need to 8 characters,..no spaces?
Like not only The one game ar located in which I had called DOS Games
but then individulal game folder too,..like Ultimas which in my given examle that game is contained in a folder with the full name of the game,..obviosly much longer then 8 characters,...and what of DOS boxes location?That directory too?

Reply 3 of 8, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Okay....

MS-DOS (Which DosBox to a degree emulates), only supports 8.3 character filenames and directories.

This means

"12345678.123"

So:

C:\
C:\OLDGAMES
C:\OLDGAMES\ULTIMA1

You can use longer than 8.3 character filenames/directories with DosBox.....BUT DosBox will shorten these filenames/directories to 8.3 chatacter filenames and directories soooo...

C:\ILOVELONGFILENAMES\

would be
C:\ILOVEL~1\ in DosBox.

Now if you know what your doing this is fine....but if you don't know much about DOS and are easily confused then it is MUCH easier to simply use 8.3 character filenames and to use a DosBox GUI such as D-FEND.

Finally, a space counts as a character too....and if you must use long filenames and spaces then you should definetly put quotations around them:

Ex:
mount c "d:\IlovelongfilenamesbecauseIamanoobandIknownobetter\yes I really am\"

😁

How To Ask Questions The Smart Way
Make your games work offline

Reply 4 of 8, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

About filenames:

DOS only knows 8 characters plus 3 characters after the dot (the extension). Ever wondered why almost all files you see have exactly 3 chars after the dot? That's why.

In theory, you can use longer filenames, but DOSBox needs to garble them in order to squeeze them into 8 chars. Windows XP also garbles filenames in some places - after all, it has some degree of DOS still built-in. But both work differently, so to avoid any troubles:

Use file and directory names of at most 8 characters, plus maximum 3 chars for the extension. And as you already guessed: no spaces.

That applies to files accessed _within_ dosbox, not dosbox itself or any other files. Put your DOS games into c:\oldgames\ or similar, and you are safe. (Example for ultima: c:\oldgames\ultima4\)

As HunterZ already mentioned, it is very strange that "d:" results in a "Z:\>" prompt. Try to find out why - if D is mounted correctly, "d:" should yield a "D:\>" prompt. Fix that first, because the rest cannot work on Z:.

Reply 5 of 8, by Blazer88

User metadata
Rank Newbie
Rank
Newbie

Hmm,...the 8 character thing seems to have done the trick,...I changed all but one folder to 8 characters and it started up on the first try.Not sure if I had to do as many as i did but figure it couldn't hurt

Reply 6 of 8, by Blazer88

User metadata
Rank Newbie
Rank
Newbie

Yes well it seems to be the name game that caused the error cause it worked as soon as I shortened the names,..so thanks for the help.I am still a little confused to why it happened though because the directories while not all with the the path were that long most were not much different then what they had in the error.anyhow,...now I know though
thanks again

Reply 7 of 8, by Blazer88

User metadata
Rank Newbie
Rank
Newbie

And of course there still is the question to why other long named directories work for instance Ultima 2-Revenge of the Enchantress works fine and thats even longer

Reply 8 of 8, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Depends. Could be Windows...could be DosBox.

If you really want to look into it then surf around in the Command Prompt and use the "Dir /x" command. The /x shows the 8.3 character filenames.

Most likely there are ~2, ~3, ~4...etc.

How To Ask Questions The Smart Way
Make your games work offline