Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: GameLists: Multiple emuls in same list work-around solution  (Read 99853 times)

0 Members and 1 Guest are viewing this topic.

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #280 on: March 26, 2012, 04:51:48 pm »
daphne, i couldnt work it all out...

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #281 on: March 26, 2012, 04:54:09 pm »
sorry but my english not is good :)
you ask me where i have take daphne?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #282 on: March 26, 2012, 05:13:19 pm »
i found the website..

but coudn't figure it out..

Tomorrow!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #283 on: March 26, 2012, 05:15:02 pm »
Oh yes...thanks!!!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #284 on: March 27, 2012, 04:38:22 am »
Daphne!
For this emulator i read http://forum.arcadecontrols.com/index.php?topic=68419.msg697032#msg697032

if "%2" == "C:\emulators\other_emus\daphne" goto daphne

:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% dle20 vldp -framefile C:\emulators\Daphne\vldp_dl\lair\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

I see in to mame.xml that space ace exist and i created zip file spaceace.zip, refresh and now space ace is in game list.
To start this emulator is needed bat file, example to start game space ace i click on file ace.bat with this data:

@echo off
D:\Emulatori\Other_emu\Daphne\Daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel


mame.cmd:

if "%2" == "D:\Emulatori\Other_emu\daphne\roms" goto daphne

mame32.exe %1
exit

:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel




« Last Edit: March 27, 2012, 06:25:19 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #285 on: March 27, 2012, 06:19:35 am »
ok first thing is I have daphne but no roms yet...

What is the smallest in size rom (I'm running out of net usage!)


just by looking at your code..


:daphne
SET DAPHNE=C:\emulators\other_emu\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "C:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel
exit


try that also you have emulators and emulatori in there??? c: & d:   choose one of each

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #286 on: March 27, 2012, 06:34:27 am »
ok first thing is I have daphne but no roms yet...
MP

:daphne
SET DAPHNE=C:\emulators\other_emu\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "C:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel
exit

try that also you have emulators and emulatori in there??? c: & d:   choose one of each

yes, right, the correct dir is:

:daphne
cd..
daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel


is possible run it with rom path if "%1" == "ace" ?
« Last Edit: March 27, 2012, 06:37:25 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #287 on: March 27, 2012, 06:51:11 am »
yeah I would say


:daphne
cd..
if %1 == ace daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccelif
if %1 == dlair etc etc

can you tell me the smallest size daphne rom and I'll try this method...

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #288 on: March 27, 2012, 06:57:58 am »
small size?
mmm there are alwais 700/800 mb...

you have read pm that i send to you?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #289 on: March 27, 2012, 07:02:25 am »
ah thats what MP meant. You meant PM!!

Yeah thank you. I will have to wait until 1st April as I have no internet usage left..


So is working now for you?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #290 on: March 27, 2012, 07:07:44 am »
In italian is "messaggio personale"= MP :D

So is working now for you?
What it means?


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #291 on: March 27, 2012, 07:10:38 am »
oh ok!!!  :lol


So daphne is now working ok?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #292 on: March 27, 2012, 07:19:43 am »
Work perfectly!


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #293 on: March 27, 2012, 07:26:29 am »
ok thanks for that mp...

I will get some roms 1st April and follow your code...


Nice talking to you man.

Glad to have helped...

 :cheers: :cheers: :cheers:
peace.

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #294 on: March 27, 2012, 07:31:28 am »
Thanks to you...see you soon!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1144
  • Last login:March 21, 2021, 11:33:47 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #295 on: March 28, 2012, 10:18:36 pm »
ok thanks for that mp...

I will get some roms 1st April and follow your code...


Nice talking to you man.

Glad to have helped...


peace.
 
Excellent job thatgammon!   :applaud:

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #296 on: March 29, 2012, 03:04:29 am »
Why thank you sir! :)

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #297 on: March 29, 2012, 03:15:52 pm »
Excellent job thatgammon!   :applaud:
Yes, great thatgammon, i wait you for daphne ;)

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #298 on: August 19, 2012, 05:25:13 pm »
Ok, I have this sorted for one game so far just to test, I got House of the Dead running on the M2 emulator.

