Jump to content
LaunchBox Community Forums

Same emulator, multiple platforms


sgordon777

Recommended Posts

Ok, let's say I want to use the same emulator for different platforms (ie MESS).

This requires that I pass different arguments for different platforms to the same emulator.

 

An example is MESS, which requires per-platform arguments:

mess a800

mess c64

mess a5200

 

The problem is, I seem to only be allowed *ONE* commandline argument per emulator in the Tools/Mange emulators/Configure emulator menu.

The only workaround I can find for this would be to have multiple copies of mess, and treat it as different emulators. I hope there's a better solution.

 

 

 

Link to comment
Share on other sites

8 minutes ago, sgordon777 said:

Ok, let's say I want to use the same emulator for different platforms (ie MESS).

This requires that I pass different arguments for different platforms to the same emulator.

 

An example is MESS, which requires per-platform arguments:

mess a800

mess c64

mess a5200

 

The problem is, I seem to only be allowed *ONE* commandline argument per emulator in the Tools/Mange emulators/Configure emulator menu.

The only workaround I can find for this would be to have multiple copies of mess, and treat it as different emulators. I hope there's a better solution.

 

 

 

First of all i would recommend using MAME, mess and mame were merged into one program some years ago. As for the actual issue that is what the "associated platforms" tab we are discussing in your other thread is for, you can add as many platforms as you want to your mame emulator entry there, and each can have its own command line parameter, to load the actual core/bios that platform requires.

Link to comment
Share on other sites

2 minutes ago, neil9000 said:

First of all i would recommend using MAME, mess and mame were merged into one program some years ago. As for the actual issue that is what the "associated platforms" tab we are discussing in your other thread is for, you can add as many platforms as you want to your mame emulator entry there, and each can have its own command line parameter, to load the actual core/bios that platform requires.

 

 

Link to comment
Share on other sites

15 minutes ago, neil9000 said:

First of all i would recommend using MAME, mess and mame were merged into one program some years ago. As for the actual issue that is what the "associated platforms" tab we are discussing in your other thread is for, you can add as many platforms as you want to your mame emulator entry there, and each can have its own command line parameter, to load the actual core/bios that platform requires.

 

Thanks for your reply. I use MAME for arcade games and my intention was to use it for the computer emulations too, but I simply cannot get it to work reliably with any computer BIOS without running into tons of problems, It's extremely stupid about where to look for files, won't even look in zips. Even if I unzip everything and put it in the root "roms" folder it still doesn't work.

Do people actually use MAME for Home computer and console emulation? If so, I'll take another look

Link to comment
Share on other sites

12 minutes ago, sgordon777 said:

 

Thanks for your reply. I use MAME for arcade games and my intention was to use it for the computer emulations too, but I simply cannot get it to work reliably with any computer BIOS without running into tons of problems, It's extremely stupid about where to look for files, won't even look in zips. Even if I unzip everything and put it in the root "roms" folder it still doesn't work.

Do people actually use MAME for Home computer and console emulation? If so, I'll take another look

 

Also, even if I could get MAME to work without pulling all my hair out first, won't I run into the same problems once I want to use MAME64.exe to be the emulator for more than one platform?

 

Link to comment
Share on other sites

1 hour ago, sgordon777 said:

 

Also, even if I could get MAME to work without pulling all my hair out first, won't I run into the same problems once I want to use MAME64.exe to be the emulator for more than one platform?

 

Short answer is no you will not have problems. you're confused about something surrounding emulators and platforms. I'd like to mention Retroarch. This single emulator can be used on DOZENS of different platforms and the way LB/BB is setup allows you the ability to provide specific launch parameters for specific platforms. It's as easy as typing in the name of the platform in the list of associated platforms for the emulator you are editing or setting up.  Dolphin is another good example, which emulates both Gamecube and Wii. You only need a single instance of this emulator setup in LB/BB for both platforms. Setup a 3rd platform for just "Wiiware" games even if you want! You can setup launch parameters per emulator, per platform, or per game even!

 

To provide specific example for you. Imagine you setup your emulator instance of MAME in LB. In that "associated platform" list you would add both Arcade for arcade games and let's call the other platform Computers for computers, very intuitive, I know! You can check the default emulator checkbox assuming you want them to be the defaults. If they need different launch parameters you have at least two different ways to achieve your goal. Set them up per platform, or per game. It sounds like you tried to set it up per emulator which means you would only get one or the other platform to work if they do in fact need different launch parameters.

 

 

image.thumb.png.6a23914c29a9cd4bb2a646b0044141c7.png

image.thumb.png.12e65a357306f52f2781bf14388725c8.png

Link to comment
Share on other sites

I still cant get it to work...

1-Used "bulk wizard" to change all games in atari 2600 platform to use MAME

2-configured Mame platform as instructed in commandlines page (see below)

However, when I click on a game, say pitfall, it seems like MAME is being started but returns immediately without loading the cart.

