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: Emulator logo in layout  (Read 3356 times)

0 Members and 1 Guest are viewing this topic.

mr_doles

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 236
  • Last login:November 13, 2014, 06:53:45 pm
  • nuff said
Emulator logo in layout
« on: November 25, 2008, 09:40:28 am »
I am working on making a MaLa layout and I am stuck on one picture.  I want to have one layout that handles all of the emulators.  Everything works great except one thing.  I want to have the logo of the emulator displayed.  I played around with the custom and definable objects but they are ROM based and [I think] only work on MAME and not other emulators.

Basically when you moved to Atari screen the Atari logo (either stella.png, Atari.png, logo.png, whatever it needs to be named) will show up on the layout.  The reason I want to do this is to save having to do the same layout over and over again just with different logos.

Is this possible?   ???

shock_

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:January 30, 2020, 06:23:29 pm
  • In Brisbane, it's GMT+10 all the time.
Re: Emulator logo in layout
« Reply #1 on: November 25, 2008, 03:50:10 pm »
I don't think you can.  I just made one layout and rendered a swag of different background images, then changed them one at a time in MaLa Layout, saving a copy of the layout each time with the emulator's name.  It shouldn't take more than a few minutes, and then it's done.

Definables for non-MAME emulators I think is coming in a later release of MaLa though, not sure?

mr_doles

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 236
  • Last login:November 13, 2014, 06:53:45 pm
  • nuff said
Re: Emulator logo in layout
« Reply #2 on: November 26, 2008, 02:49:59 pm »
Well it is good to know I am not crazy.
One of the reasons I liked one layout was switching between emulators was smooth, ie it did not have to fade out and back in with a new background.
I think that a ROM based variable and an emulator based variable would be a good addition in the future.  Till then, back to photoshop to crank out more layouts.

shock_

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:January 30, 2020, 06:23:29 pm
  • In Brisbane, it's GMT+10 all the time.
Re: Emulator logo in layout
« Reply #3 on: November 26, 2008, 03:33:57 pm »
... just turn off the fades, and it's instant!

Options » GUI » Display » Fades...

At least that is my experience on my cab with the most recent stable build of MaLa (1.05) running on an Athlon XP 2500+

mr_doles

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 236
  • Last login:November 13, 2014, 06:53:45 pm
  • nuff said
Re: Emulator logo in layout
« Reply #4 on: November 26, 2008, 11:16:19 pm »
I did that but it is not quite instant.  When I move left or right to switch emulators it takes ~4 seconds before switching, at least fade let me know it was doing something.  Now this machine is not blazing fast (it is my test machine) but I do not have my main machine built yet.  When I get a faster machine setup I will leave fade off and see how it goes.

Do you think the resolution makes it slower.  In one of the tutorials on the wiki it said to build it at a high resolution as you can scale down cleanly.  My png file is 1600x1200

Macarro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 29, 2021, 06:50:38 pm
Re: Emulator logo in layout
« Reply #5 on: April 28, 2011, 05:26:24 am »
Subscribing.

It would be great if we could use emulator based images in our layouts.

Regards.

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: Emulator logo in layout
« Reply #6 on: April 30, 2011, 12:46:12 pm »
I encountered the same problem. What I did to get around it was to create a definable that referenced the rom name on the layout.
Then made a folder and copied the relevant logo and copied it for the amount of games I had for that particular emulator. Then renamed each copy to each rom name. Then repeated the process for other emulators     (I know I know, laborious    ...     but it works!)

Also I have a select few games on each emulator so didnt take that long.

Play around with the fades and its instantaneous. Works a treat!! One layout with changing emulator logos.

Hope that made sense and helps some1, easy

Macarro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 29, 2021, 06:50:38 pm
Re: Emulator logo in layout
« Reply #7 on: April 30, 2011, 01:18:24 pm »
Thanks, thatgammon, this workaround seems to be very acceptable.

The renaming process shouldn't be too difficult to automate since I've build some small scripts to deal with emulator rom databases.

Regards.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Emulator logo in layout
« Reply #8 on: April 30, 2011, 02:48:38 pm »
You might also use a BAT file and grep to copy your main Layout file, and just Grep/replace the image name keys in the file as you copy them.

If I'm understanding things right, you're just looking for an image to swap out based on the active emulator?

Would it be ok if the image swapped out was positions via, say, user definable 1-4 or something like that?

That should be a pretty easy little plugin for Engine18. And I like easy ones  :)

Macarro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 29, 2021, 06:50:38 pm
Re: Emulator logo in layout
« Reply #9 on: May 01, 2011, 05:41:42 am »
Yes, you are right, drventure, it can also be done this way and you save some MB compared with the ROM related image.

I don't have much experience with MALA and I'm not sure about what options do we have when creating a layout, user definable image seems to be perfect for this issue. If you can do it through a plugin you'll avoid the need for multiple layouts.

Regards