The only problem is, when I select the game, the emulator appears, then the cmd window, then they both disappear. If I alt-tab to the emulator it's frozen - I have to close the cmd window for it to load properly, then the game loads fine. Any ideas what's happening?

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #299 on: August 21, 2012, 01:20:46 pm »
Ok, I have Supermodel working fine with this method, but the M2 emulator still has the problem with the .cmd file hanging until I close it.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #300 on: August 23, 2012, 01:50:22 pm »
Ok, I have this sorted for one game so far just to test, I got House of the Dead running on the M2 emulator.

The only problem is, when I select the game, the emulator appears, then the cmd window, then they both disappear. If I alt-tab to the emulator it's frozen - I have to close the cmd window for it to load properly, then the game loads fine. Any ideas what's happening?

Post a copy of your cmd file.

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #301 on: August 23, 2012, 04:57:06 pm »
Code: [Select]
if "%2" == "C:\Games\Arcade\emulators\m2\roms" goto m2
if "%2" == "C:\Games\Arcade\emulators\Supermodel\roms" goto supermodel

mame.exe %1
exit

:m2
cd "..\m2"
closemul.exe emulator_multicpu.exe %1
exit

:supermodel
cd "..\Supermodel"
supermodel %1.zip
exit

I want to keep all the roms in their emulator folders, so Mala is at C:\Games\Arcade, and in that folder there's an \emulators folder.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #302 on: August 24, 2012, 10:16:02 am »
Here is what I have for Model 2

closemul.exe emulator_multicpu.exe zip %1

I also wanted to keep the roms in their emulator folder, but needed more than 3 paths., so here is what I did:
Made an other_emus folder/subfolders and had Mala search subfolders per SGT's instructions in this thread.
Made up a dummy text file in notepad and zipped it.
Repeatedly copied and renamed that dummy zip file with the same name as the roms and put them in the appropriate other_emus folder.
The zip files in the other_emus folder aren't used for anything other than giving the batch file a way to sort things.
The emulators still have their original paths set and use the rom folder located in the same folder as the exe.


« Last Edit: August 24, 2012, 10:38:55 am by BadMouth »

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #303 on: August 27, 2012, 01:19:59 pm »
What's the purpose of the zip part? If it's for the rom extension, shouldn't it be after the %1? Anyway, I tried it with and without the zip, still does the same thing though.

EDIT 1: I think I figured it out, I removed the script for HOTD that runs the borderless program, that makes it run normally. Now to just figure out how to get them both working together.

EDIT 2: God this never ends. Removing the scripts made it run normally, now my batch file looks like this for anyone who might be interested:

Code: [Select]
:m2
cd "..\m2"
start RamjetM2Borderless.exe
closemul.exe emulator_multicpu.exe %1
exit

But now I have another problem - all the games run fine apart from Behind Enemy Lines (bel.zip) which doesn't seem to like closemul. I tried running it from the command line but the emulator just opens and sits there. Removing closemul lets it run fine, but then of course I can't close the emulator with escape.
« Last Edit: August 27, 2012, 04:32:50 pm by mooseman1 »

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #304 on: March 16, 2013, 11:48:22 am »
Hello. I'm trying to launch 2 makaron games.
I have 2 mame roms directories and another rom directory for other games.
When i try to add mame.chd, mala said: mala set not set or found.
My mame.chd:

if "%3" == "D:\ROMS\Dummies roms\Ikaruga" goto ikaruga
if "%3" == "D:\ROMS\Dummies roms\vs2_2k" goto vs2_2k

groovymame.exe %1 %2
exit

:ikaruga
cd ..\ikarugaemulator
closemul.exe
exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe
exit

Where could be the problem?
thanks.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #305 on: March 16, 2013, 02:15:30 pm »
Hello. I'm trying to launch 2 makaron games.
I have 2 mame roms directories and another rom directory for other games.
When i try to add mame.chd, mala said: mala set not set or found.
My mame.chd:

if "%3" == "D:\ROMS\Dummies roms\Ikaruga" goto ikaruga
if "%3" == "D:\ROMS\Dummies roms\vs2_2k" goto vs2_2k

