MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Pages: 1

Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


[Resolved] Setting global Bezel - mame 146
#295140 - 09/06/12 01:53 AM Attachment: bezel.txt 1 KB (29 downloads)


Status so far and plan

Plan: Create a bezel that is default for ALL vertical games.

Running at 1920 x 1080 with no stretching of the game images (ie bezel will fill rest of screen)

Progress: I have been able to get this working using the below code (attached)


And using the following file :-
http://www.flickr.com/photos/86689234@N03/7940338168/

It stops working if I try to use a different image (and naming it the same (ie no change to the code).


On investigation the new files were from approx 800kb to 4mb (mame.png http://www.flickr.com/photos/86689234@N03/7940338648) and the original (that worked) is 500kb...made me think..maybe its a file size thing.


So I created a dummy bezel with just one colour to see if it would change things...and guess what...it worked (20kb)

So ..
A) What am I doing wrong
B) Is there a filesize limit?
C) help

Edited by Venomouse (09/07/12 11:16 AM)



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4869
Loc: California
Send PM


Re: Setting global Bezel - mame 146 new [Re: Venomouse]
#295142 - 09/06/12 03:26 AM


> Status so far and plan
>
> Plan: Create a bezel that is default for ALL vertical games.
>
> Running at 1920 x 1080 with no stretching of the game images (ie bezel will fill rest
> of screen)
>
> Progress: I have been able to get this working using the below code (attached)
>
>
> And using the following file :-
> http://www.flickr.com/photos/86689234@N03/7940338168/
>
> It stops working if I try to use a different image (and naming it the same (ie no
> change to the code).
>
>
> On investigation the new files were from approx 800kb to 4mb (mame.png
> http://www.flickr.com/photos/86689234@N03/7940338648) and the original (that worked)
> is 500kb...made me think..maybe its a file size thing.
>
>
> So I created a dummy bezel with just one colour to see if it would change
> things...and guess what...it worked (20kb)
>
> So ..
> A) What am I doing wrong
> B) Is there a filesize limit?
> C) help

Nope... no filesize limit. Most of the regular artwork is waaaay bigger.

When you say it "stops working"... what's not working?

Right now... the only thing I see weird is in Line 9, the // before "bottom" shouldn't be there.

Post the full zip file of what's not working, and it'll be easier to figure out the issue.




RELAX and just have fun. Remember, it's all about the games.




Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: Mr. Do]
#295145 - 09/06/12 04:03 AM


sorry the // is a left over from me trying to post the code (for some reason
Code:

wouldn't work so i tried commenting it out)

In term of issues

I either get

diagonal lines instead of the artwork (tried multiple png formats and programs)

or no artwork and no custom view selectable from video options.


cheers



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Setting global Bezel - mame 146 new [Re: Mr. Do]
#295146 - 09/06/12 04:07 AM


>
> Nope... no filesize limit. Most of the regular artwork is waaaay bigger.
>

Isn't there a limit based on the amount of memory on the user's video card?

I seem to remember that when the new artwork system was first rolled out, someone said that you needed a minimum of a 16MB video card.

The original poster didn't say what he's using. Maybe it's onboard video with a low amount of allocated memory.



GroovyMAME support forum on BYOAC



Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: krick]
#295152 - 09/06/12 04:52 AM


just bought an nvidia geforce 210, was good troubleshooting though.



TrevEB
Brokering peace between the collectors and the Mame Community
Reged: 03/11/05
Posts: 769
Loc: Oakland, CA
Send PM


Re: Setting global Bezel - mame 146 new [Re: Venomouse]
#295153 - 09/06/12 05:03 AM


Have you tried using it on 2 different titles with the exact same vertical screen resolution.

For example, a couple different version of Pac Man.



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4869
Loc: California
Send PM


Re: Setting global Bezel - mame 146 new [Re: Venomouse]
#295154 - 09/06/12 06:01 AM


> sorry the // is a left over from me trying to post the code (for some reason wouldn't
> work so i tried commenting it out)
>
> In term of issues
>
> I either get
>
> diagonal lines instead of the artwork (tried multiple png formats and programs)
>
> or no artwork and no custom view selectable from video options.
>
>
> cheers


The multiple lines usually means the image is named or referenced incorrectly in the LAY file.

