Main > Software Forum
Dragon King and Z26 Bad file name or number
Shieldwolf:
Runtime error 52
Bad file name or number
I was trying to add z26 roms
I setup a new config
Atari.cfg
[Config]
extension=.a26
path=E:\atari\
exe=z26.exe
send rom path=1
send exit keys=0
command line options=
added this:
[Dirs]
***Enter all your rom paths... Just like you do in a mame.ini
roms=E:\mame\roms;E:\atari\roms
***Put These in as a base folder. I.E. If your snaps are in "e:\mame\snap\"
***then the entry should be: "e:\mame\"
Primary Artwork Dir=e:\mame\;e:Atari\;
Additional AW Dirs=e:\mamealt\;e:\mamealt2\
***The alternate elements allow you to have two more artwork elements besides the usual.
***Simply put the name of the sub folder (like "\controls\").
***Note: Skins must have an alt-element slot defined for this to work.
AltElement1=\cpanels\
AltElement2=\misc\
[startvd]
[path]
logo=Mame.png
caption=Mame
useclones=0
searchstrings:5=MAME
filters:6=*mature*;9=*Working No*;6=BIOS
[/path]
[/startvd]
[startvd]
[path]
logo=atari.png
caption=Atari
useclones=0
searchstrings:5=z26
filters:
[/path]
[/startvd]
used the dat creator on the dk site to make a dat file for z26 games. Took it and generated a list.
It found the games while generating the list.
When I went into Dk I rescaned roms.
It found no roms and when I switch to mame it gives me that error.
Now everytime I start dk I start at an empty atari roms section switch to mame and about 2 seconds later the error pops up.
Any ideas
Shieldwolf:
ok removing the 1.lst file i think fixed the problem, but I'm still not sure why i didn't find the roms for atari.
Howard_Casto:
which dat creator? There are 3....
You'd probably get more help if you'd actually put your problem AND the applicaiton your having the problem with in the title. :)
Bad file name or number means just that. You are missing a file that you need.
Shieldwolf:
I used izaram's dat maker. Like I said, DK did generate a list for it. So howard what file am I missing?
Howard_Casto:
Well to start out, your dirs.ini is hosed (i'm hoping that second section is a dirs.ini and you didn't add all of that stuff to your cfg file)
"[startvd]" only goes at the beginning of your first path, while "[/startvd]" goes after your last path.
Your primary artwork dir has two entries, it can only have one, thus the name.....
primary is for mame, alternate dirs are for other emulators.
It looks like you haven't been following the documentation and are trying to "wing it"..... Don't ever do that! :P
Your missing file is probably due to the fact that you went around messing with stuff and deleting things when you couldn't get it working (you said you deleted a lst file, which is necessary for dk to work). Don't do that either.
Hope that helps.... next time read the docs and pay close attention to the tutorials.