Jump to content
LaunchBox Community Forums

Daphne - easy way to add to LaunchBox


ckp
 Share

Recommended Posts

Download the attached batch file and put it inside your Daphne folder where your daphne.exe is.

Open the batch file with notepad or other text editor.

Make sure all the quoted games (such as "astron") match the file names of the .txt files inside Daphne\framefile folder but not including the .txt extension. Change the names in the batch file if any don't match your files.

At the end of the last line is the resolution setting. It is set for 1920x1080. Change that to match your monitor if you like.

Save the batch file before closing it if you made any changes.

Create a new platform for Daphne.

Create a new emulator called Daphne.

Point the Daphne emulator to the attached batch file called daphnebatch.bat

Put a checkmark on these two emulator settings:

"don't use quotes" and "use filename only without file extension..."

Add platform Daphne in the Associated Platforms tab and set to Default (if you want).

Import your Daphne games (as rom files) into LaunchBox using the game .txt files inside your Daphne\framefile folder, choosing the new Daphne emulator and platform.

That's about it.  Try it out!

I hope this helps some people.

 

daphnebatch.bat

Or copy and paste text below to make your own bat file.


@echo off



if "%1"=="ace" set bank= -bank 0 00000010 -bank 1 00000001& goto :start

if "%1"=="astron" set bank= -bank 0 00000000 -bank 1 00000000& goto :start

if "%1"=="badlands" set bank= -bank 0 00000010 -bank 1 10000011& goto :start

if "%1"=="bega" set bank= -bank 0 00000000 -bank 1 00000111& goto :start

if "%1"=="cliff" set bank= -bank 0 00000000 -bank 1 01000000 -bank 2 00000000 -bank 3 01111011& goto :start

if "%1"=="cobraab" set bank= -bank 0 00000000 -bank 1 01001000& goto :start

if "%1"=="esh" set bank=& goto :start

if "%1"=="galaxy" set bank= -bank 0 00000000 -bank 1 00000000& goto :start

if "%1"=="gpworld" set bank=& goto :start

if "%1"=="interstellar" set bank= -bank 0 00110001 -bank 1 00000000& goto :start

if "%1"=="lair" set bank= -bank 0 11011001 -bank 1 00100111& goto :start

if "%1"=="lair2" set bank=& goto :start

if "%1"=="mach3" set bank= -bank 0 01000100& goto :start

if "%1"=="roadblaster" set bank= -bank 0 00000000 -bank 1 00000001& goto :start

if "%1"=="sdq" set bank= -bank 0 00100001 -bank 1 00000000& goto :start

if "%1"=="tq" set bank=& goto :start

if "%1"=="uvt" set bank= -bank 0 00000000& goto :start





set bank= -bank 0 11011001 -bank 1 00100111



:start



daphne.exe %1 vldp -framefile framefile\%1.txt -blend -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -fastboot%bank% -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1920 -y 1080

 

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

So I can not get Road Blaster to work

 

It references rb.txt and I changed everything correctly, but this is the error log

 

--DAPHNE version 1.0.12
--Command line is: daphne.exe rb vldp -framefile framefile\rb.txt -blend -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -fastboot -bank 0 00000000 -bank 1 00000001 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1920 -y 1080 
--CPU : GenuineIntel 1700 MHz || Mem : 4096 megs
--OS : Windows XP/.NET || Video : NVIDIA GeForce 9800M GS
--OpenGL: Compiled In
--RGB2YUV Function: MMX
--Line Blending Function: MMX
--Audio Mixing Function: MMX
Setting alternate home dir:
.
ERROR: Unknown game type specified : rb
Bad command line or initialization problem (see daphne_log.txt for details). 
To run DAPHNE, you must specify which game to run and which laserdisc player you are using. 
For example, try 'daphne lair noldp' to run Dragon's Lair in testing mode.
 

Link to comment
Share on other sites

1 hour ago, Moandain said:

Hi @Moandain

Sorry you're having trouble with Road Blaster.

I just tried road blaster and it works for me.

Do you have the batch file in the same folder as daphne.exe and is there a folder named framefile in there with a file named rb.txt?

 

Link to comment
Share on other sites

8 hours ago, ckp said:

Also, make sure this game works ok outside of Launchbox without the batch file.

works 100% outside the batch file 

8 hours ago, ckp said:
10 hours ago, Moandain said:

Hi @Moandain

