Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: arcadealex on December 11, 2003, 09:25:07 pm

Title: Batch file to handle different settings for Daphne games?
Post by: arcadealex on December 11, 2003, 09:25:07 pm
Now that I've got MW working with Daphne - (thanks Minwah!!)
I am trying to get Daphne to be able to play each laser game using specific command line settings depending on the game?

Has anyone done this? Minwah suggested something like:
----------------------------------------------------------------------------
if %1 = badlands then
    daphne badlands -latency 150 and -nohwaccel
if %1 = lair then
    daphne lair -whateveryouwant
----------------------------------------------------------------------------

I will give something like this a go on the weekend, but I was hoping someone out there has already tried it and has a solution ??
If so - could someone please post the code they use in the daphne.bat that MW uses to run the games?

Thanks again
Sandro, Australia.
Title: Re:Batch file to handle different settings for Daphne games?
Post by: Howard_Casto on December 11, 2003, 11:11:56 pm
skip the batch file, use one of the wrappers.... i believe i evne have one of the daphne configurations up as an example in the online docs


www.oscarcontrols.com/lazarus/ (http://www.oscarcontrols.com/lazarus/)
Title: Re:Batch file to handle different settings for Daphne games?
Post by: arcadealex on December 12, 2003, 01:21:43 am
Ok - thanks.. I think I understand it

So, from what I've read in the docs, I need to:

1. set up the daphne.cfg file that looks like similar to this:
extension=.txt
path=d:\daphne\
exe=daphne.exe
send rom path=0
send exit keys=0
command line options; vldp -fullscreen -framefile %.txt -x 1024 -y 768 -nohwaccel

Then in the lconfig.ini I need to set up specific entries (in the {cmdlist} section) for each Daphne game?

And as long as I have the entries match the framefile name it should be right?

If that's all correct, the only question I have is how to do I get MW to run this wrapper?  ???
Will I need tell MW that the executable for Daphne is the cmd-launch5.exe ?

Thanks

Title: Re:Batch file to handle different settings for Daphne games?
Post by: Howard_Casto on December 12, 2003, 08:22:25 pm
yup you've got it

 and in the wrapper's lconfig.ini you tell it that the emulator is daphne.exe