Little Daphne emulator help
-
For those still having the problem. I updated the Daphne emulator from the binary and everything is now working correctly.
-
@grant2258 You wouldn't want to add the much-needed joystick selection (i.e. other than /dev/event0) to Daphne by any chance? 😌
-
@Clyde said in Little Daphne emulator help:
@grant2258 You wouldn't want to add the much-needed joystick selection (i.e. other than /dev/event0) to Daphne by any chance? 😌
Well its using sdl I know it isint quite what you asked for but you can changed this one line here to change the joystick for your setup.
SDL_JoystickOpen(0) is default change t to which one you want for your setup SDL_JoystickOpen(1) ect and just compile the source.
I dont have any plans to change daphne much but its easy enough to set here. I would need to look at the source and add another command line option to do that as the cfg file is read after the joystick init ill leave it in a todo bucket but this should let you change it for now.
-
@grant2258 Thanks! I'll try that. 😊
-
@grant2258 Er … sorry, how do I compile from your repo?
sh ./buildme.sh
fails, see here for the output. I tried on Kubuntu 18.04. -
the retropie instructions are above your using retropie use the retropie build scripts. Are you using retropie on x84/64 bit ?
-
@grant2258 Yes, at least for the test above for speed reasons. But I finally plan to compile your daphne fork on my Pi 3b. Sorry, I missed the instructions above. As I understand them, they clone your repo directly to the temp dir Retropie is using for its "installation from source", and then invoke the Retropie installation script for all necessary steps, right?
Do I have to modify your instructions for my 64 bit system? (I can't test it before tomorrow.)
-
never tried compiling this code in 64 bit to be honest i would need to compile it locally to test
-
@grant2258 I did compile your version with
SDL_JoystickOpen()
set to1
on my Pi by now. But alas, I can't control the game with my joysticks connected via two DragonRise encoders. For some months now (and maybe since I experimented with lr-daphne), in Dragon's Lair 1+2 and DLE 2.1, any movement from one of the sticks will freeze the video in the games' attract mode as well as in a running game. I can control the games via keyboard, however. Since this happens with your fork as well as the source and binary versions from Retropie, I'll have to fix that before trying to change the joystick detection in your version.I don't want to hijack this thread with this problem, so I will open another thread about it (not now, since I have to leave soon). If you've any quick idea what may be wrong with my Daphne setup that worked flawlessly before, you may still answer here until I've opened a new thread.
-
Well it could be something in your setup daphne by default uses the first joystick found. I could be any joystick number if you have more setup or custom settings for joysticks. You would need to add extra info to see what joystick sdl is using in daphne. Your problem sounds more liek a config problem or the first joystick isint you dragonrise
-
@grant2258 Thanks for the tips. I'll cobble something together when I have time to collect the necessary information.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.