groovymame.exe %1 %2
exit

:ikaruga
cd ..\ikarugaemulator
closemul.exe
exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe
exit

Where could be the problem?
thanks.

Do you mean mame.cmd (not mame.chd)?
Do the games show up in your gamelist?

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #306 on: March 16, 2013, 03:27:23 pm »
Thanks. The problem was in *.chd. I have put mame.cmd and no error appears, but when i try to launch ikaruga or vs2_2k mala does nothing...

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #307 on: March 17, 2013, 05:35:16 pm »
Thanks. The problem was in *.chd. I have put mame.cmd and no error appears, but when i try to launch ikaruga or vs2_2k mala does nothing...

After Mala launches mame.cmd, Mala's job is done.

I don't see anything in your mame.cmd that would launch makaron.
You direct it to the folder and launch closemul, but I don't see where you have the command line to launch makaron.
I have two different sections for Makaron because some of my roms are in zip files and some of them are in the dat format that the author used in earlier versions.

Code: [Select]
:Makaron

cd \Emulators\Makaron
closemul.exe NAOMI.exe %1.zip
exit

:Makaron2

cd \Emulators\Makaron
closemul.exe NAOMI.exe %1.dat
exit

Before doing any of this you should be able to launch a game from the command prompt or via a batch file.
Then you'll understand what Mala, or in this case mame.cmd needs to send in order to launch the game.



mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #308 on: March 23, 2013, 10:04:13 am »
Thank you very much for your help. I think there are a error in mame.cmd, because makaron never runs.
I have configured mala in other emus for launch makaron and works fine. Exe launcher: closemul.exe and command line: "%path%\%rom%.%ext%"
in closemul config i have enter naomi.exe as executable.
When i try to launch virtua striker 2 (vs2_2k) in mame gamelist, makaron never runs.
I have try with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe NAOMI.exe %1.zip
exit

and with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe "%path%\%rom%.%ext%"
exit

and with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe NAOMI.exe %1.zip
exit

But nevers works. The other mame roms works fine.
My mame romset normal folder is: 1, makaron roms are in folder 2, and mame chd folder are in 3. I think i must use %2 in mame.cmd for makaron roms (ikaruga and vs2_2k).
What could be the error?
Thanks.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #309 on: March 25, 2013, 12:27:24 pm »
try specifying the full path instead of having cd ..\
If you're going to have a different section for each game, use the rom name instead of %1

Also make sure you've removed the rom from your MAME romset.

%1 is the rom name, has nothing to do with what folder it's in.

Can you launch the Makaron game via command line?
What is the exact command line you're using to do that?

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #310 on: April 04, 2013, 06:22:10 pm »
With windows console (cmd) i have enter in: D:\ROMS\Dummies roms\vs2_2k and then put.-
cd ..\VirtuaStriker2emulator
closemul.exe "D:\ROMS\Dummies roms\vs2_2k\vs2_2k.zip"

and makaron works fine.

But when I try it in mala, nothing happens. I'm sure the error is in the first line, mala don't enter in ::vs2_2k
mame.cmd.-

if "%2%" == "vs2_2k" goto vs2_2k

groovymame.exe %1 %3

exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe "D:\ROMS\Dummies roms\vs2_2k\vs2_2k.zip"
exit

Javy3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:June 17, 2013, 09:54:24 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #311 on: April 05, 2013, 03:10:12 pm »
nice

cavepainter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 04, 2017, 08:40:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #312 on: June 06, 2013, 03:08:50 pm »
I'm trying to get in on this now myself and running into a problem.

I can't seem to be able to get mala to pass %2 to mame.cmd. Is anybody willing to throw some ideas in my general direction?

Here's my mala log of my attempt to run Dragon's Lair via the dle21 rom, which is location in my Daphne\roms folder:

2013/06/06  13:50:01.07   Info: CtrlStartGame: MAME: FMameCommandline (config) = %rom% %path%
2013/06/06  13:50:01.08   Debug **: CtrlStartGame: MAME Command Line replaced %path% = %rom%
2013/06/06  13:50:01.08   Debug **: CtrlStartGame: MAME Command Line replaced %rom% = dle21
2013/06/06  13:50:01.09   Debug **: CtrlStartGame: MAME Command Line replaced %parent% = dle21
2013/06/06  13:50:01.09   Debug **: CtrlStartGame: MAME Command Line replaced %ext% = dle21
2013/06/06  13:50:01.09   Info: CtrlStartGame: MAME: Converted Commandline = mame.cmd dle21
2013/06/06  13:50:01.09   Info: Saving game list: D:\Games\mala\1983.mlg
2013/06/06  13:50:01.10   Debug **: Sound Trigger (if set) SOUND_STARTGAME(or Muzac) ---------------------------------------------------
2013/06/06  13:50:01.10   Info: Starte: Dir = D:\Games\mame\
2013/06/06  13:50:01.11   Info: Starte: Command Line = mame.cmd dle21
2013/06/06  13:50:01.11   Info: Starte: Current Memory used: 42,440 K
2013/06/06  13:50:01.11   Info: Starte: Cancel any Display & Video Delay due to game start
2013/06/06  13:50:01.11   Debug **: Starte: Video windows Disabled as Game is about to be launched
2013/06/06  13:50:01.12   Info: Starte: Set dir: D:\Games\mame\
2013/06/06  13:50:01.12   Info: Starte: Starting: dle21
2013/06/06  13:50:01.12   Info: Starte: Create process: mame.cmd dle21
2013/06/06  13:50:01.18   Info: Starte: Ending Game:  >>>>>>>>>>>>>>>>> Quit:

cavepainter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 04, 2017, 08:40:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #313 on: June 06, 2013, 03:45:26 pm »
Re: my own issue of mala not passing along the path....

I've made a little bit of progress. In the mala gamelist editor I added the path to the rom listing. I thought mala was supposed to find this automatically somehow, but apparently it isn't doing it. As it is now, I'll have to add the paths by hand for every game that I want to run with an emulator other than mame.

Clearly you guys aren't doing this. Any idea why mala would not be finding the rom path automatically? I have 3 rom paths set up in the options and search subfolders enabled.   :dunno

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #314 on: June 07, 2013, 03:00:35 pm »
Re: my own issue of mala not passing along the path....

I've made a little bit of progress. In the mala gamelist editor I added the path to the rom listing. I thought mala was supposed to find this automatically somehow, but apparently it isn't doing it. As it is now, I'll have to add the paths by hand for every game that I want to run with an emulator other than mame.

Clearly you guys aren't doing this. Any idea why mala would not be finding the rom path automatically? I have 3 rom paths set up in the options and search subfolders enabled.   :dunno

I had the same problem.  It's buried somewhere in this thread, but even digging back through the thread knowing it's there, I can't find it. 
One of the options needs to be unchecked in the advance features where you set the rom path.  I think maybe it was "only working games" even though I had changed them to working in the xml and they show up in the list.  Try that, refresh, then check the paths again.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #315 on: October 31, 2014, 09:20:55 pm »
Hi,

Hoping someone can help??

I have multiple versions of MAME, plus models 2 and supermodel running, now I'm trying to setting up outrun coast 2 coast

In Mala, I pointed the game list to "C:\emulators\other_emus\pc_games"

My MAME cmd file is......

if "%2" == "C:\emulators\other_emus\pc_games" goto pc_games

:pc_games
C:
cd \emulators\pc_games
%1.cmd
exit

I created a dummy ROM inside the pc_games folder

Note: I can run this from the command line....so not sure what I'm doing wrong??

Thanks in advance

Sega_Mad






« Last Edit: November 06, 2014, 12:42:06 pm by sega_mad »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #316 on: November 06, 2014, 01:22:53 pm »
Solved  ;D ;D

Just ran a AHK script (copied my model 2 script, and modified)....here it is.

setworkingdir, C:\emulators\pc_games
run OR2006C2C %1%


WinWaitActive, Model
WinWaitNotActive, Model
sleep 500

esc::
soundget, volume ;stores the current level of the master volume in a variable called "volume"
soundset, 0 ;sets the master volume to 0, aka mute
send !{F4}
sleep 500 ;this can be adjusted as necessary
soundset, %volume% ;sets the master level to it's level before we muted it
exitapp ;exits the script

