Author Topic: At-The-Arcade Multi-Cab [Release] - Updated 20 February 2021  (Read 14624 times)

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Relased]
« Reply #45 on: February 03, 2021, 02:31:38 AM »

That said... Yaron, do you have any interest in looking into the horizontal bezel thing? Or would you want me to? Or does your latest version handle horizontal bezels already? I haven't had a chance to look


Take a shot at it if you want, for now I need to concentrate on real world things :)

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: At-The-Arcade Multi-Cab [Released]
« Reply #46 on: February 03, 2021, 09:37:28 AM »
 
Quote
now I need to concentrate on real world things

Terrible.

I'll take a look later tonight.

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #47 on: February 06, 2021, 01:15:04 PM »
Update 5

Added basic music player capabilities: play loop song, play loop list, play random, next song, previous song. This is fun!

Demo:
https://youtu.be/e-RsmZwloyA

Download from original post:
http://forum.attractmode.org/index.php?topic=3874.msg26957#msg26957




« Last Edit: February 09, 2021, 12:21:06 AM by Yaron2019 »

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: At-The-Arcade Multi-Cab [Released]
« Reply #48 on: February 06, 2021, 09:18:09 PM »
I worked on making a mame artwork class. Almost done. Maybe I'll be done tonight or tomorrow. I'd like to add the colored blocks as well as bezels. We will see if I have the patience

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #49 on: February 07, 2021, 02:16:29 AM »
Re-released, fixed a bug where the default background did not show + some code cleaning.
« Last Edit: February 07, 2021, 02:29:48 AM by Yaron2019 »

manzarek

  • Sr. Member
  • ****
  • Posts: 131
    • View Profile
    • phpbb3world
Re: At-The-Arcade Multi-Cab [Released]
« Reply #50 on: February 07, 2021, 10:35:14 AM »
Re-released, fixed a bug where the default background did not show + some code cleaning.
so to update just overwrite all files?
Mame Fighting

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #51 on: February 08, 2021, 01:07:35 AM »
Re-released, fixed a bug where the default background did not show + some code cleaning.
so to update just overwrite all files?

To make sure it works, delete the At-The-Arcade Multi-Cab folder in the layouts folder, then copy the new one.

tsaylor

  • Full Member
  • ***
  • Posts: 35
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #52 on: February 09, 2021, 08:37:31 AM »
The new music settings are really great! Feature request: I'd like if there were a setting for the music location, so that we could point to some other common directory. And maybe a startup delay setting for the music (as I already play some audio when starting up AttractMode, so the two are overlapped currently).

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #53 on: February 12, 2021, 11:50:40 PM »
The new music settings are really great! Feature request: I'd like if there were a setting for the music location, so that we could point to some other common directory. And maybe a startup delay setting for the music (as I already play some audio when starting up AttractMode, so the two are overlapped currently).

Interesting that you mention it as I was thinking about the same feature path wise.
As to the second requested feature, you can just add an empty\silent .mp3 file with the length you need and make sure it is first in the alphabetical order.
Adding this feature will complicate my code so I will not do it.
Added.
« Last Edit: February 14, 2021, 11:06:45 AM by Yaron2019 »

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Released]
« Reply #54 on: February 12, 2021, 11:54:11 PM »
Update:
+ Added ability to direct the layout to an external music folder
+ Added code checks to make sure no errors are thrown when music folders are empty or do not exist at all

Download from original post:
http://forum.attractmode.org/index.php?topic=3874.msg26957#msg26957


Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Release] - Updated 14 February 2021
« Reply #55 on: February 14, 2021, 09:48:27 AM »
Update 14/2/2021:
+ Added ability to delay the start of music playing (requested by tsaylor)
+ I think I finally fixed the issue with the pulsing wheel animation while in loop mode!
+ changed layout folder name to layouts (massive improvement requested by smithis)

This concludes my current efforts regarding music playback.

Download from original post:
http://forum.attractmode.org/index.php?topic=3874.msg26957#msg26957

tsaylor

  • Full Member
  • ***
  • Posts: 35
    • View Profile
Re: At-The-Arcade Multi-Cab [Release] - Updated 14 February 2021
« Reply #56 on: February 14, 2021, 10:38:54 PM »
Thanks Yaron for your work and even taking requests! For me the delay would only need to be on initial startup, not when switching layouts, but I'm not sure if the layout code would even know the difference. Probably it should just be an AttractMode feature rather than a layout feature. But anyway it is all working well.

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Release] - Updated 14 February 2021
« Reply #57 on: February 14, 2021, 11:24:41 PM »
Thanks Yaron for your work and even taking requests! For me the delay would only need to be on initial startup, not when switching layouts, but I'm not sure if the layout code would even know the difference. Probably it should just be an AttractMode feature rather than a layout feature. But anyway it is all working well.

You are welcome, it's my pleasure to give to the community what I can  :)

The code delays the music playback only before the first song. What I have noticed is that if you load AM with the main menu as the default screen, what it actually does is first load the current system the main menu points at and only then loads the main menu on top of it. This explains why I suddenly noticed a split second of the music being played when I launch AM - which was unacceptable. It then connected in my mind to your feature request. So a change to the code was actually needed to solve this.

If you still have the song play in the wrong time, go into the Multi-Cab layout options and set the "Music delay" option to whatever time you need (it's in milliseconds). it can be from 0 up to 300,000 (5 minutes).
« Last Edit: February 14, 2021, 11:43:44 PM by Yaron2019 »

Yaron2019

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: At-The-Arcade Multi-Cab [Release] - Updated 15 February 2021
« Reply #58 on: February 15, 2021, 09:30:42 AM »
Oops, found a small bug in the music playback code where it would throw a console error if 'Enable ambient sound' was set to No.
re-uploaded.

Download from original post:
http://forum.attractmode.org/index.php?topic=3874.msg26957#msg26957


manzarek

  • Sr. Member
  • ****
  • Posts: 131
    • View Profile
    • phpbb3world
Re: At-The-Arcade Multi-Cab [Release] - Updated 15 February 2021
« Reply #59 on: February 16, 2021, 06:30:51 AM »
correct me if I'm wrong the search method works the default one?, I don't see the one with the letters?
Mame Fighting