Mame in cab thread. Frontends, gamelists, configuration etc.

Everything Emulator related
User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 20th, 2014, 6:39 pm

Ok quick post....yes the catver I downloaded was the same. Used your path settings cools and yes the romlist shows correctly!!
However, setup your filters as per your instructions. Go back to attract main screen, roms disappear and when I jump from filter to filter the game box remains empty...

There's no way setting up basic filters should be this much of a pain!! :problem:
For gods sake, its a carton box - not the holy grail!

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 21st, 2014, 4:43 pm

Hopefully you've fixed it now after the texts ;)

Just found a tool on emumovies - Perfect Match. Works with artwork for renaming stuff to the MESS software name :D
Image

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 22nd, 2014, 10:18 am

Code: Select all

list	Arcade
	layout               list
	romlist              MAME
	filter               "Horizontal Games"
		rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
		rule                 Year not_contains ?
		rule                 Manufacturer not_contains bootleg
		rule                 Rotation equals 0|180
		rule                 Status equals good|imperfect
		rule                 Control contains joystick
		rule                 Control contains 2-way|4-way|8-way
		rule                 Players contains 2
		rule                 Category not_contains Mature|Quiz|Sports|Mahjong|Casino
	filter               "Vertical Games"
		rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
		rule                 Year not_contains ?
		rule                 Manufacturer not_contains bootleg
		rule                 Rotation equals 90|270
		rule                 Status equals good|imperfect
		rule                 Control contains joystick
		rule                 Control contains 2-way|4-way|8-way
		rule                 Players contains 2
		rule                 Category not_contains Mature|Quiz|Sports|Mahjong|Casino
	filter               "Maze Games"
		rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
		rule                 Year not_contains ?
		rule                 Manufacturer not_contains bootleg
		rule                 Rotation equals 0|180
		rule                 Status equals good
		rule                 Control contains joystick
		rule                 Control contains 2-way|4-way|8-way
		rule                 Players contains 2
		rule                 Category equals Maze
Image

User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 23rd, 2014, 6:40 pm

Well I did get there in the end thanks to cools latest post above.

Much appreciated mate, couldn't get my head around those filter rules and more importantly using the correct terminology. ...just want that lovely layout of yours now ala bubble bobble one(without the flyer)! :shifty:
For gods sake, its a carton box - not the holy grail!

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 6:49 pm

I'll need to modify it back, didn't keep a copy. Get the hyperspin wheels for mame, and a recent mame snaps pack, and I'll post up a layout that will work with them - any tweaks you want?
Image

User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 23rd, 2014, 9:17 pm

cools wrote:I'll need to modify it back, didn't keep a copy. Get the hyperspin wheels for mame, and a recent mame snaps pack, and I'll post up a layout that will work with them - any tweaks you want?
Thanks cools, already sorted with the logos and snaps, actually grabbed those last week hoping the layout would be easier to achieve...well for me anyways! :lol: ;)

Tbh I really like your metal slug layout or the bubble bobble layout, just without the flyers....have your been tempted to filter clones? or do you like having those as options? Case in point Gauntlet & Gauntlet II... :think:
Last edited by joeblade on January 23rd, 2014, 9:29 pm, edited 1 time in total.
For gods sake, its a carton box - not the holy grail!

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 9:28 pm

I don't even keep clones as separate ROMs, though maybe I should now I can filter them out.

That layout will be easy to revert to. If I get time I'll do it tomorrow.
Image

User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 23rd, 2014, 9:34 pm

cools wrote:I don't even keep clones as separate ROMs, though maybe I should now I can filter them out.

That layout will be easy to revert to. If I get time I'll do it tomorrow.
Gothcha!!, I've always gone down the path of "split".....old habit really back when some of the emulator setup combos didn't like merged and could only utilise the parent from it....

and cheers for the layout cools, I really am quite impressed how quick you got those looking so nice...just need fade or transitions now and they'll be looking very pretty!! :awe:
For gods sake, its a carton box - not the holy grail!

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 9:47 pm

I've got fade to and from game, nothing else though. A quick fade when switching might be nice but I've tried and failed at that, plus it slows things down a lot

