Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: iOtero on August 15, 2018, 04:08:04 PM

Title: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on August 15, 2018, 04:08:04 PM
iojukebox Theme, a JukeBox for Attract-Mode.

I'm having a lot of problems with YouTube because of copyright problems of the music that sounds in the videos that I upload of this theme, so from now on I will limit myself to the still images.
If some video disappears, I will not be able to upload it again, but it's not my thing it's Youtube and the copyrights


Version 09/2018

Updated: 09/01/2018
The number of background videos is increased to 16.
The graphic files of the wallpapers are removed. They are changed by color schemes, increasing to 16 options.


This jukebox is based on the jukebox-pzin of comrade JosepZin.
Without his work, this theme would never have seen the light. Thanks friend.


Here you can see it running.
I've uploaded it to vimeo, because youtube put obstacles:
https://vimeo.com/285125523 (https://vimeo.com/285125523)

And this video is demonstrative of the Random function, which i forgot to include in the previous one:
https://www.youtube.com/watch?v=v4bO7VJgnzE (https://www.youtube.com/watch?v=v4bO7VJgnzE)


And another with the last option that i have added, the background videos:
https://vimeo.com/286896131 (https://vimeo.com/286896131)

Screenshots:
(http://i66.tinypic.com/34ise1c.jpg)
(http://i68.tinypic.com/16gbk0g.jpg)
(http://i64.tinypic.com/29mwva8.jpg)
(http://i65.tinypic.com/2wc2kh4.jpg)
(http://i65.tinypic.com/2dqvbl.jpg)

Some important details:

INSTRUCTIONS:

SYSTEM:
   
In Attract-Mode create a new "JukeBox" system where you have the rest of the systems, and create the folder where they will go roms (*.m3u) and wheels (*.jpg).
As an example, in these instructions, the path would be "E:\arcade\systems\jukebox\"

In the folder "\Emulators\" inside Attract-Mode, create a JukeBox.cfg like this:

Code: [Select]
# Generated by Attract-Mode v2.4.0
#
# executable         E:\arcade\systems\jukebox\JukeBox.exe
# args               "[romfilename]"
rompath              E:\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     E:\arcade\systems\jukebox\flyer
artwork    marquee   E:\arcade\systems\jukebox\marquee
artwork    snap      E:\arcade\systems\jukebox\snap
artwork    wheel     E:\arcade\systems\jukebox\wheel
   
Or this, if you use relative paths:

Code: [Select]
# Generated by Attract-Mode v2.3.0
#
# executable           ..\..\arcade\systems\jukebox\JukeBox.exe
# args                 "[romfilename]"
rompath              ..\..\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     ..\..\arcade\systems\jukebox\flyer
artwork    marquee   ..\..\arcade\systems\jukebox\marquee
artwork    snap      ..\..\arcade\systems\jukebox\snap
artwork    wheel     ..\..\arcade\systems\jukebox\wheel

Since this layout does not use any external program, "executable" and "args" are not necessary, so they are commented with #.

ESSENTIAL FORMATS:

This JukeBox does not use tags of any kind, it only uses the names of folders and files.

For the system to work correctly:


GENERATION OF LISTS:

The file "create_lists.cmd" serves to generate the lists with the music: create the m3u (roms) the wheels (* .jpg) and the romlist. No need to generate anything with Attract-Mode.

Before executing "create_lists.cmd", edit it and modify the paths you are going to use:

Example:


KEY ASSIGNMENT:

Assign these keys in Attract-Mode:


The keys to be used appear in the on-screen help when pressing the H key and are the following:


As you can see, you can easily change this key assignment. Of course, the help, unless you edit the layout code, will not be usable.

And if after all this long and heavy story that i have told you, you are still interested, you can download it here:

https://mega.nz/#!blVyVKrJ!wSxM2YyYBKYdKojieBNIe9TIfrEtUyPb1ZWS0x32Ti0 (https://mega.nz/#!blVyVKrJ!wSxM2YyYBKYdKojieBNIe9TIfrEtUyPb1ZWS0x32Ti0)  -- Updated 09/01/2018

Now you can use accents, á, é, ñ and other unicode characters in iojukebox.

Before I did not read the album covers with accents, for example.

After a month of communicating the AM bug, Mickelson has modified the code correcting the bug he had when dealing with UNICODE.

To be able to use the new code you have to download the latest unofficial version, but it works in windows perfectly, from here:

http://forum.attractmode.org/index.php?topic=2324.0

In linux and mac you have to compile yourself.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: jedione on August 15, 2018, 05:35:19 PM
abought time!    this is great to see......

AM,,,  is capable of moore...

thanks for the details on set up..... :)
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: toothlessgrinn on August 17, 2018, 09:59:44 AM
RIGHT ON!!!! can this play in background while playing games by anychance?? id love tohelp with some layouts lmao... but i cant seem to get the editor to work for me.. but im totally in on this project!! this is whythe worlds need programers! the possabilities are endless... sorry but im a hardware guy. ive never been able to deal with code. so my hatsoff to all of you guys who make this fe the best!!
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on August 18, 2018, 05:51:38 AM
can this play in background while playing games by anychance?

I would love for that option to be available, but I have not been able to get it yet. Sorry.  :-[
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on August 18, 2018, 09:56:43 AM
Uploaded new version with the modules not included by default in attract mode.

https://mega.nz/#!u9k1ALiB!h4u2pHd0rczkfg9JZS2Od0ltFmwz4koM7uc0E4BGeIw (https://mega.nz/#!u9k1ALiB!h4u2pHd0rczkfg9JZS2Od0ltFmwz4koM7uc0E4BGeIw)

Added also to first post.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on August 22, 2018, 11:30:26 AM
Updated on first post: Now you do not need to use any Attract-Mode module, the ones you need already have them incorporated.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: toothlessgrinn on August 29, 2018, 10:21:06 AM
maybe a stupid question but this will play music videos too right?? im assuming its all in what you tell it to look for ..or do you need a player associated with it as well?
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on August 29, 2018, 12:58:54 PM
You do not need any special player, it only plays with the squirrel's own code and of course you can play videos, you just have to modify the batch to find them. But it is a subject that I have not considered yet.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on September 01, 2018, 03:06:55 AM
Update 09/01/2018:

The number of background videos is increased to 16.
The graphic files of the backgrounds are removed. They are changed by color schemes, increasing to 16 options.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: taelonian on September 01, 2018, 05:58:22 AM
Gracias / Thanks  ;)
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: kent79 on September 01, 2018, 08:55:36 PM
Great. Thank you  :)
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on October 02, 2018, 03:05:28 AM
Now you can use accents, á, é, ñ and other unicode characters in iojukebox.

Before I did not read the album covers with accents, for example.

After a month of communicating the AM bug, Mickelson has modified the code correcting the bug he had when dealing with UNICODE.

To be able to use the new code you have to download the latest unofficial version, but it works in windows perfectly, from here:

http://forum.attractmode.org/index.php?topic=2324.0

In linux and mac you have to compile yourself.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: kent79 on October 02, 2018, 03:18:04 AM
@ iOtero

Great, I also find a Unicode issue and hop it can fix it on next AM issue.  :)
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on October 02, 2018, 09:07:08 AM
Happiness is never absolute.

The unicode problem persist.

Now he does read the graphics, but he does not read the text files:

I've already reported it in the thread of bugs.

Log:

Code: [Select]
Attract-Mode v2.4.1 (Windows, SFML 2.4 +SWF)
avcodec 57.89.100 / avformat 57.71.100 / swscale 4.6.100 / avutil 55.58.100 / swresample 2.7.100

Config: E:\arcade\attract juke\attract.cfg

*** Initializing display: 'JukeBox'
 - Loaded master romlist 'JukeBox' in 21 ms (2045 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (4090 comparisons)
Loading TXT: E:\arcade\attract juke\emulators\Jukebox.cfg
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/10CC - The Complete Hit Album - 1985.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/5000 Volts - 5000 Volts - 1979.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gold - 1992.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gracias Por La Música - 1979.m3u
Error opening file for reading: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Gracias Por La Música - 1979.m3u: cannot open file
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABBA - Oro ~ Grandes Exitos - 1999.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ABC - The Ultimate Collection - 2004.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - Highway To Hell - 1979.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - Let There Be Rock - 1977.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/ACDC - The Very Best Of ACDC - 2010.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adamo - Lo Mejor De Adamo - 2002.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adamo - Los Hits de Adamo En Castellano - 1969.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - 19 - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - 21 - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Chasing Pavements - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Cold Shoulder - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Hometown Glory - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Make You Feel My Love - 2008.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Rolling In The Deep - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Adele - Skyfall - 2012.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aerosmith - Nine Lives - 1997.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aerosmith - Tough Love ~ Best Of The Ballads - 2011.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Aida Cuevas - Totalmente Juan Gabriel - 2013.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Air Supply - Forever Love ~ 36 Greatest Hits 1980~2001 - 2003.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Bano - Al Bano En Español - 1987.m3u
Error opening file for reading: E:\arcade\sistemas\pinballs\jukebox\roms/Al Bano - Al Bano En Español - 1987.m3u: cannot open file
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Green - Greatest Hits - 1995.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Stewart - Time Passages (Remastered) - 1978.m3u
Loading TXT: E:\arcade\sistemas\pinballs\jukebox\roms/Al Stewart - Time Passages - 1978.m3u
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: mturilli on November 02, 2018, 01:34:21 PM
Como hago para que funcione en el attract mode de Retropie en Raspberry Pi?
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on November 03, 2018, 09:09:38 AM
Como hago para que funcione en el attract mode de Retropie en Raspberry Pi?

No se puede, lo siento. No tengo pi y no sé cómo funciona su sistema de archivos, así que lo siento, no puedo ayudarte.

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

How do i make it work in the attract mode of Retropie in Raspberry Pi?

You can not, i'm sorry. I do not have pi and i do not know how your file system works, so i'm sorry, i can not help you.
Title: Re: iojukebox Theme, a JukeBox for Attract-Mode.
Post by: iOtero on May 23, 2019, 01:22:25 AM
Finally I bought a Raspberry Pi 3B + and I'm working on a version of this theme for the pi, although I have many problems in the lists generation, when I have something moderately functional and I'll let you know.