Daggerfall: Non 8.3 directory names

Post » Sun Apr 03, 2011 11:41 pm

Two questions:

1. Can the virtual C: drive be a directory that has more than 8 characters? E.g. "C:\Program Files\Bethesda Softworks\" becomes virtual C:
2. Can I turn off 8.3 filenames in NTFS and still run Daggerfall? It's a minor performance tweak, since virtually no modern applications require them. This may be more of a question as to whether or not DOSBox can handle this.
User avatar
Ashley Campos
 
Posts: 3415
Joined: Fri Sep 22, 2006 9:03 pm

Post » Mon Apr 04, 2011 3:34 am

Dosbox cannot handle more than 8.3. It's based on MSDOS. I recommend not putting daggerfall in a subdirectory of Progra~1
User avatar
kat no x
 
Posts: 3247
Joined: Mon Apr 16, 2007 5:39 pm

Post » Sun Apr 03, 2011 9:46 pm

Thanks. Does it look for the 8.3 filename under NTFS, or just assume the name is in 8.3 format already?
User avatar
Del Arte
 
Posts: 3543
Joined: Tue Aug 01, 2006 8:40 pm

Post » Mon Apr 04, 2011 2:38 am

Two questions:

1. Can the virtual C: drive be a directory that has more than 8 characters? E.g. "C:\Program Files\Bethesda Softworks\" becomes virtual C:
2. Can I turn off 8.3 filenames in NTFS and still run Daggerfall? It's a minor performance tweak, since virtually no modern applications require them. This may be more of a question as to whether or not DOSBox can handle this.

You can mount any folder regardless of character length. You just need to remember to enclose the entire path in quotes. That way, if there are spaces it will still mount gracefully. Once mounted to a virtual C: drive, it's simply going to be treated as C:\. DOSBox will automatically truncate files down to the 8.3 format if necessary, so there is no need to change any Operating System settings to accommodate DOSBox. I just tested this to be sure. And to clarify, you can't actually disable 8.3 filenames. You can disable the automatic creation of 8.3 filenames from long filenames, but a filename that happens to fit the 8.3 standard doesn't suddenly stop working. According to http://support.microsoft.com/kb/121007:

The creation of 8.3 filenames and directories for all long filenames and directories on NTFS partitions may decrease directory enumeration performance. This article describes a method of disabling the 8.3 name creation on all NTFS partitions.

NOTE: Although disabling 8.3 name creation increases file performance under Windows NT, some 16-bit applications may not be able to find files and directories with long filenames.

If it does turn out that DOSBox fails to recognize long file names when the 8.3 filename creation is disabled, you should still achieve success by simply making sure your folder structure complies with the 8.3 standard. It shouldn't be necessary to enable the creation of 8.3 filenames if you're already complying with the 8.3 standard for your DOSBox apps.
User avatar
Nick Tyler
 
Posts: 3437
Joined: Thu Aug 30, 2007 8:57 am

Post » Sun Apr 03, 2011 8:46 pm

Thank you!
User avatar
Lucie H
 
Posts: 3276
Joined: Tue Mar 13, 2007 11:46 pm

Post » Mon Apr 04, 2011 12:29 am

Thank you!

You're welcome. :) By the way, I just did further testing. I tried creating a folder with a long name after disabling the automatic creation of 8.3 filenames and DOSBox still truncated it down to 8.3, so you should be good to go.
User avatar
Nicholas C
 
Posts: 3489
Joined: Tue Aug 07, 2007 8:20 am


Return to The Elder Scrolls Series Discussion