I can run all the atari2600 games form MAME commaline, ala:

mame a2600 -cart r:\atari2600\PITFALL.BIN

 

Any ideas?

Is there some logfile or something so I can try to troubleshoot?

 

image.thumb.png.4e9d8787a338e5807015cf0430df10e8.png

image.thumb.png.0f6a0543ec4058a435e365dd19a9a6b2.png

Link to comment
Share on other sites

5 hours ago, sgordon777 said:

I can run all the atari2600 games form MAME commaline, ala:

mame a2600 -cart r:\atari2600\PITFALL.BIN

 

I could be completely wrong here - it has been known several times but you state that the game loads via command line with "mame a2600 -cart r:\atari2600\PITFALL.BIN" but then in the Default Command line parameters you have added -skip_gameingo -nowindow

Have you tried using that in an external command line? I "think" you are basically passing

mame a2600 -cart -skip_gameingo -nowindow %romname% so mame is looking for a cart called -skip_gameinfo rather than the actual game

so try

mame a2600 -skip_gameinfo -nowindow -cart

Edited by Kiinkyfoxx
Link to comment
Share on other sites

30 minutes ago, Kiinkyfoxx said:

 

Have you tried using that in an external command line? I "think" you are basically passing

 

yes, also tried just puttibg 

a2600 -cart 

in the dialog, -same thing

My gut feeling is LB is trying to treat this like an arcade game and put the game name on n commandline. But i cant proove it until i can see the generated commandline. 

 

 

 

 

Edited by sgordon777
Link to comment
Share on other sites

Ok I had had a little play and made some assumptions so hopefully this is ok and going to work

Assumption 1 - you haven't set up the pathway to your atari roms inside your mame.ini file

Version 1 - with the rom file being a bin file and not in a zip format as "expected" by Mame

File Launching screen - as you can see its a bin file

image.thumb.png.b0fb012819f89b7bd17381784558f03b.png

Emulator page - ignore it being called Trial emulator I use this for trialling things rather than it being a real one - important info DO NOT TICK ANY OF THE BOXES

image.thumb.png.25503e2efe93e9eb94f24f8e187b4f8d.png

Associated platform page - have the skip game info and no window before cart

image.thumb.png.5bec9db9c3316d5dbe5282f9f318b61c.png

The above works and loads the game. 

Below is how Mame emulator normally set up  (for me) - its the ticks in remove file extension that I think cause the issue - when using below set up and the bin file it doesn't load - remove those ticks and it also works on my normal Mame setup whereas it didn't before

image.thumb.png.885f4d88eb595b6b0b47097e116ae5d3.png

Version 2

Assumption - using an Atari 2600 zipped rom set still zipped and having set your pathway to your Atari roms in mame ini 

eg 

rompath           roms;R:\a2600

Launching tab - notice file called adventur.zip not adventure

image.thumb.png.4d6aa8e3159c62d1d36134c7d3af250c.png

Emulator tab - boxes are ticked on this occasion

image.thumb.png.155fbeaecfc7397a3b6b15370e88eb10.png

Associated  tab

image.thumb.png.505f1f8442353ab9506743e9aecd36b0.png

 

Both of the above loaded the game for me on Mame - I normally use the Stella Core in RetroArch for Atari and I have to say only just started with Atari stuff myself

So maybe look at your Emulator tab and see what have ticked - your could always make another emulator called Mame-Console and still point to same Mame.exe but use use different set up on tick boxes 

Hopefully this comes across as helpful and not patronising

PS - Retro808 and JoeViking245 know what they are talking about - just ignore me 

Edited by Kiinkyfoxx
Link to comment
Share on other sites

2 hours ago, sgordon777 said:

yes, also tried just puttibg 

a2600 -cart 

in the dialog, -same thing

My gut feeling is LB is trying to treat this like an arcade game and put the game name on n commandline. But i cant proove it until i can see the generated commandline. 

 

 

 

 

Did you set your rom path for the a2600 roms in Mame?

I just set this up. Never used Mame for non-arcade and it launches into the game without issue. I ran it zipped like mame would traditionally do and the .bin is in the zip.

Took me only a couple minutes. 1) Added my rom path to Mame since I keep different locations outside of the emulator folder. 2) Added the platform name to Mame's Associated Platforms list in LB. 3) Added: a2600 -cart to the command line for the platform. 4) Tested games. Did not even have to alter any of my standard Mame settings in LB.

 

Screen Shot 2022-08-17 at 8.21.49 AM.png

Screen Shot 2022-08-17 at 8.22.10 AM.png

Screen Shot 2022-08-17 at 8.24.05 AM.png

Link to comment
Share on other sites

7 hours ago, sgordon777 said:

However, when I click on a game, say pitfall, it seems like MAME is being started but returns immediately without loading the cart.

I can run all the atari2600 games form MAME commaline, ala:

mame a2600 -cart r:\atari2600\PITFALL.BIN