No custom view is usually something wrong with the code in the LAY file (incorrect syntax, etc.)

If you post the complete artwork file you are using that is giving an issue, I can probably figure it out in a couple minutes.




RELAX and just have fun. Remember, it's all about the games.




Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: Mr. Do]
#295163 - 09/06/12 09:07 AM Attachment: bezel.txt 1 KB (13 downloads)


you are a scholar and a gentlemen

tested the default one (which works) on several vertical games)

Here is the artwork I am trying to use.
http://postimage.org/image/p1dew16jf/full/

And I have attached the working with the other file bezel code


Working artwork file is here
http://img15.picoodle.com/i596/mbliesner/10s6_f17_ucw8i.png
(Obviously I renamed it to mame.png for the attached code to work)



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4869
Loc: California
Send PM


Re: Setting global Bezel - mame 146 new [Re: Venomouse]
#295167 - 09/06/12 02:51 PM Attachment: tempest.zip 4696 KB (16 downloads)


> you are a scholar and a gentlemen
>
> tested the default one (which works) on several vertical games)
>
> Here is the artwork I am trying to use.
> http://postimage.org/image/p1dew16jf/full/
>
> And I have attached the working with the other file bezel code
>
>
> Working artwork file is here
> http://img15.picoodle.com/i596/mbliesner/10s6_f17_ucw8i.png
> (Obviously I renamed it to mame.png for the attached code to work)


Well... it works fine here...

Only other thing I forgot to mention... make sure the name of the LAY file is either "default.lay" or the name of the game you are playing, such as "tempest.lay", otherwise it won't work.

Default.lay is the best.

The attachment is how I tested it.




RELAX and just have fun. Remember, it's all about the games.




Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: Mr. Do]
#295183 - 09/06/12 09:46 PM


This has got me stumped :{

Works 100% with the twineagle artwork, only thing I physically change is the name of the artwork files. and nada.

I'm using gameex front end also (bezels located in media\bezel 2 or whatever its called (sorry on other pc)

Can you please confirm a few things for me

1 - What version did you have it working on?
2 - Can I test with mame only, ie no front end and if so what dir do I put the files in
3 - As in your post if I rename it from bezel.lay - default.lay (I assume I also edit the first line to reflect the same) ?

Thankyou again...



Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: TrevEB]
#295187 - 09/06/12 11:33 PM


cheers for that, tested on several, mr do looks like hes got this sorted...



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4869
Loc: California
Send PM


Re: Setting global Bezel - mame 146 new [Re: Venomouse]
#295211 - 09/07/12 06:52 AM


> This has got me stumped :{
>
> Works 100% with the twineagle artwork, only thing I physically change is the name of
> the artwork files. and nada.
>
> I'm using gameex front end also (bezels located in media\bezel 2 or whatever its
> called (sorry on other pc)
>
> Can you please confirm a few things for me
>
> 1 - What version did you have it working on?
> 2 - Can I test with mame only, ie no front end and if so what dir do I put the files
> in
> 3 - As in your post if I rename it from bezel.lay - default.lay (I assume I also edit
> the first line to reflect the same) ?
>
> Thankyou again...



Well... I just used regular ol' command-line mame, using default setup.

I'm wondering if it could be a GameEX issue... might want to try over at their board; Tom's usually pretty helpful. Plus, if I remember right, the FE has an option to select a PNG file to be the default for all vertical games; a separate feature unique to his FE. Might save you some trouble.

#3... the previous attached file should work for any game; just change the name of the ZIP file to the name of the rom you want to use, and it would work. (And, you don't need to change the first line in the LAY file; it's just a comment line for reference; doesn't affect the code).




RELAX and just have fun. Remember, it's all about the games.




Venomouse
MAME Fan
Reged: 09/06/12
Posts: 33
Send PM


Re: Setting global Bezel - mame 146 new [Re: Mr. Do]
#295219 - 09/07/12 07:09 AM


excellent I'll give it a shot tonight (Gammex guys got stumped and sent me here

Cheers

Edit* Working when I use mame alone, will fire the other one up to test, but Default.lay isnt working, only If I name same as the rom.

Gunna be a long night

also confirmed working with mame as stand alone... gameex (shakes fist*). Thanks again.

Edited by Venomouse (09/07/12 11:15 AM)


Pages: 1

MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 75 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9041