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: Configuring Daphne for front end?  (Read 1570 times)

0 Members and 1 Guest are viewing this topic.

coasternuts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:January 11, 2010, 08:39:24 pm
  • Ouuuuch....I am not the worst game ever!!
Configuring Daphne for front end?
« on: July 27, 2005, 09:01:07 pm »
I posted the same question here,

https://www.daphne-emu.com/phpBB2/viewtopic.php?t=1820

but since some FE dev's are here, I thought I'd ask.

Basically when I run daphne from another location other than the directory it was installed in, I get errors for missing pics and .dlls.  Is there some config. options that I can set to get daphne to load from another location?

Thanks.

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Re: Configuring Daphne for front end?
« Reply #1 on: July 27, 2005, 09:31:52 pm »
Which frontend are you going to use?
I have managed to get it working ok in Mamewah.
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.

coasternuts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:January 11, 2010, 08:39:24 pm
  • Ouuuuch....I am not the worst game ever!!
Re: Configuring Daphne for front end?
« Reply #2 on: July 27, 2005, 11:52:11 pm »
Could you explain the config process for that?  I'm not using an existing FE, I'm writing my own.  But the setup should be similar.

The problem I think is that daphne.exe is looking for pics, .dlls, etc. needed for the program in the current working directory.  I need to override this to an absolute or relative path from where I'm running.

For example, 

C:\Games\daphne\daphne.exe lair .... -framefile C:\Games\daphne\mpeg2\..

When you do this, that's when daphne.exe starts complaining.

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Configuring Daphne for front end?
« Reply #3 on: July 28, 2005, 07:44:29 am »
If you are developping you own Front End. You just have to change the Current Directory of your application to the one of the emulator (by code). It should solve your problem.

What programming language do you use?


coasternuts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:January 11, 2010, 08:39:24 pm
  • Ouuuuch....I am not the worst game ever!!
Re: Configuring Daphne for front end?
« Reply #4 on: July 28, 2005, 09:47:53 am »
Hmmm.  Your ideas intrigue me.  Could you explain further?

I am using Java2 1.5.   

coasternuts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:January 11, 2010, 08:39:24 pm
  • Ouuuuch....I am not the worst game ever!!
Re: Configuring Daphne for front end?
« Reply #5 on: July 28, 2005, 09:49:37 am »
ps. On WindowsXP.  It doesn't have to be Java specific.  I will accept Windows specifc answers. 

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Configuring Daphne for front end?
« Reply #6 on: July 28, 2005, 10:53:42 am »
hum Java..  that is a little more specific , because this language doesn't have really the notion of current Directory.

but read that , it could help you :

http://www.devx.com/tips/Tip/13804

Another thing you can do to solve your problem , could be to use a .BAT file like :

C:
cd Games
cd daphne
daphne.exe lair .... -framefile mpeg2\..

You save it somewhere as, Daphne.BAT

and in your config file , you reference it instead of the emulator like :
(if you save it in C:\games\daphne)

C:\games\daphne\daphne.bat

I hope it helps you.