Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

New App!...Hyper Bezel II


Recommended Posts

Posted

Introducing....

|Hyper Bezel II|Back from the Ashes-(beta)

for Mame and Mame Based Derivatives!

Changes...

-Hyper Bezel II, HAS MOVED to EmuMovies FTP \upload here\chillinwater\Hyper Bezel II\

-set path to mame instead of Hyperspin folder. (See Below)

-Now supports more Frontends

------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

I always really, Really hated those |Black Bars| on the sides of Mame's vertical games.

and while you could add artwork to mame to remove them, they never were that satisfactory.

Better than Nothin....sometimes!

Before Mame 140 you had to compile a special version of Mame for it to display generic bezels automatically (for the most part)

You may not have known but this functionality was removed...broken in Mame at about version 140 when "hlsl" was introduced.

http://www.mameworld.info/mrdo/mame_artwork_generic.php

|Black Bars|...Begone!!!

This little app allows you to use "Generic" bezels in Mame once again!!!

Well So What!?!

This has been hacked before!!!

This is true but it was a manual and laborious process.

One by one, one rom at a time. Yes it could be done manually.

http://forum.arcadecontrols.com/index.php/topic,88151.0.html

But No Manual Labor Anymore!!!

They also display BETTER than Mr. Do's Artwork!

No offense to Mr.Do! what he has done is incredible!

Hyper Bezel II? What happenend to the first one?

Originally un-released and Lost somwhere in a series of HD crashes and mother board failures.

I was able to piece it together in various bits but most is from memory.

Luckily it wasnt really that much of a program. lol

So now, much like Generic Bezel support in Mame,

Hyper Bezel is "Back from the Ashes"

NOW in...|Hyper Bezel II|

Supports multiple random bezels.

(so you wont get sick of the one and (only) bezel you had before!!)

A new bezel each and every time you load a game, even the same game!

(see (Tips) below to change that behavior)

Supports multiple indexing.

(so you can choose between adult lists, default bezel, widescreen or 4:3 for cabs or whatever)

Supports Horizontal Bezels.

The original Hyper Bezel and Even compiling Mame to support "generic" bezels before didnt support this!!

(If it did, My apologies!)

Wont overwrite existing Artwork!

