johnny50 Posted September 25, 2017 Posted September 25, 2017 I have a mame xml database file all set up and working great. I'd like to add some Daphne games to it without having to add a main menu to select an emulator. Is it possible to tuck in one or two Daphne games into the mame wheel?
adamg Posted September 25, 2017 Posted September 25, 2017 Yes, 1. Add them to the database. 2. In RocketLauncher find GLOBAL in the left hand list [system list]. 3. Select the Modules tab at the top and scroll down to find the Daphne module. Select it and then click the 'Edit module with your preferred editor option at the top of the Installed modules tab. Should look like a page with a pencil laid on top. 4. Once the module opes, find the line at the top that starts with 'MSystem :=' and change it to read 'MSystem := ["Daphne","LaserDisc","MAME"]'. This allows the module to appear in the MAME system. 5. Select MAME from the System list. 6. Select the games tab at the top and audit the games. Find the games you added and right click them to select 'Launch with' Then select "Daphne". This will allow those specific games to launch with a different emulator. 7. Make sure to add the Rom Path to the Emulator section for daphne so that RL knows where to look for those new games.
johnny50 Posted September 25, 2017 Author Posted September 25, 2017 Any way to do this without rocket launcher?
johnny50 Posted September 25, 2017 Author Posted September 25, 2017 4 hours ago, adamg said: Yes, 1. Add them to the database. 2. In RocketLauncher find GLOBAL in the left hand list [system list]. 3. Select the Modules tab at the top and scroll down to find the Daphne module. Select it and then click the 'Edit module with your preferred editor option at the top of the Installed modules tab. Should look like a page with a pencil laid on top. 4. Once the module opes, find the line at the top that starts with 'MSystem :=' and change it to read 'MSystem := ["Daphne","LaserDisc","MAME"]'. This allows the module to appear in the MAME system. 5. Select MAME from the System list. 6. Select the games tab at the top and audit the games. Find the games you added and right click them to select 'Launch with' Then select "Daphne". This will allow those specific games to launch with a different emulator. 7. Make sure to add the Rom Path to the Emulator section for daphne so that RL knows where to look for those new games. I did everything in these steps, but it still doesnt show up in the wheel. Putting Daphnes rom in the main rom allows it to show up, but mame still tries to load it and it doesnt work.
Metalzoic Posted September 26, 2017 Posted September 26, 2017 3 hours ago, johnny50 said: I did everything in these steps, but it still doesnt show up in the wheel. Putting Daphnes rom in the main rom allows it to show up, but mame still tries to load it and it doesnt work. 1. Sounds like you set Hyperspin to filter your wheel by roms. Change that setting and you won't need to move the Daphne files for it to show on the wheel. 2. You do have Daphne and the Daphne games all installed and working perfectly outside of Hyperspin first right?
adamg Posted September 26, 2017 Posted September 26, 2017 If you added them to the database and they show up in the audit (so that you can right click, launch with) then it has to be something like Metalzoic has pointed out. Check those setting in HyperHQ and let us know.
volumetric Posted September 26, 2017 Posted September 26, 2017 Unless something has changed in hyperspin, you can do this without RL. Add the Daphne games to your Mame database manually, add an exe tag/field to the Daphne game entries with the alternative system name eg Daphne. Have a search on the forum for exe tag. If you can't find anything about it, I'll try and dig up an example from an old setup when I get home.
johnny50 Posted September 26, 2017 Author Posted September 26, 2017 I looked couldn't find anything. Can you show me?
volumetric Posted September 26, 2017 Posted September 26, 2017 This was the only example I could dig up, it's an entry from my Mame xml. Hyperspin will use the system in the exe field, in this case Psxmame. <game name="1on1gov" index="true" image="1"> <description>1 on 1 Government (Japan)</description> <exe>PSXMAME</exe> <cloneof></cloneof> <crc></crc> <manufacturer>Tecmo</manufacturer> <year>2000</year> <genre>Sports/Basketball</genre> <rating>AAMA - Green (Suitable For All Ages)</rating> <enabled>Yes</enabled> </game> It's a messy way to do it if your adding lots of games, RL is the way to go in that situation. But if you're only wanting to add few games, you should be good.
johnny50 Posted September 27, 2017 Author Posted September 27, 2017 it definitely got me closer, but should I run it as a PC Game? When I do my log shows this: 09:57:02 PM | HyperSpin Started 09:57:02 PM | Going windowed mode 09:57:02 PM | Checking for updates 09:57:02 PM | Update Check Complete 09:57:02 PM | Startup program unavailable 09:57:02 PM | Playing intro video 09:57:13 PM | Error intializing joysticks 09:57:13 PM | Menu Mode is single 09:57:13 PM | Loading MAME.xml 09:57:13 PM | roms_only is true, checking files 09:57:13 PM | MAME.xml successfully loaded 09:57:14 PM | MAME wheel loaded successfully 10:05:17 PM | Launching Game 10:05:17 PM | Using alternate exe daphne 10:05:17 PM | Not using HyperLaunch 10:05:17 PM | Running as PC Game from Sub Menu 10:05:17 PM | Error Cannot Find File: undefinedlair.undefined 10:05:20 PM | Exit program unavailable 10:05:20 PM | Quiting Hyperspin 10:05:20 PM | Bye! Daphne.ini: [exe info] path=C:\Users\johnm\Desktop\New folder (2)\Arcade\Emulators\daphne\ exe=daphne.exe parameters=lair vldp -framefile C:\Users\johnm\Desktop\New folder (2)\Arcade\Emulators\daphne\vldp_dl\lair\lair.txt -scanlines -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir C:\Users\johnm\Desktop\New folder (2)\Arcade\Emulators\daphne\ -fastboot -bank 0 11111001 -bank 1 00100111 -sound_buffer 2048 -fullscreen -x 1024 -y 768 -opengl pcgame=true winstate=NORMAL hyperlaunch=false Part of mame.xml: <!--Generated by HyperTools version 4.3.26--> <menu> <header> <listname>roms</listname> <listversion /> <lastlistupdate>9/19/2017</lastlistupdate> <exporterversion>HyperTools 4.3.26</exporterversion> </header> <game name="lair" index="" image=""> <description>lair</description> <exe>daphne</exe> <cloneof /> <manufacturer> </manufacturer> <crc /> <genre> </genre> <year>0</year> <rating> </rating> <enabled>Yes</enabled> </game> When I run Daphne as PC disabled, I see in the daphne log that its trying to load a zip or a file extension with it. if I go to Hyper HQ and take out the extension, then it just adds a "." with no extension.
volumetric Posted September 27, 2017 Posted September 27, 2017 You shouldn't be running it as a PC game. Can you post your Daphne log when not running as a PC game.
johnny50 Posted September 27, 2017 Author Posted September 27, 2017 I don't have it here but the log says Daphne can't run "lair." it's trying to add an extension where there should be none and that's why there's a "." after lair. If I could get rid of the dot I think it would work. Daphne runs but I get the error because of the dot.
volumetric Posted September 27, 2017 Posted September 27, 2017 Are you pointing hyperhq to Daphne's rom folder or frame file folder? Is Daphne set to use Hyperlaunch/rocketlauncher? What extension do you have set in hyperhq? Not sure what you mean by Daphne's trying to add an extension. To load a game in daphne, it needs to be able to find an appropriate rom and framefile. So it should be looking for lair.zip (rom) and lair.txt (frame file)
johnny50 Posted September 27, 2017 Author Posted September 27, 2017 Hyperhq is pointing to the Rom folder, and set not to use rocket launcher. Hyperhq was set to look for zip extensions, which made the command line like this: Daphne lair.zip vldp etc etc Removing the zip from hyperhq resulted in this: Daphne lair. vldp etc etc Both don't work since it's trying to add an extension.
volumetric Posted September 27, 2017 Posted September 27, 2017 Enable rocketlauncher for starters, also, have a read of the module notes for Daphne. You should have hyperhq pointing to a folder which contains the frame files for all your Daphne games. The framefiles will be located in the individual game folders by default, you will have to move them all in to the one folder. Next step is to edit the first line of each framefile, which will be just a full stop at this point. Change the full stop to the address of the movie file (the reason it's a full stop, or period depending on where you're from, is that a full stop is the address when the framefiles are in the same folder as the movie files. Change the extension in hyperhq to txt and see what happens.
volumetric Posted September 27, 2017 Posted September 27, 2017 Here's a pretty good guide that explains the process well.
adamg Posted September 27, 2017 Posted September 27, 2017 They want to add them to the MAME wheel... Why didn't what I wrote work?
Metalzoic Posted September 27, 2017 Posted September 27, 2017 They want to add them to the MAME wheel... Why didn't what I wrote work?That should work for getting them to show on the wheel, but his other problem is then the games don't launch because he doesn't seem to have Daphne setup properly. Sent from my SM-G935V using Tapatalk
wesfranks Posted September 27, 2017 Posted September 27, 2017 Generic advice-- This is going to be one of the harder systems to set up for many reasons, not the least of which is not many people have Daphne through HyperLaunch anymore. It would be easier if someone had a reference system similar to yours so they could use it as a template to provide advice, but I doubt that's going to happen. I am using RocketLauncher and am unwilling to mess with Daphne too much because **** happens. Daphne has to be running outside of HyperSpin and loading your games through DaphneLoader. This is because certain settings are made in DaphneLoader that can only be done otherwise by editing the configs which is a royal pain due to using non-standard (to us at least) sdl library codes for certain things like keyboard inputs, the game video structure that each rom expects per rom version (otherwise--errors!!), etc. For each game that you have, select that game in DaphneLoader and pre-select each appropriate rom for your game video version. Select the correct inputs. Finally, select to load your videos (not those from the torrent). Note: when messing with DaphneLoader, do not start the torrent function. It will lock your roms and prevent their use in loading games. If you already have your own roms and game videos (which you should already have), it will overwrite them to meet the standards of the torrent. This will not be good for you. More specific advice-- In HyperHQ, not a PC game due to using separate game files <gamename-framefile.txt>. Daphne.exe (not DaphneLoader) as the emulator. Command line version is preferable. Rom location in HyperHQ set to the framefile folder containing framefiles.txt renamed for each game according to the xml (would suggest you keep your old files-- just make copies and rename accordingly. Text contents of the games framefile pointing to the physical location of each video file and has a unique number to indicate which frame the appropriate video section begins. If you have multiple video/audio files, the framefile will point to all of them. Extension is txt (not zip). If this is correct, and the games are setup correctly outside of HS, then HyperLaunch will upon your game selection, start Daphne.exe -vldp with your video and other settings. Looks inside the framefile.txt for the video/audio location then with information from the framefile.txt and the romzip, opens the video to the proper location and the game begins. If this is not correct- error!! Bad rom version, missing rom files, can't find such and such file, etc. Also be aware that you have a long path which could get you in trouble with too many characters in your command line and it being truncated. You can witness all of these errors in the "daphne-log.txt". It would probably be best if all this doesn't work immediately to set up RocketLauncher. At least you will then have current tutorial and advice. FYI- not easier, just current.
adamg Posted September 28, 2017 Posted September 28, 2017 Oh, they did not have daphne running before trying to add it to MAME. I did not get that from the first post. Yeah setting that up sucks, but wesfranks seems to have you hooked up.
wesfranks Posted September 28, 2017 Posted September 28, 2017 Ooh, @adamg , I don't know. Daphne can be fun under any circumstance. I think there will be additional issues, but I think between all of us, we did the best we could.
johnny50 Posted September 29, 2017 Author Posted September 29, 2017 Thanks guys. Im going to try this tomorrow and let you know.
johnny50 Posted September 30, 2017 Author Posted September 30, 2017 I followed the instructions to a T on the hyperlinks website. I get this error:
volumetric Posted September 30, 2017 Posted September 30, 2017 Not sure, looks like it can't find startmodule. Are you using rocketlauncher or hyperlaunch? If you're using RL could be that Hyperspin isn't connected to RL properly. Can you post your HS log?
johnny50 Posted October 1, 2017 Author Posted October 1, 2017 For Daphne I'm using rocket launcher and for mame I'm using just hyperspin. When I get home later I'll post it. Could the fact that I'm not using rocket launcher for mame and I am with Daphne and posting a Daphne game in the mame. Xml so it's all in one wheel be the issue?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.