I've ended up trying to do a layout like this with every frontend I've ever used, so the idea has been there for a long time.
Image

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 9:51 pm

also do you actually still play gauntlet?

The good clones thing is better taken care of with a dedicated small ROM folder for them only, or you're ending up messy.
Image

User avatar
pubjoe
Fosters Political Ambitions
Posts: 9797
Joined: August 19th, 2008, 8:58 am
Location:

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by pubjoe » January 23rd, 2014, 10:05 pm

It's really nice cools. When I eventually get bored of pcb-only, I'll be heading back to these posts.

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 10:44 pm

joeblade wrote:
cools wrote:I don't even keep clones as separate ROMs, though maybe I should now I can filter them out.

That layout will be easy to revert to. If I get time I'll do it tomorrow.
Gothcha!!, I've always gone down the path of "split".....old habit really back when some of the emulator setup combos didn't like merged and could only utilise the parent from it..
If you want the frontend to recognise them natively then they still need to be split, or it won't see them.

Though I've just realised you could always make a separate ROM list with it specifically for these games though. It can see anything in the romlist folder, but it'll only overwrite stuff that is named matching the emulator name.

We could actually generate a "Good MAME ROM List" file directly for this frontend from the Google Doc with a bit of legwork filling a few bits in...
Image

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 23rd, 2014, 10:47 pm

pubjoe wrote:It's really nice cools. When I eventually get bored of pcb-only, I'll be heading back to these posts.
Your obsessive side will hate you for it if you choose to go with this one.

There won't be any bugs in it by then though, the author is responding regularly to the reports I'm filing: https://github.com/mickelson/attract/issues?state=open"
Image

User avatar
emphatic
Breastfeeds when required
Posts: 6364
Joined: April 7th, 2009, 4:14 pm
Location: Alingsås, Sweden
eBay: jorgen_sjolander
Initials: JOR

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by emphatic » January 23rd, 2014, 11:17 pm

cools wrote:also do you actually still play gauntlet?
:lol:

User avatar
imjasonmh
Posts: 19
Joined: August 7th, 2011, 8:00 pm
Location: Minneapolis, MN USA
eBay: JMHenriksen

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by imjasonmh » January 24th, 2014, 2:15 am

I would love to have the Egret II vertical theme for Mala converted for Hyperspin. Is this a hard process? Great work!

User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 24th, 2014, 2:43 am

