Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Dragon King and Z26 Bad file name or number  (Read 1549 times)

0 Members and 1 Guest are viewing this topic.

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Dragon King and Z26 Bad file name or number
« on: May 02, 2004, 01:00:22 pm »
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




« Last Edit: May 02, 2004, 05:08:10 pm by Shieldwolf »

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Bad file name or number
« Reply #1 on: May 02, 2004, 01:03:54 pm »
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

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Bad file name or number
« Reply #2 on: May 02, 2004, 04:22:30 pm »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Bad file name or number
« Reply #3 on: May 02, 2004, 05:07:23 pm »
I used izaram's dat maker. Like I said, DK did generate a list for it. So howard what file am I missing?
« Last Edit: May 02, 2004, 11:22:50 pm by Shieldwolf »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Dragon King and Z26 Bad file name or number
« Reply #4 on: May 03, 2004, 01:27:01 am »
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.  


Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Dragon King and Z26 Bad file name or number
« Reply #5 on: May 03, 2004, 01:54:28 am »
1. actually I saw that I had the "[/startvd]" I had misplaced.

2. after I had posted, but I still can't launch the emu I get the list just not the emu.

3. I don't erase things if I don't know what they are.

4. I only "wing it" because I'm not clear on some of the documentation

5. I really do like your fe and appreciate the help

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Dragon King and Z26 Bad file name or number
« Reply #6 on: May 03, 2004, 02:26:58 am »
When you made the dat file did you call the header within the dat file "Atari" ?  That is what you are calling in your config and your filters.  The name of the dat file is irrelevant, but the name in the header must match the naming conventions of your cfg file and the filters you make.  

Z26 probably needs short path names, so I doubt you can launch it without using a wrapper.  


If you are having trouble understanding the docs then it's your responsibility to contact me and express your concerns.  I can try to re-word things if they are gving people problems but I'm not a mind reader. ;)

For the record though, I think the docs are well written.. it's just they are long (and unfortunately have to be to cover everything) and people don't have the attention span to read them.  I'm by no means accusing you of that though, I'm just making a generalized statment.  

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Dragon King and Z26 Bad file name or number
« Reply #7 on: May 03, 2004, 03:43:35 am »
I actually thought the wrapper might be the way to go. I'm looking at the zinc wrapper and I'm having the same problem, where I get the list, but when I try it launch a game it will pause like it is running the command line and then just stop.

Now I will say I didn't touch your iconfig, because I thought it was already set for zinc, but I did read through it. I place it and the comand launch in my zinc folder and when the zinc cfg file to besure it was right

Teknique

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 204
  • Last login:October 02, 2015, 10:35:46 am
  • I'm a Gauntlet wizard in real life
Re:Dragon King and Z26 Bad file name or number
« Reply #8 on: May 05, 2004, 09:09:03 pm »
Shieldwolf-

If your cfg. is called 'Atari.cfg'  then your searchstring needs to be 5=atari

Tek

Your screen name has been added to my frag list.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Dragon King and Z26 Bad file name or number
« Reply #9 on: May 06, 2004, 05:19:48 pm »
Yup, emulator name (as in the header name in the dat file you are using), not exe name.  Thanks for catching that.  

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Dragon King and Z26 Bad file name or number
« Reply #10 on: May 06, 2004, 10:33:59 pm »
try this on:

bad command line switch seen


???


or file not found ... (atari).a26
which is odd cons


dk dir

[Dirs]
***Enter all your rom paths... Just like you do in a mame.ini

roms=E:\mame\roms;E:\z26\roms;E:\zinc\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\
Additional AW Dirs=e:\z26\;e:\snes\

***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]
[path]
logo=Atari.png
caption=z26
useclones=0
searchstrings:5=Z26
filters:
[/path]
[path]
logo=zinc.png
caption=Zinc
useclones=0
searchstrings:5=Zinc
filters:
[/path]
[/startvd]


z26.cfg

[Config]
extension=.a26
path=E:\z26\
exe=z26.exe
send rom path=1
send exit keys=0
command line options=
emulator is on a cd=0
roms are on a cd=0
Emulator Volume Label=
Roms Volume Label=

« Last Edit: May 06, 2004, 10:41:58 pm by Shieldwolf »

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Dragon King and Z26 Bad file name or number
« Reply #11 on: May 10, 2004, 12:16:38 am »
did anyone figure out what I'm doing wrong?

Teknique

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 204
  • Last login:October 02, 2015, 10:35:46 am
  • I'm a Gauntlet wizard in real life
Re:Dragon King and Z26 Bad file name or number
« Reply #12 on: May 10, 2004, 10:02:22 am »
Sheild,

1. Be sure when you created your dat you called it z26- look inside and be sure the first line says z26 too.

2.  If you can run the emu. outside DK, and can not run it inside DK then you need to use the command line wrapper and point the z26 cfg to the wrapper.

*edit*
When you use Iziramn's Dat maker you can call the dat whatever you want to.  Just be sure you called it what your cfg. is called and what your calling it in your 5= xxx in your dirs.ini

« Last Edit: May 11, 2004, 08:50:04 am by Teknique »
Your screen name has been added to my frag list.

Shieldwolf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:November 16, 2020, 12:48:53 am
  • SpearShield.com
Re:Dragon King and Z26 Bad file name or number
« Reply #13 on: May 11, 2004, 07:09:01 pm »
hmm starting over with the zinc wrapper
« Last Edit: May 11, 2004, 09:58:08 pm by Shieldwolf »