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 Try the site in https mode 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 154135 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #320 on: December 01, 2014, 03:04:37 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?

I didn't post an example because I didn't remember it exactly.
It's the rotate="90" part
IIRC, "0" is horizontal, 90 is rotated right, 180 is upside down 270 is rotated left
Look at a horizontal game in MAME as an example.

mala will put up the vertical orientation for either the 90 or the 270.


BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #321 on: December 01, 2014, 09:31:52 pm »

I didn't post an example because I didn't remember it exactly.
It's the rotate="90" part
IIRC, "0" is horizontal, 90 is rotated right, 180 is upside down 270 is rotated left
Look at a horizontal game in MAME as an example.

mala will put up the vertical orientation for either the 90 or the 270.

That worked great thanks.  I just added in a <display rotate="0"> into the Mario game section, refreshed the main list and everything worked.
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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #322 on: March 13, 2015, 10:00:17 am »
im struggling with this and wanted to check a couple of things before I continue troubleshooting.  Im trying to get mess to work with a .nes file is this even possible I can get it to work from a command line ie mess64.exe nes -cart test.nes  .  Trying to get the mame,cmd to work is driving me mad but it may just be a limitation of mala or I need to tell it some how to use a .nes extension any suggestions? 

Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

if "%2" == "d:\Emulators\mess\" goto mess

mame.exe %1
exit

:mess
SET MESS=d:\Emulators\mess\mess64.exe
cd ..\Emulators\mess
mess64.exe nes -cart
exit

ive managed to get the game added to mame.xml and showing in the mala game list but I think im missing something obvious

Edit I going to play around again but I assume now I need it to say

mess64.exe nes -cart %1.nes

Is that right?

Oh mame and mess folders are on the same tree level
« Last Edit: March 13, 2015, 06:01:27 pm by Blueic5 »

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #323 on: March 13, 2015, 06:15:29 pm »
That looks right as long as you are passing the right %1 and %2

I only wanted to add the Super Mario Bros so just did each direct like:

mess64.exe nes -cart "c:\mess\games\smario.nes" -skip_gameinfo

« Last Edit: March 13, 2015, 06:23:56 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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #324 on: March 14, 2015, 03:00:29 am »
Do you need the quotes?

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #325 on: March 14, 2015, 05:40:28 am »
A question will mala only see .Zip files as roms in games list is that why you may need a dummy zip file? Also on some of the examples it shows

emulator.exe zip %1 rar

But I don't get why it has a zip before the rom name and then rar?

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #326 on: March 14, 2015, 12:12:01 pm »
Do you need the quotes?

good question, they may be not necessary, but it worked so I left them... let me try it out without them... 

2 minutes later
seems to work fine without them, at least for that case, as long as there are no spaces in folder or file names it should work.  In fact I shortened all my file names just to not have to deal with that, so "Super Mario Bros. (Japan, USA).nes" became smario.nes
« Last Edit: March 14, 2015, 12:29:34 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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #327 on: March 16, 2015, 05:54:23 am »
Im struggling from what I can see in the test.txt the right rom name and rom path are being sent, but I think its just running mess rome name rather that mess64 nes -cart path\romname.nes

Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

if "%2" == "d:\Emulators\other_roms\nes\" goto mess

mame.exe %1
exit

:mess
SET MESS=d:\Emulators\mess\mess64.exe
cd ..\Emulators\mess
mess64.exe nes -cart %2\%1.nes
exit

is there a way to stop the dos prompt vanishing so quickly?

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #328 on: March 16, 2015, 08:54:12 am »
put a line that contains "pause" without the quotes after your mess64 line, should stop the dos window and let you see what is going on.

Are you sure you are getting to the right directory with the "cd ..\Emulators\mess"?  that would definitely cause issues. what directory are you running the cmd file from.
« Last Edit: March 16, 2015, 08:57:44 am 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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #329 on: March 16, 2015, 12:30:07 pm »
right im getting somewhere I can get it working finally if I # out the mame lines otherwise it just trys to run mame instead of mess for some reason.  Not sure why its not calling mess when it can see the directory the rom is located in.  I changed my batch file to read