Happy happy happy  :)

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:April 08, 2021, 10:52:40 am
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #317 on: November 27, 2014, 10:06:45 pm »
First of all thanks SGT for the awesome write up for the work around.

I have a fairly limited list of mame games I run from my youth at the arcade in late 70s and very early 80's.  After running across this thread I decided to add in the main NES games from my daughters growing up years.. ie Super Mario Brothers.  Anyway, I have them showing up in MaLa and using this tutorial they all run just fine.

Now for the issue.  I am just starting building a bartop that will have a rotate-able monitor.  Mala is set to follow the Mame rotation and seems to work fine for that  The issue is that if I have run a vertical oriented game and put the monitor in vertical mode then the next one I run is one of the Super Mario Bros which correctly plays horizontally when i exit and go back to Mala it goes back to the vertical mode it was just in.  I am using MESS to run the NES games.  Hopefully that makes sense.

Any way to get MaLa to rotate to the direction of the MESS games that are really in the MAME list? Or is there an easier way to get this to work?  Basically just looking for 1 list for all games and have all games play the correct direction and then MaLa follow that direction afterward.  It is a manually rotated monitor so there is no other code going on to do that.

Thanks,
Dan
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8833
  • Last login:Today at 03:59:11 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #318 on: December 01, 2014, 11:22:23 am »
First of all thanks SGT for the awesome write up for the work around.

I have a fairly limited list of mame games I run from my youth at the arcade in late 70s and very early 80's.  After running across this thread I decided to add in the main NES games from my daughters growing up years.. ie Super Mario Brothers.  Anyway, I have them showing up in MaLa and using this tutorial they all run just fine.

Now for the issue.  I am just starting building a bartop that will have a rotate-able monitor.  Mala is set to follow the Mame rotation and seems to work fine for that  The issue is that if I have run a vertical oriented game and put the monitor in vertical mode then the next one I run is one of the Super Mario Bros which correctly plays horizontally when i exit and go back to Mala it goes back to the vertical mode it was just in.  I am using MESS to run the NES games.  Hopefully that makes sense.

Any way to get MaLa to rotate to the direction of the MESS games that are really in the MAME list? Or is there an easier way to get this to work?  Basically just looking for 1 list for all games and have all games play the correct direction and then MaLa follow that direction afterward.  It is a manually rotated monitor so there is no other code going on to do that.

Thanks,
Dan

Do you have the NES games flagged as horizontal in mame.xml ?

This should work.  I have an automatically rotating monitor with a half dozen emulators launched using SGT's workaround.
As long as the xml is correct, Mala should rotate.

Keep in mind that the rotation info Mala uses on the fly is stored in the mala gamelist.
If just using the all games list, you'll have to refresh the main gamelist to get the changes to take effect.
If using a gamelist other than the all games list, refreshing doesn't work.  You'll have to delete the game from the list, refresh the all games list, then add it back to the smaller list.


BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:April 08, 2021, 10:52:40 am
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #319 on: December 01, 2014, 12:51:20 pm »

Do you have the NES games flagged as horizontal in mame.xml ?

This should work.  I have an automatically rotating monitor with a half dozen emulators launched using SGT's workaround.
As long as the xml is correct, Mala should rotate.

Keep in mind that the rotation info Mala uses on the fly is stored in the mala gamelist.
If just using the all games list, you'll have to refresh the main gamelist to get the changes to take effect.
If using a gamelist other than the all games list, refreshing doesn't work.  You'll have to delete the game from the list, refresh the all games list, then add it back to the smaller list.

Ah, that would be the problem, I didn't see anything in this posting about orientation (but may have easily missed it) so I will have to figure out how to add that to the mame.xml.  And yes, just using the all games list, so thanks also for the reminder to refresh the list. 

OK, I've done some searching and can't find for sure how to tag the NES games as horizontal.  Is it done with a line like this: <display tag="screen" type="raster" rotate="90"  />

Or is there an easier method?
« Last Edit: December 01, 2014, 02:38:45 pm by BorgDog »
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com