Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

DEmul Games Importer

View File

Import games for use with Demul (Sega * Emulator).

Purpose:

This purpose of this plugin is to import only the MAME machines that can be emulated in Demul. A sort of MAME machine ‘filtered’ importer to supplement LaunchBox’s Import Tool.

Why:

LaunchBox can already import these machines (games) for you using the built-in Tools - Import - MAME Arcade Full Set.  All you need to do is un-check the skip games unplayable in MAME checkbox.  The concern is this results in over 6000 additional entries imported (even more if you uncheck any other boxes and include clones).  And as in most cases, more is NOT always better.  Alternatively you can also simply drag-and-drop the roms into LaunchBox. Which is great when you already have them sorted out.

Included Systems:

The list of machines included for this plugin was generated by running the command “demule.exe –listroms” using Demul v0.7 (Apr 28, 2018).  The systems included are Naomi, Naomi 2, Atomiswave, Hikaru, Gaelco, Cave3rd (CV1000) and System SP.  (Sega Dreamcast, though emulated, is not included in the list. [It’s not a MAME machine])

Naomi and Naomi 2 are each broken into 2 separate systems: Cartridge System (rom only) and GDROM (chd).

 

Requirements:

  • LaunchBox v13.19 or newer
  • DEmul already set up as an emulator in LaunchBox

 

What this plugin will do:

  • Import games for a selected system.
  • Import into an existing Platform or create a new one.
  • When creating a new Platform, assigns “Scrape as” per the associated system.
  • Attempt to automatically detect/select your Demul emulator. (Required to exist as an emulator)
  • (optional) Copy ROMs to a new location for the games you’re importing.

What this plugin won’t do:

  • Add DEmul as a new emulator.
  • Add the required command line to the emulator (**see below).  Feature added v3.0
  • ‘Bulk’ import into separate Platforms.
  • Add metadata and media to the imported games.
  • If copying ROMs (optional), only the games main rom file is copied.  It will not look for nor copy any required BIOS, Device or chd files.

 

Installing the plugin:

After downloading the zip file, extract the contents of the zip into your \LaunchBox\Plugins\ folder.
                      e.g.    D:\LaunchBox\Plugins\DemulImporter\

If updating from a version prior to 3.0, "DemulGames.xml" is no longer needed and can be deleted from the plugins folder.

Using the plugin:

Click Tools and select Demul game Importer

 

  • Select a system
  • This will populate a list of all the games for that system.
  • (optional) Check View Parent ROMs Only 
    • When checked, only the parents ROMs will be imported
  • When you select a game, a "globe" and the ROMs filename will appear
  • Click Import Games
  • Select a platform to import the games into
    • You can select an existing platform from the dropdown list or click on Add New Platform to create a new one. 
  • Select an emulator
    • The plugin will attempt to automatically select your DEmul emulator.  If it isn’t already selected, look for it in the dropdown list.
  • Select the folder where your ROMs are located (or will be if you select Copy)
    • This is required to set each games Application Path
  • (optional) Check Copy ROMs to another location
    • Browse to the folder [Source Folder] where they’re located.
  • (optional) Check Add Additional App with link to Arcade Database (New v3.0)
    • The Additional App will be a hyperlink to the Arcade Database for that game
  • Select Import  (or Copy and Import) to complete the process

 

NOTES:

**Default Command-Line Parameters

System      Command Line Parameter
Naomi         -run=naomi -rom=
System SP     -run=naomi -rom=
Gaelco        -run=gaelco -rom=
Atomiswave    -run=awave -rom=
Hikaru        -run=hikaru -rom=
Cave          -run=cave3rd -rom=
Medalusion    -run=alien -rom=

Once import is completed, simply select the newly imported games and click ToolsDownload Metadata and Media....

Information on getting these systems to run in Demul can be found here: https://forums.launchbox-app.com/topic/30622-sega-naomi-demul-in-launchbox/

After importing into a newly created platform, be sure to Edit the platform and check "Disable ROM Auto-Import".

Disclaimer:

I personally only have a few of these games on my cab. So I’m not very familiar with the systems mentioned here.  Also, I have no idea if DEmul is even “the best” emulator for these systems.  

 


 

  • Like 1
  • Thanks 1
Posted

Will definitely check this out. There are .bat scripts around that can copy the games for you. This is how I've been dealing with this, but the ones I found seem to be outdated. This plugin also seems to be much more convenient, so thank you, thank you, thank you!!!

Posted
2 hours ago, SiriusVI said:

There are .bat scripts around that can copy the games for you. This is how I've been dealing with this, but the ones I found seem to be outdated.

This is basically just a "fancy" batch file. lol  But you don't 'have to' copy files from your full set or create text files or anything like that. And it brings them into LB for you.  As for being outdated, I'm thinking only in the sense of not being 'fancy' way of doing it. lol

I realize this plugin is really just a one-and-done kind of thing.  As in, you should only need to use it once, then 'throw it away'. lol  But for what you have to pay for it, it's (hopefully) worth it for the convenience. :D

The thing with the batch files being "outdated" is, Demul was last updated in April 2018 (unless I've missed something [which wouldn't surprise me. lol]).  That puts you in the era of MAME release 0.197.  When Demul loads a rom, it does a CRC32 check on the rom. So if you have a newer romset than 0.197, it'll be hit-or-miss if Demul 'decides' to run it.  But according to this writeup "How To Set Up DEMUL Properly" by CDCruze [Feb 2019], "[Demul] version 0.7 is working fine with the MAME 0.205 ROM set." 

I guess what I'm saying is the batch file shouldn't be outdated if it was created after April 2018 and included all the MAME machines Demul emulates (which hasn't changed since then).  And they're definitely a 'slick' way to sort out the roms.  Just not "fancy". ;) 

Glad to hear you're intrigued by this.  As I stated in the writeup, I really don't even run these machines, but I'm starting to think I should make it so you can't select multiple systems so that it can put in the Custom Command Lines into the emulator when importing. [thinking out loud here]

Anyway, let me know if there's any issues or suggestions.  

  • Like 1
  • 3 months later...
Posted
21 hours ago, JoeViking245 said:

It is updated for use with the latest version of Demul.  Which the most current version I see is v0.7 (Apr 28, 2018).

I meant if they have changed Naomi's rom set, if more games have been added or are they still the same.

Posted
1 hour ago, Mongu said:

I meant if they have changed Naomi's rom set, if more games have been added or are they still the same.

The list of roms I use for the plugin comes directly from running "demul.exe –listroms".  This tells me the systems and roms it can emulate.   As far as I know, Demul hasn't been officially updated since 2018.  So there would be no additions to 'the list'.  Now there's a really good chance that MAME itself has made updates/additions to roms for the systems Demul can emulate.  There's also a chance that, even though the Demul emulator hasn't been updated in a couple years, it can actually run some of the "new" roms (if any).  But I honestly have no idea on either of those accounts.

 If you happen to come across a list of roms that Demul can emulate and are not mentioned in the v0.7 release (via the above command), please let me know and I will definitely add those in.  

  • JoeViking245 changed the title to DEmul Games Importer

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...