Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 Fortunately there aren't that many games to do this for. 1 Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 Hi @latin625 yes i already tried those steps and it worked. But i dont want to do it 17 more times. Haha. I can just keep using rocketlauncher for this one. But if i can make some time to create a single batch file that would work for all the daphne games, i would share that with the community to prevent future pain. ? 1 Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 9 hours ago, lordmonkus said: air vldp -framefile %romfile% -blend -ignore_aspect_ratio -blank_searches -precache -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir H:\Emulation\Roms\Daphne -fastboot -bank 0 11011001 -bank 1 00100111 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1600 -y 1200 when running the batch file method, does the game name or game name and path or anything get passed into the batch file? i don't see any value passed in for %1 or %romfile% ? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 with the bat file you dont use an emulator, you run it like you would a windows game Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 never mind, i see what's going on. i need to use the batch file as an emulator and then i see %1 taking on the rom path. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 ok, so i have something working with a single batch file, but i have only tried it on a couple games. i create an emulator called Daphne in LB. i set this emulator to run my daphnebatch.bat with checkbox enabled for "don't use quotes" and "use filename only without file extension...". this gets you a good %1 value passed in so you can use just one batch file. so what you import for a game is the game .txt files (liek lair.txt, lair2.txt, etc) inside your Daphne framefile folder and set the emulator to Daphne. inside my batch file i just substitute what is needed, so only one simple batch file with one command line. the daphnebatch.bat batch file i’m testing with as an example is just this: daphne.exe %1 vldp -framefile framefile\%1.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir R:\Arcade\Daphne -nocrc -noissues -noserversend -sound_buffer 2048 -x 800 -y 600 i assume you can change the custom parameters and it would still work as long as those parameters work on all the games. i am not sure if any games have a specific parameter that doesn't work with the other games. 1 Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 so i've tried a bunch of the games now. they all seem to be working by using this method. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 I can confirm this does indeed work, great job on figuring this out. Only thing I will add though is using your bat file it opened in windowed mode and had some extended black screens where it was hard to tell if things were loading or not. Everything did load though so it was fine. After modifying my bat file a little using yours as a guide I got mine to load in full screen and with loading bars while loading so it was obvious that it was still doing stuff. Here is my final bat file: @echo off daphne.exe %1 vldp -framefile\%1.txt -blend -ignore_aspect_ratio -blank_searches -precache -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir H:\Emulation\Roms\Daphne -fastboot -bank 0 11011001 -bank 1 00100111 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1600 -y 1200 Obviously the "H:\Emulation\Roms\Daphne" part would have to be edited to match the individual users Daphne folder location. Edit: It seems that the -precache switch doesn't work for all games. It gives the nice loading bars but games like Cobra Command and Super Don Quix-ote do not like it at all and the games will not load with it. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 yeah, your parameters are much better for the finishing touches. except 1600x1200 probably will error out on 1080p screens, so i changed that part for my 1080p screen. sweet. thanks for the parameters! one more platform switched over to LB from Rocketlauncher! taking them down one by one! Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 Yeah the resolution would need to be adjusted to individual users displays. It's too bad that the -precache switch isn't universal Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 43 minutes ago, lordmonkus said: Edit: It seems that the -precache switch doesn't work for all games. It gives the nice loading bars but games like Cobra Command and Super Don Quix-ote do not like it at all and the games will not load with it. i tried my Cobra Command and Super Don Quix-ote with -precache and they ran with no problem. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 Hmm, could be something wrong with my setup or something then. I got my Daphne setup off a buddy of mine and was all pre configured for his setup so I had to do a bunch of retooling to get it working on mine. But even in the Daphneloader.exe if I enable the precache it doesn't like it. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 my daphne loader shows version v1.0-2.2.11 in case that matters. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 Same as mine. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 doesn't sound as if the precache setting is useful: https://www.daphne-emu.com:9443/phpBB3/viewtopic.php?t=2793 Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted September 15, 2016 Share Posted September 15, 2016 Yeah it doesn't seem to make a difference to me in load times, it was just nice to have the loading bars while the game loaded instead of a black screen. On a side note can you post what you have in your astron.txt file if you have that game ? Mine seems to be spitting out an error about it expecting a number but not finding one. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 7 hours ago, lordmonkus said: On a side note can you post what you have in your astron.txt file if you have that game ? ..\vldp\astron\ 10 abelt.m2v Quote Link to comment Share on other sites More sharing options...
latin625 Posted September 15, 2016 Author Share Posted September 15, 2016 Hi Guys! Sorry for the delay... Busy day at work. =) But here are my bat files for all my games. Hopefully it can help out! Please let me know if I can provide any additional assistance! Please keep in mind that I am still a padawan! =) Just change the path location to match yours and you should be golden. My Astron.txt file says this: D:\Arcade\Emulators\Daphne\mpeg\astron\ 9 abelt.m2v AstronBeltLaunchBoxLoader.bat BadlandLaunchBoxLoader.bat BegaLaunchBoxLoader.bat CliffLaunchBoxLoader.bat CobraLaunchBoxLoader.bat DragonsLair2LaunchBoxLoader.bat DrogonsLairLaunchBoxLoader.bat EshLaunchBoxLoader.bat GalaxyRangerLaunchBoxLoader.bat GPWorldLaunchBoxLoader.bat InterstellarLaunchBoxLoader.bat Mach3LaunchBoxLoader.bat RoadBlasterLaunchBoxLoader.bat SpaceAceLaunchBoxLoader.bat SuperDonQuioteLaunchBoxLoader.bat ThayersQuestLaunchBoxLoader.bat us-vs-themLaunchBoxLoader.bat Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 This single batch file should work for everyone with 1920x1080 screen with NO modifications whatsoever, not even for your home directory path: @echo off daphne.exe %1 vldp -framefile\%1.txt -blend -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -fastboot -bank 0 11011001 -bank 1 00100111 -nocrc -noissues -noserversend -sound_buffer 2048 -fullscreen -x 1920 -y 1080 If you don't use 1920x1080, just change that part to match your resolution. Quote Link to comment Share on other sites More sharing options...
ckp Posted September 15, 2016 Share Posted September 15, 2016 i found one game where the controls didn't work with the same bank settings. i have to run that one by batch file using : -bank 0 00000000 -bank 1 00000111 bummer Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.