Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Awesome work guys :) I will give it a shot when I get home....I do recall at one stage getting the bezel fillscreen but the game shifted to the left for some reason...

Will post results once I get it sorted.

Posted

started mucking around last night and ran into the wierd lines issue,

I ended up taking a screenshot, then opening in photoshop (yep, 1920 x 1080 confirmed).

Edited, exported and png etc and went to test.

After much googles, I found a thread stating that mame doesnt like some of the photoshop exports...(I would say its anything over 1024 x 768 as a png) And will display these wierd lines.... still closer to the finish line....gotta grab paint shop pro (as its supposed to sort this out......)

stay tuned :)

Posted

You should be able to use GIMP or Photoshop to save in whatever format is needed. I would download GIMP, load the image, then save it again.

Posted

Ok, so after taking a screenshot of the screen I was able to determine the actuals creen size for the game etc.

Still just cant seem to get it working :(

Monitor size is 1920 x 1080

Game screen size (for this particular game) is 811 x 1080

Bezel is 1920 x 1080.

Sometimes the view isnt even showing under the video options...

Im almost there....I can smell it....or perhaps its me...

anyways.... save the remaning hair on my head :)

also tried multiple programs to save the png and similar issues at times. (lines instead of an image) (gimp. psp and photoshop)



<!-- bezel.lay -->

<mamelayout version="2">
<element name="bezel">
<image file="mame.png" />
</element>

<view name="Bezel artwork">
<screen index="0">
<bounds x="811" y="1080" width="1920" height="1080" />
</screen>
<bezel element="bezel">
<bounds x="*" y="*" width="*" height="*" />
</bezel>
</view>
</mamelayout>

Posted

Link #2 (Effective with MAME 0.140, this method doesn't work. Still trying to figure out how to fix it). doh

Link #3 Winner , winner chicken dinner.

I messed around with the Twin eagle bevel and changed to code to the below



<!-- bezel.lay -->

<mamelayout version="2">
<element name="wbezel">
<image file="mame.png" />
</element>

<view name="Widescreen 16:9 Artwork">
<bezel element="wbezel">
<bounds left="0" top="0" right="2833" bottom="1600" />
</bezel>
<screen index="0">
<bounds left="817.25" top="1" right="2015.75" bottom="1599" />
</screen>
</view>

</mamelayout>

The bezel image is 2833 x 1600.

EDIT works with original artwork (attached) as I want it to display, no matter what png settings I use being psp, gimp or paintshop, it wont read the custom png...

post-10087-0-23780400-1346824021_thumb.p

changed to rgb 8 bit as this image is, cant seem to get anything near the same file size, (im usually 1.4 - 4mb) thinking that could be the issue?

EDIT EDIT# made a png with one single color which reduced the files size and it worked.... now for the fun part....

heres what I want....

post-10087-0-03934900-1346834447_thumb.p

Tried all matter of compression etc to get it down...no luck as yet... even tried yahoo smushit

I think giving it a cartoon filter would bring it down and I could live with that, unless anyone else has some idea on file size reduction?

ideas?>

Posted

i think you messed up the names in the .Lay file of GameEx. The original artwork, works only for that particular game and get its info from the .Lay file. in no way i would change the names in the .lay file from GameEx, as we both dont know which influence this can have.

So if you got only Lines over the screen and no bezel, i would bet that GameEx can not find your Custom-image. i dont think it has something to do with the image itself or the size, as there are original artwork that is huge in size (pixels and filesize).

i hope you backup-ed your GameEx .lay file, if not here is the code from GameEx:

<!-- bezel.lay -->

<mamelayout version="2">

<element name="bezel">

<image file="mame.png" />

</element>

<view name="Bezel Artwork">

<screen index="0">

<bounds left="140" top="0" right="500" bottom="480" />

</screen>

<bezel element="bezel">

<bounds left="0" top="0" right="640" bottom="480" />

</bezel>

</view>

</mamelayout>

<!--

- Artwork type: Bezel

- Homebrew bezel by Tom Speirs

- Lay file by Mr. Do

-->

my provided links leads you directly to Mr. Do, who is not only the MAME-chief when it comes to the original artwork for MAME, he also wrote the .Lay file for GameEx.

you could write him a e-mail regarding a brief explanation for the .lay file, as i too have no clue how this file exactly works, or you stick with MAME 0.140 ;)

Posted

Excellent, I shall go forth and report back,

Not sure if I mentioned my reasoning re files...(and I've changed my mind back and forth, which probably doesnt help)

Status so far and plan

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

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

<!-- bezel.lay -->

<mamelayout
version
=
"2"
>
<element
name
=
"wbezel"
>
<image
file
=
"mame.png"
/>
</element>
<view
name
=
"Widescreen 16:9 Artwork"
>
<bezel
element
=
"wbezel"
>
<bounds
left
=
"0"
top
=
"0"
right
=
"2833"
bottom
=
"1600"
/>
</bezel>
<screen
index
=
"0"
>
<bounds
left
=
"817.25"
top
=
"1"
right
=
"2015.75"
bottom
=
"1599"
/>
</screen>
</view>

</mamelayout>

And using the file

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 file was approx 4mb 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
:)

Anyways, hopefully mr Do can sort me out and I shall report back...

Again thankyou for all the help

V
Posted

the first link i provided in post# 30, leads to MAMEWorlds section of MAME-artwork.

the second post on that page, is Mr. Do :) under his avatar, you just need to click "Send PM", its easy like that.

his last post was on august 18th 2012, so chances are good. give it a try.

Posted

Ended up going manually and naming the lay files and zip as per each individual game (in the mame artwork folders). Never got a global to work with larger png files.

Here is an example of what works thanks for the confirmation from Mr Do 295167-tempest.zip

So got it all working when not using the gameex front end, as soon as I launch with gameex either no bezels or diagonal lines. (I have also removed and files in the bezel dirs for gameex to confirm theres no conflict.)

Gah :)

Slowly getting there....

Next step?

Perhaps If I manually set the artwork path in mame.ini? *** nope didnt help.

gah. ideas?

Posted

bump^,

Im sure this has something to do with image size.

As mentioned current status

Works with mame as standalone (artwork named seperately for each game)

Gamex gives diagonal white stripes or nothing at all (with no view option available from the mame menu)

Ok issue lies with 99% my settings 1% Gameex (tested with another front end and issues not replicated)

Here is my gameex.ini and mame.ini, hopefully you can see where ive got some small setting thats causing it :(

GameEx.ini

mame.ini

Posted (edited)

installed latest version of gamex and its working.. horrah... the artwork default is actually 640 x 480.. could be size restrictions etc,

oh well looks like its all good now, I'll test when home and confirm

CONFIRMED :)

Edited by Draco1962
This thread is now closed. If the problem re-occurs, please start a new thread.
Guest
This topic is now closed to further replies.
×
×
  • Create New...