Code: [Select]
d:
cd \Emulators\mess

which seems to be working .

So now I just cant work out why its trying to run the other_roms\nes under mame rather than mess. 

edit It would seem after using that pause command its ot going to the :mess section of the script and I can t see why

Code: [Select]
if "%2" == "d:\Emulators\other_roms\nes\" goto mess

mame.exe %1
pause
exit

:mess
cd \
d:
cd Emulators\mess
mess64.exe nes -cart %2\%1.nes
pause
exit

output

Code: [Select]
D:\Emulators\mame>if "D:\Emulators\other_roms\nes" == "d:\D:\Emulators\other_roms\nes\" goto mess

D:\Emulators\mame>mame.exe rom_name._(USA)
Unknown system rom_name._(USA)'

"rom_name._(USA)" approximately matches the follow
supported games (best match first):

ac1shid           Super Hi De Hi (Ace) (ACESYS1) (set 1)
ac1shida          Super Hi De Hi (Ace) (ACESYS1) (set 2)
ad5sslam          Super Slam (Bellfruit) (Adder 5) (set 1)
ad5sslama         Super Slam (Bellfruit) (Adder 5) (set 2)
ad5sslamb         Super Slam (Bellfruit) (Adder 5) (set 3)
ad5sslamc         Super Slam (Bellfruit) (Adder 5) (set 4)
ad5sslamd         Super Slam (Bellfruit) (Adder 5) (set 5)
ad5sslame         Super Slam (Bellfruit) (Adder 5) (set 6)
ad5sslamf         Super Slam (Bellfruit) (Adder 5) (set 7)
arac6000          Super Six Plus II English Mark Darts
as_sld            Super Little Devil (Astra, V700)
as_slda           Super Little Devil (Astra, V600)
as_sldb           Super Little Devil (Astra, V500)
as_sldc           Super Little Devil (Astra, V400)
as_sldd           Super Little Devil (Astra, V200)
as_slde           Super Little Devil (Astra, V101)

D:\Emulators\mame>pause
Press any key to continue . . .
« Last Edit: March 16, 2015, 12:44:59 pm by Blueic5 »

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #330 on: March 16, 2015, 12:41:50 pm »
it's trying to run mame?  The only way I see that happening is if the "if "%2" == "d:\Emulators\other_roms\nes\" goto mess" line is not triggering the goto.  Do you need the \ on the end of the path? and I assume that matches what you are capturing in your test.txt.
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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #331 on: March 16, 2015, 12:46:11 pm »
I remove the text file output as it seemed to show things correctly, anyway ive updated my post above for troubleshooting

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #332 on: March 16, 2015, 01:13:56 pm »
Quote
D:\Emulators\mame>if "D:\Emulators\other_roms\nes" == "d:\D:\Emulators\other_roms\nes\" goto mess

take the \ off the end of your if statement as obviously those two are not equal
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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #333 on: March 16, 2015, 01:41:53 pm »
Cheers I'll try that tomorrow and let you know...
Just a note
I had a lot of issues with the spaces in the rom name and gave up wouldn't work for me with or without ".   Also there seemed to be a rom name length limit when executing the script.

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #334 on: March 16, 2015, 10:40:00 pm »
I just looked at it again and you have "d:\D:\" in there too, not sure where that is coming from, but it could be an issue as well.
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

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #335 on: March 17, 2015, 10:12:46 am »
I think that was me typing it in, but it did solve the issue which was I needed a uppercase D: rather than the lower case and I also got rid of that "\" .  Thanks for your help and blimey its very picky and case sensitive .   

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #336 on: March 17, 2015, 11:02:11 am »
Glad to hear you got it working.  :applaud:
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

Pedro felinni

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:August 20, 2019, 04:11:35 am
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #337 on: September 04, 2016, 05:46:32 am »

I do not know how to run the Final Burn Alpha on the same list with Mame.
Can someone help me?  :cry:

C:\Users\felinni\Desktop\MaLa174\others\fba\fba.exe
C:\Users\felinni\Desktop\MaLa174\mame125\mame125.exe