Sorry you're having trouble with Road Blaster.

I just tried road blaster and it works for me.

Do you have the batch file in the same folder as daphne.exe and is there a folder named framefile in there with a file named rb.txt?

 

Yes the bat is in the same location as the exe, There is a folder named framefile with rb.txt in it. 

if "%1"=="rb" set bank= -bank 0 00000000 -bank 1 00000001& goto :start

is the line edited inside the bat file

Link to comment
Share on other sites

there is a road blaster.txt that contains the following


Road Blaster
(C) 1985 Data East Corp.

Source:
  Arcade laserdisc (Sony, single-sided)

Hardware:
  Compro VideoMate TV Ultra
  Modified Digidesign 442 audio interface
  Sony LDP-3600D

Settings:
  Brightness 132, contrast 68
  Compro Tweak Y/C
    Chroma and Luma motion detect 1%
    Y sharpness - middle bandwidth, 0.5
    Y aperature compensation level at minimum
  VirtualDub 1.5.10
    704x480
    huffyuv codec
    44.1 KHz audio
  TMPGEnc 2.5
    512x480 non-interlace
    CQ 75
    max bitrate 8000
    min bitrate 100
    brightness 5, contrast 5
    sharpness 20 horizontal, 20 vertical, field-based
    deinterlace double
    clip frame - left edge by 8 pixels
  Adobe Audition 1.5
    Normalized, DC offset corrected
    Ogg Vorbis filter quality factor 0.5

 

However if I set Daphne to it it will not run. (outside the Bat file and directly from daphne)

rb.txt contains the following. 

.
1  rb.m2v

Link to comment
Share on other sites

if you run the game from daphne itself, there is an option (think it might be debug in the last tab for the game settings) to show you the command line before it runs, copy that command line that pops up and paste it in here.  

Do any of your Daphne games work with the batch file and LB? Maybe your paths are different somewhere. It sounds like this is just a path issue.

Link to comment
Share on other sites

1 minute ago, ckp said:

if you run the game from daphne itself, there is an option (think it might be debug in the last tab for the game settings) to show you the command line before it runs, copy that command line that pops up and paste it in here.  

Do any of your Daphne games work with the batch file and LB? Maybe your paths are different somewhere. It sounds like this is just a path issue.

all the other games work.

the only thing that was different was the fact I had to change the name of road blaster in the bat file to rb

Link to comment
Share on other sites

8 minutes ago, ckp said:

rename your road blaster.txt file to rb.txt and try it from LB.

--DAPHNE version 1.0.12
--Command line is: daphne.exe rb vldp -framefile framefile\rb.txt -blend -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -fastboot -bank 0 00000000 -bank 1 00000001 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1920 -y 1080 
--CPU : GenuineIntel 2250 MHz || Mem : 4096 megs
--OS : Windows XP/.NET || Video : NVIDIA GeForce 9800M GS
--OpenGL: Compiled In
--RGB2YUV Function: MMX
--Line Blending Function: MMX
--Audio Mixing Function: MMX
Setting alternate home dir:
.
ERROR: Unknown game type specified : rb
Bad command line or initialization problem (see daphne_log.txt for details). 
To run DAPHNE, you must specify which game to run and which laserdisc player you are using. 
For example, try 'daphne lair noldp' to run Dragon's Lair in testing mode.
 

Link to comment
Share on other sites

got it working all thou an ugly way to do it. 

 

set it as a launcher Pointed to daphne.exe

and used the following application command line parameters:

roadblaster vldp -framefile C:\daphne-1.0v-win32\framefile\rb.txt -blend -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -fastboot -bank 0 00000000 -bank 1 00000001 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1920 -y 1080 

Link to comment
Share on other sites

ok, name it back to what it was.

this should work for sure. in the batch file change the line with if %1==roadblaster to this:

if "%1"=="rb” daphne.exe roadblaster vldp -framefile C:\daphne-1.0v-win32\framefile\rb.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir C:\daphne-1.0v-win32 -bank 0 00000000 -bank 1 00000000 -sound_buffer 2048 -x 640 -y 480& exit

The command above should all be on one single line.

 

Link to comment
Share on other sites

  • 5 months later...

I just followed the tutorials for this and every game works in daphne.   In launch box every game works except Road blaster.   Does anyone else have this problem and if so is there a fix for it?  To me it makes no sense for 1 game not to work.  THank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...