[ Post New Message | Post Reply to this One | Send Private Email to Angry | Help ]

Note on long filenames and DosMAME

from Angry (greggg@ix.netcom.com)
I wasn't aware that DosMAME would ever playback .inp files with long filenames, even in v0.30. There is a fairly simple workaround, though, which will allow you to use long filenames with all versions of DosMAME... Windows 95/98 uses a standard method for translating long filenames into 8.3 style filenames that DOS can recognize. The files are truncated as follows:
-------------------------------------------
Long Filename Short Name
========================== ============
bj_upndown_91530_m33b7.inp bj_upn~1.inp
ggg_lnc_34180_m34b6.inp ggg_ln~1.inp

This simply shortens the name of the file to the first 6 characters, and a ~1 in place of the remaining name. In the event that there are 2 files with the same 6 characters up front, the ~1 becomes a ~2 (and so on). If you have more than 9 similarly named files, the filename is shortened to 5 characters + ~10 (I assume that this continues until you max out the number of files in the directory). I hope the html tags above worked, otherwise it'll look kinda weird. =Angry=
(posted 9887 days ago)

[ Previous | Next ]