Since your a2600 games are not in MAME's traditional zip format, you need to tell MAME the full path to the bin.  Just like your command line above, that worked.

Since you are also using MAME for Arcade machines, most likely your MAME emulator settings in LaunchBox have these 2 boxes checked.

image.png.f95579957b5a5ef474d7a41fb8fdee10.png

So, with your Default Custom Command-Line Parameters you have set for "Atari 2600", LB will send the command

mame a2600 -cart -skip_gameingo -nowindow pitfall

With this, MAME will go into Atari 2600 Cart mode (for lack of better phrasing), bypass the game info window, start fullscreen, and look inside your rompath folder(s) for pitfall.zip.

Since (at least for your a2600 roms) you don't have MAME's softlist romset (the ones that are in zip format), I recommend you create a new emulator in LaunchBox.

Use the same executable ( image.png.6306b717ed4e8693a90654faa16c1c68.png ) but give it a different name (of course) like MAME_with_quotes or whatever.  You can have the same Default Command-Line Parameters (it doesn't matter anyway), but un-check both those boxes.  Then in the Associated Platforms section, Add Atari 2600 and its Default Custonm Command-Line Parameters ( a2600 -cart -skip_gameingo -nowindow ).  This will now send

mame a2600 -cart -skip_gameingo -nowindow "R:\atari2600\pitfall.bin"

 

Link to comment
Share on other sites

Scratch that new emulator idea above.  Just ran some tests..

As stated in your other post about this, put all your Atari 2600 .bin files into the folder "R:\atari2600\a2600\"  

R:\atari2600\a2600\adventure.bin
R:\atari2600\a2600\pitfall.bin

You don't need to add a2600 to the rompath.  Since your command line says to 'go into Atari 2600 mode', MAME knows to look for a subfolder called a2600 within your rompath's you have listed.

Don't need to change any of your existing MAME setting in LaunchBox.  Just add the subfolder, move the .bin files into it, start LB and play Pitfall (and Adventure).

Link to comment
Share on other sites

First huge thanks to everybody for the ideas,

 

I got it working by zipping the individual games and add the ROMs folder to the path. -Hope this won't break other emulators, which share the same atari2600 archive.

 

However, I think I'm going to be in big trouble when I try to get LB to use MAME with Apple2e, where I just have a bunch of disk and caassete images that Mame surely isn;'t going to recognize, as it does with atari2600 files. Mame fully supports this usage pattern:

mame apple2e -floppydisk1 {path_to_my_disk_image_binary}  # works perfectly fine

Is there simply no way to have LB start mame as a system and not try to interpret the image it's loading?

What if I renamed mame.exe to something else?

 

Edited by sgordon777
Link to comment
Share on other sites

>> What if I renamed mame.exe to something else?

 

This seems to have worked!..

I copied mame.exe m1.exe, and am now able to treat it like other emualors, without it trying to "name" the image I'm using.

I have this wokring both for atari2600, and for apple2gs

 

image.thumb.png.e9fafcb4d87b47659357f7d945759ee4.png

 

image.thumb.png.ca0faab4a138c976dc5c48a9344a7402.png

 

 

 

Edited by sgordon777
Link to comment
Share on other sites

3 minutes ago, sgordon777 said:

mame apple2e -floppydisk1 {path_to_my_disk_image_binary}  # works perfectly fine

If this works perfectly, then MAME is recognizing it.  Can you show a literal example?  As in the full path and file name plus extension.  

For Apple IIe floppies, MAME supports  extensions: mfi, dfi, dsk, do, po, rti, edd, woz, nib   For cassettes it's .wav

Honestly, you're creating more work than necessary by not having an actual MAME softlist ROM set.  You know. .zip files.

But according to your "works perfectly file" statement, you CAN make it work with what you have.  You NEED to have the afore mention check boxes un-checked in the emulator settings so that it will pass "{path_to_my_disk_image_binary}" at the end of the command line.

 

15 minutes ago, sgordon777 said:

Is there simply no way to have LB start mame as a system and not try to interpret the image it's loading?

Do you mean like, double click a game, and have LB simply just open MAME. And then you navigate to Apple IIe, and then select a game from there?  aka: have the LaunchBox frontend open the MAME frontend.  You can always Right-Click a game and select Open MAME (assuming it's the default emulator for that Platform)

image.png.11f3e2e4653cb7f84f4a66299c4053d9.png

 

21 minutes ago, sgordon777 said:

What if I renamed mame.exe to something else?

An emulators executable name is simply a name, by any other name.

Link to comment
Share on other sites

7 minutes ago, sgordon777 said:

I copied mame.exe m1.exe, and am now able to treat it like other emualors, without it trying to "name" the image I'm using.

I have this wokring both for atari2600, and for apple2gs

I'm curious.  Between your MAME and M1 emulator settings, does one of them have these 2 boxes checked, and the other doesn't?

image.png.743114867823db13e6ec7a7fae5f7a04.png 

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