Jump to content
LaunchBox Community Forums

Sega Naomi, Naomi 2, Atomiswave, Hikaru, Gaelco game importer (for Demul)


Recommended Posts

Sega Naomi, Naomi 2, Atomiswave, Hikaru, Gaelco game importer (for Demul)

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).

 

What this plugin will do:

  • Let you select some or all of the games in the selected system to import.
  • Select games from just 1 or multiple systems.  (though may only be a good idea for Naomi/Naomi 2 Cartridge System (and GDROM System, respectively) because of the different command lines needed between systems**)
  • Import selected games into an existing Platform or create a new one.
  • When creating a new Platform, assigns “Scrape as” to “Arcade”. (useful when downloading metadata and media)
  • Attempt to automatically detect/select your Demul emulator. (But you can select any of your existing emulators.)
  • (optional) Copy roms to a new location for the games you’re importing.
  • (optional) Only import games that have a corresponding rom in your selected Source folder. (i.e. If you selected 20 games and you only have the roms for 5 of those, only those 5 games will get imported.

What this plugin won’t do:

  • Add Demul as a new emulator.
  • Make Demul work for you.
  • Filter parent and clone roms.
  • Add the required command line to the emulator (**see below).
  • ‘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, ‘Unblock’ the zip file.

(Right click, Properties, and click Unblock)
image.png.cc0deb8bd96f7c636c6f70b2ce0bf52e.png

 

- Now copy the "DemulImporter" folder from the zip file into your ..\LaunchBox\Plugins\  folder.
                      i.e.    D:\LaunchBox\Plugins\DemulImporter\

Using the plugin:

Click Tools and select Demul game Importer

DemulTool.png.4fc4b04a115f16ae642e3a4aa10d5898.png

 

  • Select a system
  • This will populate a list (in the middle) of all the games for that system.
  • Select games
  • By default, none of the games will be checked.  As you start ‘checking’ games, they will get added to the list of games to be imported (on the right).  Click again to remove them from the import list.
  • Click Check All to add all games for the selected system to the import list.
  • You guessed it, click Check None to uncheck all the boxes, removing them from the import list.
  • At this point, you can select a different system and continue to add more games to the import list.
    • Not recommended because of the different command line parameters needed for the different systems. (it'll make a mess when you go to ad them)
  • Once you’re satisfies with your import list, click Next.

SelectGames.thumb.png.067e906663fb11ff5e81c9e43ad7be39.png

 

  • Select a platform to import the games into
    • You can select an existing platform from the dropdown list or click Add New Platform to create a new one. 
  • Select an emulator
    • The plugin will automatically try to detect your Demul emulator from the ones you have in LaunchBox.  If it isn’t already selected, look for it in the dropdown list.

image.thumb.png.4a07f0b84ae51cfc14df1f4e0156f09e.png

 

  • Select the folder where your roms are located (optional)
    • If you wish to have your roms copied to a new location, type in (or better yet, Browse to) the folder [Source Folder] where they’re located.
  • Select the folder where you want to tell LaunchBox the roms are located
    • This is required to set each games Application Path.
    • It’s also handy if you [optionally] choose to have your roms copied.

image.thumb.png.df8e232ec23c56335de14d86416ef49b.png

 

Setup is done. It’s time to import.  You have 2 options:

  1. Select Copy AND Import if you wish to have your roms copied to a new location and then the games imported into LaunchBox.
  2. Select Import Only to just import the games into LaunchBox.

image.thumb.png.a93f2ed8f3ad4e8e4c95bfbaa8bb89cc.png

 

If you have a curated set of roms for the system you’re importing for, you can check Import games that only exist in the ROMs Source Folder.  This is useful if, for example, you have a broken out set of roms just for Demul that consists of only the games you like.  When selecting the games to import, select a system (i.e. Naomi Cartridge System) and then click Check All.  You will need to add the Source Folder for where these rom are located (even if you don’t plan to copy them).  During the final Import process, the plugin compares the list of games to be imported to the roms located in the Source Folder.  If a game has a matching rom, it will be imported.  Otherwise it’ll be skipped.

Of course, if your “broken out set of roms just for Demul” are also already broken down by System, save yourself time and just drag-and-drop them into LaunchBox. :D

 

When everything’s Complete, click Exit.

done.thumb.png.d257b6a6420c4c7dc99a0c89032d5522.png

 

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=
Cave3rd       -run=cave3rd -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/

 

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.  I just knew Demul had a definitive list of games it can emulate, that list was easy to get and probably isn’t going to change (it hasn’t since 2018).  Which means I shouldn’t have to update the plugin (except for maybe fixing a programmer error here or there :)).

 


 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 3 months later...
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.  

Link to comment
Share on other sites

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...