(If you've downloaded artwork already from the Mr.Do! site, to go with your Mame romset, thats ok too!)

http://www.mameworld.info/mrdo/mame_artwork_ingame.php

Hyper Bezel II will only do its thing when there is no existing artwork.

If it does exist it will just close and Mame will display the official artwork for that game.

Ability to delete the Rom bezel folder and clean up your Mame\Artwork folder on exit of your Emu.

(This is for those that dont have alot of HD space and are concerned about using it up with these bezels)

Its really not that much space but YOU have the option!

Should work with other FE's like GameEX as a "launch before" app.

All done auto-magically!!!

(well sort of)...

------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

Makin It Happen!!!

Place the Hyper Bezel II folder anywhere on your Hyperspin drive.

(preferrably inside the Hyperspin folder, but not manditory. Same HD is a must!!!)

[note]

With a recent change where you add Your own HyperSpin path in SettingsII.ini this should no longer be an issue.

You should be able to put Hyper Bezel II "anywhere" but Ill leave the original instructions...for now!!!

Inside the Hyper Bezel folder there is a "_generic_bezel" folder

-just (drag and drop) this folder into your \mame\artwork\ -folder and you'll end up with a structure like this...

\mame\artwork\_generic_bezel\Vertical\

\mame\artwork\_generic_bezel\Horizontal\

You can leave the original \_generic_bezel\ folder in the Hyper Bezel II folder for backup but you must copy it to the mame\artwork folder.

Hyper Bezel II will copy the bezels and .lay files from those folders and place them into your mame artwork folder in a romnamed sub-folder similar to this...

mame\artwork\zaxxon\vertical.png

mame\artwork\zaxxon\zaxxon.lay

(Hint, Hint)

Inside these folders are some images for you to play with and 20+ working vertical and 3 or 4 horizontal bezels.

(I created some, for the others , I'd like to "Thank the Creators" but I dont know who they are or where I got them.)

...Admittedly not all are the high quality stuff that the HyperArtists will like and can do but hey from those small acorns!!!

There are also .png templates to create your own horizontal and vertical Bezels which are 4000x3000.png files for you to add your own artwork. (Dont cover the transparent playfield!)

And there are some .lay files for both horizontal and vertical formats that you can experiment with.

Now add your path to Mame in the settings II.ini

-as always, update the path to your path

-You MUST use the dreaded backslash "\"on the end lol

path_to_Emu=[color=#00ff00]J:\HyperSpin\Emulators\Mame[/color][color=#ff0000]\[/color]

or wherever you have Mame..exe

And Also add these lines to any "Mame Based" or Derivative Modules.

-as always, update the path to your path and make sure the Hyper Bezel II folder is at least on the same drive as Hyperspin!!!

-Add these lines just before Mame's "Run" command.

[color=#00ff00]Run, J:\HyperSpin\Hyper Bezel II\Hyper Bezel II.exe %systemname% %romname%
sleep, 500 ;if needed[/color]
Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel

Deleting the Bezels (cleaning-up) after you exit the Emu (optional)

-as always, update the path to your path

-Add this line with "kill" in the module just before "winactivate, HyperSpin" or in the "CloseProcess:" area, before "return".

(see below)

This works on my end but

Be Careful! Make backups! and test it first with the .bat

;This cleans up Your Mame Artwork Folder and removes the recently created romname Bezel folder
[color=#00ff00]Run, J:\HyperSpin\Hyper Bezel II\Hyper Bezel II.exe %systemname% %romname%[/color] [color=#ff0000]kill[/color]
winactivate, HyperSpin

or here

;Required
CloseProcess:
  ;Doesnt have to do anything but make sure to have the line before and after this line.
;This cleans up Your Mame Artwork Folder and removes the recently created romname Bezel folder
[color=#00ff00]Run, J:\HyperSpin\Hyper Bezel II\Hyper Bezel II.exe %systemname% %romname%[/color] [color=#ff0000]kill[/color]
return

Testing - (Test Me Please!)

-There is a "test.bat" file in the Hyper Bezel II folder to also allow you to test "zaxxon" by default.

-There is a "log.txt" generated each time you run Hyper Bezel II.

(So you can post it here to make troubleshooting easier.)

For best results using the "test.bat" file (outside HS), have the folder containing the bat file open and the \mame\artwork

folder open so you can run the test and you can watch the bezel change.

Somtimes the bezel wont change, thats the randomisation for ya.

What are the odds???

Voy-O-Lay!, Your ALL Done!!!

NOW, go run a game through HyperSpin!

I recommend "Zaxxon" first, it has a real bang for the buck when you first see the bezels working lol!

------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------

Other Stuff! (Explantions, Bug Reports, Tips, To Do, Begging...Lot's of Begging!!!)

Wait, What? "Mame Based Derivative's"???

This means it will also work with Cave, Capcom, Neo Geo, Fighting, Shmups, Nintendo Arcade Systems, Attack of the Clones and others!

If they are run using Mame, the bezels will work with those systems!

-If you only have one version of Mame running all those systems, then you only need to copy the \_generic_bezel\ folder once (the initial set-up) to the \mame\artwork folder.

-If they use different versions then it needs to be copied into each systems artwork folder and add the ahk script above to the approppriate system module.

I Havent tested the following but Hyper Bezel may also work with other "mame based" systems that support the displaying of artwork, in-game i.e.

psxmame, misfitmame-(HbMame), maybe more, Final Burn Alpha, WinKawaks...!

-Again follow the same installation procedure as above.

in addition...

These systems above would need to have a seperate Hyper Bezel II folder, renamed to the systemname, which would have "the complete contents of the Hyper Bezel folder" which includes...

-Hyper Bezel II.exe ,

-a new unique *vertical_roms.ini, *(with compatible romnames for those systems)

-a new unique *Horizontal_roms.ini, *(with compatible romnames for those systems)

-settings II.ini (optional, in its uniqueness) and an edit to to the path of Hyper Bezel in each system module.

This allows for each system to have its own uniqyue rom lists and settings II.ini.

The folder structure would look simialr to this...

\hyperspin\Hyper Bezel II\

\hyperspin\Hyper Bezel II\psxmame\"contents of Hyper Bezel II"

\hyperspin\Hyper Bezel II\misfitmame\"contents of Hyper Bezel II"

and so on...

(Bugs)

Special Thanks go to Rain and Djvj,

for helping to put the final puzzle pieces together.

Without them Relative paths would not be working.

-jackhammersalm found a bug where if you dont have Hyperspin installed like this

X:\Hyperspin\

and was actually installed somthing like this...

c:\program files\bullshit\bullshit\users\jack\blahblah\desktop\Hyperspin\

it wouldnt work! [fixed]

-albert reported an issue with mk, mk2 displaying vertical and not horizontal bevels.[fixed]

Thank you all for helping to find these bugs and sorry for the hassle! :D

(Tips)

Everything should be setup right out of the box so...

The lay file that you use, is now configurable in the settings.

Your not stuck with just "vertical.lay" it can be named vertical169.lay or anything you want.

makes it easier to keep track of what your doing when testing things out.

This ability to select lay files, increases the functionality and the power of the indexes.

i.e.

say you have a list of 4:3 bezels in index (1) and vertical.lay as your lay file.

and you have a list of 16x9 bezels in index (2) and vertical169.lay as your lay file.

just point to the list in the settings under the general tab and pick your list

Vertical_Index_Number=1 ;or 2 whichever!!

You can quickly plug and play (copy\paste) a different .lay file this way allowing for quicker experimentation and testing,

till you get that taylored look your cab Needs!

If you dont like a particular bezel from my ftp folder...

-Simply remove it from the Settings II.ini and adjust the playlist count, "files_In_List" and order in the settings.

(Don't leave a blank list between lines...after your lines or ok)

It wont hurt anything if it is blank, but a bezel wont be randomized and used!

[Vertical_Index_1]
Vertical_Lay_File=vertical.lay
Files_In_List=[color=#00ff00]3[/color]

1=blah.png
2="[color=#ff0000]NOT [/color]OK if left blank"
3=blahblah.png
4="[color=#00ff00]OK[/color] if left blank" because this line is not in Files_In_List=[color=#00ff00]3[/color]

If you want to add your own bezels...

-Add the .png to the Settings II.ini (name doesnt matter but it does need a name) and adjust the file count in the settings.

If you want to see a particular bezel more often than the others...

-Add it 2, 3 or 4 times etc. to the playlist and adjust the playlist count, "files_In_List" in the settings.

If you would like a particular bezel used as a single default bezel (used but not randomised) for all games....

-Put only (1) "Your Default Bezel Of Choice".png in vertical_index_2, or vertical_index_3 etc...

(2 in this example)

-adjust the playlist count, "files_In_List" to (1)

-and specify the vertical_index_Number...(1 or 2or 3) under the [General] tab

[General]
Vertical_Index_Number=[color=#ff8c00]2[/color]

[Vertical_Index_[color=#ff0000]2[/color]]
Vertical_Lay_File=vertical.lay
Files_In_List=[color=#00ff00]1[/color]
1=[color=#0000cd]"Your Default Bezel Of Choice"[/color].png

(Many more indexes are supported, just create your own)

If you like a particular bezel for a romname and dont want it to be randomised,

(keeping it the same for that game everytime you play it)...

-Zip up the contents of the mame\artwork\romname\ folder and place it in the artwork directory

(This btw wont affect or exclude that bezel from other game bezels unless you delete it from the settings or its original folder)

or

If you dont want to display them at all....

-You can disable the updating\randomisation of both Horizontal and Vertical bezels independantly in the settings II.ini

and then...

-delete the \artwork\romname folders altogether.

Distinguising games as horizontal or vertical I used Mame32FX to get the lists.

-When you select vertical on the left folder pane of Mame32fx or horizontal on the same pane you can see the list or create one (file\ save roms or games txt file).

So I would assume this is mostly official and correct.

However, there is nothing stopping you from moving a romname say ("csprint"-aka-"Championship Sprint") from the horizontal -roms.ini to the vertical-roms.ini. (I think it shows better, depending on your mame settings not HS or HBII)

If you do move roms from one list to the other...

Just be sure to carry the "," with the romname i.e. "csprint," to the other file and make sure it looks like this...

"blah,blah2,csprint,blah3,blah4"

With "," seperating each and every romname.

and not this...

"blah,blah2,,csprint,,blah3,blah4"

When your done! Save after edit!

To Do...

-May add an alternate "artwork" directory in settings for mame based derivitives to allow systems like mess (using i.e. "Vectrex") which has a different artwork directory structure. Currently the path is hard coded for Mame's structure.

-The rom_lists are based on Mame 147, I'll update soon!!

(request) For Artwork Creators, PLEASE!!! PLEASE!!!, make more Bezels!!!!

If you find this app useful...

Please add more bezels to ftp or post them here!!!

This app wont get any better without more bezels!

You can Create .lay files to display Bezels here!

Simple Bezel Layout Generator v2.3

post-4135-1428705855_thumb.jpg

post-4135-142870585504_thumb.jpg

  • Replies 167
  • Created
  • Last Reply
Posted

Holy crap, this is amazing man! Any chance to build functionality for the horizontal bezels so that we can see a little bit of the border of the bezel for these games? Right now in MAME you can either have the full bezel displayed and for horizontal games the game screen looks small or full screen and the bezel disappears completely. It would be so great if we could have an in between considering so many of us have 27 inch or larger monitors so we can sacrifice the real estate for the authentic feel of the original bezel. Don't need much of it, just a little all around, or an option to customize the size of it in the GUI. I've manually played with .lay file dimensions and what a total pain in the ass.

hyperaudiosmall.png
Posted

My mom always calls things "the cat's ass"... I guess that's close to cat's pajamas. Either way I agree!

It would be awesome if these bezels were custom per game and you put instructions / control info. Even cooler if something like this ran behind hyperspin on a widescreen monitor so the sides which would normally show the desktop instead show this custom info bezel.

Posted
Holy crap' date=' this is amazing man! Any chance to build functionality for the horizontal bezels so that we can see a little bit of the border of the bezel for these games? Right now in MAME you can either have the full bezel displayed and for horizontal games the game screen looks small or full screen and the bezel disappears completely. It would be so great if we could have an in between considering so many of us have 27 inch or larger monitors so we can sacrifice the real estate for the authentic feel of the original bezel. Don't need much of it, just a little all around, or an option to customize the size of it in the GUI. I've manually played with .lay file dimensions and what a total pain in the ass.[/quote']
My mom always calls things "the cat's ass"... I guess that's close to cat's pajamas. Either way I agree!

It would be awesome if these bezels were custom per game and you put instructions / control info. Even cooler if something like this ran behind hyperspin on a widescreen monitor so the sides which would normally show the desktop instead show this custom info bezel.

lol biting tongue on the cat references...:D

All that can be done...

but atm, the intent for this app is for generic\global vertical and horizontal bezels for games that Dont already have artwork files.

That is they are not rom specific.

You can make them rom specific by following the example on the first post in the "Tips" section.

These actually display better than Mr Do artwork, unless you modify each and every .lay file in the associated romname.zip for artwork. Tedious at best!!!

Let me add this bit...

generic\global functionality=for bezels that dont exist.

(you can make them not exist by removing them (zips) from the artwork folder then Hyper Bezel II will do its thing and create a bezel for all games).

-for global "random" functionality leave the files in the folder created by Hyper Bezel II.

-for rom specific bezels, zip-em up, and place them in the \mame\artwork folder then they arent messed with, with Hyper Bezel II

To build a bezel specific for each rom (with graphics that are actually from the game) would be very daunting because it would have to be done by hand for each rom atm.

It is already done in Mr Do's files but I am aware the dont always display nicely on anyones setup.

You could take an existing artwork from Mr. Do and remove the main bezel from the zip, resize the main background to 4000x3000 (I think) and then rezip it with the proper horizontal.lay file parameters.

To do that for each specific rom automatically say in a batch form (not .bat file)...

You would have to be able to...

-unzip Mr do's file, (ahk call to ext app i.e. winzip)

-blindly determine which graphic inside the zip to use, guessing the largest size. (ahk coding)

-re-size the graphic (ahk call ext command line graphics app)

-maybe even read and adjust the lay file which is an xml style format using know working parameters (ahk call to ext app i.e. xpath)

-re-zip everything back up along with a proper layfile template.

This would have to be an external app done outside of HS (Hope your listening emb or Rain)

Hyper Bezel II only messes with...

Vertical...

-romname.lay configured for vertical bezels which also points to

-vertical.png inside their shared folder.

Horizontal...

-romname.lay configured for horizontal bezels which also points to

-horizontal.png inside their shared folder.

This is done this way so that "generic" bezels can be randomised.

If you zipped it and put it in the \mame\artwork\ folder (Hyper Bezel II wont touch it) and it could remain the same but then it could also be...

-romname.lay which points to (after an edit from vertical.png to romname.png)

-romname.png inside their shared folder or zip.

It can be done!

And it may be alot closer than you or I think!

Posted

Really the only things you have to do is this...

To make it Happen, Just...

-Place the Hyper Bezel II folder anywhere on your Hyperspin drive.

(preferrably inside the Hyperspin folder, but not manditory. Same HD is a must!!!)

-Inside the Hyper Bezel folder there is a "_generic_bezel" folder, just (drag and drop) this folder into your \mame\artwork\ -folder and you'll end up with a structure like this...

\mame\artwork\_generic_bezel\Vertical\

\mame\artwork\_generic_bezel\Horizontal\

Now add these lines to any "Mame Based" or Derivative Modules.

-as always, update the path to your path and make sure the Hyper Bezel II folder is at least on the same drive as Hyperspin!!!

-Add just before Mame's "Run" command.

[color=#00ff00]Run, J:\HyperSpin\Hyper Bezel II\Hyper Bezel II.exe "%systemname%" "%romname%" 
sleep, 500 ;if needed[/color]
Run, %executable% %romName%, %emuPath%, Hide UseErrorLevel

Beyond that you'll have to be more specific...what did you Do?

Posted

chillinwater

It's coming back with an emupath=ERROR, emupath actual=ERROR, emupath2 actual=, The bezelpath=ERRORartwork/, Folder to create=ERRORartwork\galaga, Horizontal Roms List=, Using Index Number 1, Files in List=22, The Random number is 9, The Random Bezel=vertical9.png.

My hyperspin install is on the root of my drive, so the module is pointing directly at (in my case) E:\Hyper Bezel II\Hyper Bezel II.exe "%systemname%" "%romname%".

All thoughts appreciated :)

Posted

so lets see...

if

E:\Hyperspin

then

E:\Hyper Bezel II

should be ok.

for shits and giggles put \Hyper Bezel II\ folder in the HS folder.

Im assuming mame of course and you are using the test settings.bat?

if so those errors will also come up if there isnt an actual system.ini (mame.ini)-good (mame147.ini)-bad if it doesnt exist

in the HyperSpin\settings\ -folder

[edit]

so I had the system name at mame147 in the test.bat...change to just mame or whatever your calling it.

This would make sense, since you probably dont have a mame147.ini

I just edited the .bat on ftp so if thats the problem it shouldnt happen again for others.

but since the romname is "galaga" thats throwing me off a bit if using the test.bat cuz I think you would have seen mame147 in it.

but anyway,

let me know where you place Hyper Bezel so I can figure out a fix for it if its not working on the same drive as HS.

I have tried it on my root drive and about 3 folders deep in my Hyperspin folder and 2 folders deep on my cab for testing (inside HS folder) and its working for me.

Posted

btw galaga has artwork available, I dont know if you have it.

So once the errors are gone and if you also have the galaga artwork, Hyper Bezel wont do anything.

Try galaga88.

afaik it has no artwork, or try zaxxon once the errors are gone.

Posted

OK is it just me? Installed per directions and checked multiple times. I an running mame 148, using the 143 ahk from HL. Tested with Zaxxon and there are no changes. Within the Hyper Bezel II directory there is a new dir called ERRORartwork, inside there are directories with the names of the failed roms I tried. The directories are empty. Any ideas?

Posted

found a bug where if you dont have Hyperspin installed like this

X:\Hyperspin\

and its actually installed somthing like this...

c:\bullshit\bullshit\users\jack\blahblah\desktop\Hyperspin

its not working.

so I have to add the ability for it to find HS wherever the fuck you guys are installing shit lol

[edit]

working on it!!!

Posted

updated on ftp...give it a shot...

add your path to the settings the section is there already

path_to_HS=\

needs the backslash guys lol

re-download both

Hyper Bezel II.exe

and the

settings II.ini

Posted

Humm, DL the directed files, updated path, tested ZAXXON, still no bezel. Checked the Hyper Bezel II dir and found a empty dir tree mame\artwork\zaxxon.

No error messages recieved.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...