emphatic wrote:
cools wrote:also do you actually still play gauntlet?
:lol:
Sometimes....!! :(

:lol:
For gods sake, its a carton box - not the holy grail!

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 24th, 2014, 11:28 am

How's this grab you? It's not exactly the same as the old screenshot, but it's the same idea. Any bits of text you don't want just delete - I find them useful.

Code: Select all

fe.layout.width=640;
fe.layout.height=480;
fe.layout.font="COOLVETI";

// Trim functions
function trimmed_title( index_offset ) {
 local s = split( fe.game_info( Info.Title, index_offset ), "/(" );
 if ( s.len() > 0 )
  return s[0];
 return "";
}

function trimmed_man( index_offset ) {
 local s = split( fe.game_info( Info.Manufacturer, index_offset ), "(" );
 if ( s.len() > 0 )
  return s[0];
 return "";
}

// Gives us a nice high random number for the RGB levels
function brightrand() {
 return 255-(rand()/255);
}

local red = brightrand();
local green = brightrand();
local blue = brightrand();

// Game snapshot
local snap = fe.add_artwork( "snap", -80, -60, fe.layout.width + 160, fe.layout.height + 120);
snap.set_rgb (192,192,192);

// Game title bar
local titlebg = fe.add_image ("mask.png", 0, 300, fe.layout.width, 100)
titlebg.set_rgb (0,0,0);
local titlebg2 = fe.add_clone (titlebg);
titlebg2.rotation = 180;
titlebg2.height = titlebg2.height / 2;
titlebg2.x = fe.layout.width;
titlebg2.y = titlebg.y + titlebg.height;

// Game title text
local gametitleshadow = fe.add_text( trimmed_title( 0 ), 21, 335, fe.layout.width, 25 );
gametitleshadow.align = Align.Left;
gametitleshadow.style = Style.Bold;
gametitleshadow.set_rgb (0,0,0);
local gametitle = fe.add_text( trimmed_title( 0 ), 20, 334, fe.layout.width, 25 );
gametitle.align = Align.Left;
gametitle.style = Style.Bold;
local copy = fe.add_text( "©", 30, 360, 320, 20 );
copy.align = Align.Left;
local man = fe.add_text( trimmed_man( 0 ), 42, 360, 320, 20 );
man.align = Align.Left;
local year = fe.add_text( "[Year]", 20, 300, fe.layout.width, 90 );
year.align = Align.Right;
year.style = Style.Bold;

// Category
local cat = fe.add_text( "[Category]", 0, 450, fe.layout.width, 24 );
cat.set_rgb( 0, 0, 0 );
cat.align = Align.Centre;

// Filters
local romlist = fe.add_text( "[ListTitle]", 5, 20, fe.layout.width - 5, 20 );
romlist.align = Align.Left;
romlist.style = Style.Bold;
local filter = fe.add_text( "[ListFilterName]", 5, 20, fe.layout.width - 5, 20 );
filter.align = Align.Right;
filter.style = Style.Bold;
local details = fe.add_text( "[ListEntry]/[ListSize]", 0, 464, fe.layout.width, 16 );
details.align = Align.Right;
details.style = Style.Bold;
details.set_rgb (0,0,0);

// Game wheel image
local wheel = fe.add_artwork( "wheel", 120, 140, 400, 0);

// Loading text
local message = fe.add_text("Loading...",0,200,fe.layout.width,80)
message.alpha = 0;
message.style = Style.Bold;

// Transitions
fe.add_transition_callback( "fancy_transitions" );

function fancy_transitions( ttype, var, ttime ) {
 switch ( ttype )
 {
 case Transition.StartLayout:
 case Transition.ToNewList:
 case Transition.ToNewSelection:
 case Transition.EndLayout:
  gametitleshadow.msg = trimmed_title( var );
  gametitle.msg = trimmed_title( var );
  man.msg = trimmed_man ( var );
  red = brightrand();
  green = brightrand();
  blue = brightrand();
  year.set_rgb (red,green,blue);
  copy.set_rgb (red,green,blue);
  man.set_rgb (red,green,blue);
  break;

 case Transition.FromGame:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = ttime;
   message.alpha = 0;     
   return true;
  }
  else
  {
   foreach (o in fe.obj)
    o.alpha = 255;
   message.alpha = 0;
  }
  break;
    
 case Transition.EndLayout:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = 255 - ttime;
   message.alpha = 0; 
   return true;
  }
  else
  {
   foreach (o in fe.obj)
    o.alpha = 255;
   message.alpha = 0;
  }
  break;
     
 case Transition.ToGame:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = 255 - ttime;
   message.alpha = ttime;
   return true;
  }   
  break; 
 }
 return false;
}
Attachments
mask.png
Image

User avatar
joeblade
You're looking good Tim
Posts: 814
Joined: September 13th, 2008, 6:18 pm
Location: London

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by joeblade » January 26th, 2014, 10:55 am

Thanks cools for posting and doing this mate....just wanna check....as im totally unfamiliar with squirrel do I take one of the .nut files from another layout folder and modify that with your script? or is it better for me to create a new file and put your script into there?

I take it the png can just reside in the top level of the folder?

Sorry for the noob q's :oops:
For gods sake, its a carton box - not the holy grail!

User avatar
Pete
Retired
Posts: 3841
Joined: August 19th, 2008, 8:23 pm
Location: Hertfordshire
eBay: arcave

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by Pete » January 26th, 2014, 11:06 am

Can somebody here knock me up a nice Mala backdrop Versus related ?

User avatar
cools
Armed Police Buttrider
Posts: 12787
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Mame in cab thread. Frontends, gamelists, configuration

Post by cools » January 26th, 2014, 11:28 am

Joe: make a new folder in the layouts folder, call it whatever you want. Save the code as a text file called layout.nut in that folder, and put the PNG in the same place as well.
Image

Post Reply