Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: takoni on June 11, 2019, 07:01:02 AM

Title: LAVA v1.0 Official Release.
Post by: takoni on June 11, 2019, 07:01:02 AM
Here is a video of the previous version , early state of design, i will update the video soon.
https://www.youtube.com/watch?v=6Jk6nRyxUaY&t=35s




Download the official Lava v1.0 theme from here:
https://mega.nz/#!AdFF3ApI!OM6g5N3kRDAoolsu08pXk3oTVQwCshsBuA0jcsnEaBY

For good order, if you don't have them already, you can download the random wheel sounds from here and place them at your main Attract folder in a folder named 'sounds':
https://mega.nz/#!gJs0nQ7a!q4nYNGwxIa8Mo1mPJJ5t9HGJF58vkNe13rlNoNfl708
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: bundangdon on June 11, 2019, 07:25:31 AM
Those themes look quite good! I really like how you got the clock to work in real time too  ;D Great work!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: jedione on June 11, 2019, 09:42:51 AM
when will u share your work?
looks good.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: hallwayorchard on June 18, 2019, 09:48:41 AM
Extremely excited about this.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 18, 2019, 05:24:32 PM
I CANNOT wait for this. Keep up the great work!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: keilmillerjr on June 19, 2019, 01:48:54 AM
Hello, thank you for your interest, backgrounds I copied after buying the application $ 20, but I do not know how, I received an email from MGalaxy warning me.... so... I'm waiting for the waters to calm down, maybe modify some elements of the art,... , any 3d modeller could make some room and light changes easilly ... but...

Quote from: http://www.mgalaxy.com/premium.html
mGalaxy is available as a free or ‘Premium’ version. So why upgrading to the ‘Premium’ version?

• You give support to the development of mGalaxy.

• You get access to the edition of your databases.

Your ripping off a closed source small time paid app.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 19, 2019, 02:08:01 AM
And Arcade
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 19, 2019, 02:11:19 AM
Good luck, i will wait for your works !!! any retropie Layout in great MGalaxy style based will be very very wellcome!!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 19, 2019, 08:33:19 AM
I guess I can see why they would want to email you. My thing is; if they're that worried/upset about it, why don't they offer it for the Pi?

Also, when you say without the backgrounds - do you mean the whole graphical full screen image of the TV with the clock and the posters in the background? And the whole arcade room?

Thanks again for all of the hard work!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: keilmillerjr on June 19, 2019, 03:53:18 PM
I guess I can see why they would want to email you. My thing is; if they're that worried/upset about it, why don't they offer it for the Pi?

Also, when you say without the backgrounds - do you mean the whole graphical full screen image of the TV with the clock and the posters in the background? And the whole arcade room?

Thanks again for all of the hard work!

Windows and linux are two totally different things. Attractmode happens to work on both because its based on a multi platform framework. The author already stated he wpuld have to dp a complete rewrite of mgalaxy.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 19, 2019, 04:59:14 PM
No I get that - my point was; why doesn’t mGalaxy just code it for AM? If takoni was able to write, what seams to be, about 90% of it for AM all by himself then surely a paid service can afford to port it for AM (and that’s not to minimize takoni’s great work.)

mGalaxy won’t answer anyone on their forums over the last 3 months, but they’ll go after a lone user for providing a service that they refuse to provide themselves.

Idk - just seems a little uncouth that’s all. I’m sure mGalaxy is legally within their rights - it’s just not a good look.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: jedione on June 19, 2019, 06:07:56 PM
nice to see how ya did the clock update in the theme....

3 or more years ago i put out a theme..   using their premium...  right here...no one said shit..

its back when they were even smaller...  i posted up on their fourm  ..on how to modify their themes
and they took it down....  and canceled me,   all i did was show others how to open their themes so you could dump all the grafix
witch at that time just taking the theme.what ever it was and renaming it to .RAR   ... they changed that soon after

i have a feeling this is going to surface....at some point,,,  any hoo good effort..

mater of ,, just found one of the pics from it   

(http://i63.tinypic.com/2wdy736.png)   

i should re do it but better :o
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: keilmillerjr on June 20, 2019, 01:43:13 AM
No I get that - my point was; why doesn’t mGalaxy just code it for AM? If takoni was able to write, what seams to be, about 90% of it for AM all by himself then surely a paid service can afford to port it for AM (and that’s not to minimize takoni’s great work.)

mGalaxy won’t answer anyone on their forums over the last 3 months, but they’ll go after a lone user for providing a service that they refuse to provide themselves.

Idk - just seems a little uncouth that’s all. I’m sure mGalaxy is legally within their rights - it’s just not a good look.

Attractmode is open source. Why would some one undercut themselves?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: bionictoothpick on June 20, 2019, 07:34:18 AM
This is going to be awesome!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: verion on June 20, 2019, 07:54:46 AM
@takoni
i think it is more funny to create one that will be just a copy of another person´s work.
"Funny" is not the right word. It looks more like "copyright infringement".
Especially if you are planning to copy a commercial product - it's far from "no harm done" use of some fan art, especially if the author allows it. There is no "personal use" that can justify this, as the original product "mGalaxy" is intended for personal use.
Looking for inspirations is one thing - but copying a commercial product is not a good approach.

Also, I'm sure you're underestimating both the importance of those backgrounds and the time/effort/talent that goes into creating it. If you strip the graphics from the theme like this - you'll end up only with wheel game list and a snap.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 20, 2019, 07:57:15 AM
Yeah these new images are awesome! Couple of questions:

Can the NES next to the TV be easily switched out with another console when you change systems?

Also, and this sounds a little nit picky, but could we get an image with a few less beer cans/bottles? Lol

Lastly, are you going to be working on a layout the fits with the background image you posted here? If so, I'd love to try it out.


Thanks for all of the hard work!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 20, 2019, 11:48:15 AM
@takoni
i think it is more funny to create one that will be just a copy of another person´s work.
"Funny" is not the right word. It looks more like "copyright infringement".
Especially if you are planning to copy a commercial product - it's far from "no harm done" use of some fan art, especially if the author allows it. There is no "personal use" that can justify this, as the original product "mGalaxy" is intended for personal use.
Looking for inspirations is one thing - but copying a commercial product is not a good approach.

Also, I'm sure you're underestimating both the importance of those backgrounds and the time/effort/talent that goes into creating it. If you strip the graphics from the theme like this - you'll end up only with wheel game list and a snap.

If you'll go back and read earlier posts, we've already established that we can't "copy" the original artwork of mGalaxy. I think what takoni was implying is that we can pull inspiration from the design of mGalaxy to create something new - which is EXACTLY what mGalaxy did when creating their front end. The only difference is, no one is going to charge money for it.

If taking inspiration from another project to create your own is copyright infringement, then mGalaxy is guilty of this as they were not the first to create a front end for Windows. Furthermore, they took money for it - and the right word for that is "fraud". That is, if we're going to be strict with what's infringement and what's not.

If you wanted, you could make a pretty good case for mGalaxy skirting the line of infringement and then fiscally profiting from it. The top image for a VR build *5 years ago* - the bottom image is mGalaxy's arcade theme:

https://www.roadtovr.com/newretroarcade-oculus-rift-dk2-download-arcade-virtual-reality/

Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 20, 2019, 02:27:44 PM
Sorry about my english , i wanted to say is : is more funny for me to create original one than just copy the work of another person. I think google translator is not perfect for my poor English, I don’t want to disparaging the work of nobody , sorry .
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 20, 2019, 05:05:43 PM
Sorry about my english , i wanted to say is : is more funny for me to create original one than just copy the work of another person. I think google translator is not perfect for my poor English, I don’t want to disparaging the work of nobody , sorry .

No hay un problema, amigo. Yo hablo un pocco de español y es muy dificil para mi. A si que yo entiendo.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: jedione on June 20, 2019, 06:14:27 PM
Here will be a very good option....

https://www.artstation.com/artwork/E6wP4

i think their is a bong missing... ::) too...
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 21, 2019, 09:24:45 AM
I found some good backgrounds

Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: verion on June 22, 2019, 06:53:59 AM
Sorry about my english , i wanted to say is : is more funny for me to create original one than just copy the work of another person.

Yea, no problem. :D
Now it sounds TOTALLY different and this is the best approach.

---

One piece of advice. If you want this to run flawlessly on RPi you should test your theme on RPI from day one (on actual hardware). Attract Mode themes are not that efficient - especially when using surfaces - and RPI can easily choke. You have to optimize or make some features optional to make it run on RPi.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 22, 2019, 11:37:11 PM
I’ve done just a tab bit with this image. I had the script for the clock on the VCR working and then I corrected the time on my Pi and the background image quit on me so I took out the code for that.

I’d like to have wheel art instead of text, but I can’t figure that out either. I haven’t even bothered with the time shading aspect - that’s way beyond me.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 23, 2019, 05:58:18 AM
Hi! here some work in progress with that beautifull background.

https://youtu.be/6Jk6nRyxUaY

I think, perhaps is time to close this topic, and start a new layout WIP topic ?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 23, 2019, 06:03:27 AM
Hi! here some work in progress with that beautifull background.

https://youtu.be/6Jk6nRyxUaY

I think, perhaps is time to close this topic, and start a new layout WIP topic ?

Video is not working :/
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 23, 2019, 10:53:07 AM
Sorry .... try now

https://youtu.be/6Jk6nRyxUaY
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 23, 2019, 11:09:29 AM
Nice!! I was thinking it would be great if the lava lamp were working! Do you know how to replace the game text with wheel art?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 23, 2019, 12:22:09 PM
I also think it would great if the user could pick the lava lamp color.

And I think it would be good if there was small layer over the tv that makes the corners of the snap round because the video snap corners are sharp and old TVs didn’t have sharp corners - just a thought :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 23, 2019, 01:52:54 PM
Hi ,  well it’s a work in progress , wheel can be used , clock over video recorder runs and will change background day / night , lava lamp already works , color will be an option
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 23, 2019, 02:53:12 PM
Hi ,  well it’s a work in progress , wheel can be used , clock over video recorder runs and will change background day / night , lava lamp already works , color will be an option

Thank you for all of your hard work!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 24, 2019, 10:25:38 AM
Continues with retropie AM layout
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on June 24, 2019, 10:34:47 AM
Some options
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 24, 2019, 11:25:01 AM
This looks really great! Good job!

I'm just starting to learn some of the code, but I'm not that great yet.

I notice from the first layout that the layout didn't adjust to my TV's resolution. I was wondering if this code would fix that:

local config = fe.get_config();

local flw = fe.layout.width;
local flh = fe.layout.height;

//Background
local bg = fe.add_image("bg2.jpg", 0, 0, flw, flh);


Do you think this code would be a good idea to fix that?

Last thing - and I'm just curious - but would it be hard to have an wheel option to make it either "wheel, listbox, ver_wheel"? Sort of like the Robospin layout. I'm happy either way but I personally like a vertical wheel (straight up and down) more than a spin wheel for this layout. I thought I might ask - I can't wait to try this out!!! Thank you again!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on June 28, 2019, 12:13:36 PM
Any updates or layout files by change? :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 02, 2019, 02:21:10 AM
Hi there, i am out for holidays gight now, only with iphone :( , i will be back in a week, and i will post here the layout... happy summer for all
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 07, 2019, 03:10:22 PM
Hi there, i am out for holidays gight now, only with iphone :( , i will be back in a week, and i will post here the layout... happy summer for all

Happy summer to you as well! I’m super excitedly to try this out - thank you again for your great work on this!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 15, 2019, 10:54:14 AM
Hi there, i am out for holidays gight now, only with iphone :( , i will be back in a week, and i will post here the layout... happy summer for all

Any update by chance? :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: placebo_yue on July 15, 2019, 08:35:14 PM
is there a download link for these? or it wasn't released yet?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 17, 2019, 05:57:29 AM
holidays off  ..here work in progress...remember i am not a programmer , only fight with layout´s code.

https://mega.nz/#!TUxSBC6D!mIfTiGJ8dhhQfUQiU3_mvW-7SCU3ZCuhS9wLQFB9kkY
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 17, 2019, 07:10:23 AM
Thank you so much! I can't wait to play with this!

I'm the same way, I'm not a programmer I just take code and alter it the way I like :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 17, 2019, 09:14:25 AM
Remember , still in progress , ;) everyone can modify , add ideas and code
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 17, 2019, 10:15:39 AM
Where you able to add the light/dark shader feature or is that still a work in progress?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 17, 2019, 10:50:08 AM
Problems with background, i am not able to change light for every hour.... i will need help from a good PS designer... i hope someone could help...
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 17, 2019, 12:23:02 PM
First of all, nice work! This is a sophisticated theme.

constructive comment: AM allows you to use relative paths. This will allow your theme to work on any platform the user might use.

If the object you want to use is in the lava layout folder, use 'fe.script_dir'.

Instead of: playSound("/home/pi/.attract/layouts/lava/music.mp3", true);
Use: playSound(fe.script_dir + "music.mp3", true);

If the object you want to use is outside of the lava layout folder, use 'FeConfigDirectory'
Example: local sound_name = FeConfigDirectory+"sounds/GS"+random_num+".mp3";
This will play sounds from a folder named 'sounds' which is in the main AM folder ('D:\Arcade\Attract\sounds' in my case).

I am interested in your shader work... investigating.... ;)

P.S.
kudos for using a Top-Gun track for the music background. My all time favorite movie!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: keilmillerjr on July 17, 2019, 04:35:17 PM
Even within playform, those paths would not work on my pi. Keep in mind not everyone uses retropie.

Theme is looking good. I like how this is turning inti a similar but different layout. Text list needs to be more visible.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 17, 2019, 07:26:10 PM
I've started to play with this a bit - I have a few questions/aspirations that I was hoping someone could help me with:

#1) Can I add multiple songs and have the music "shuffle" so that every time I navigate to the layout I get a different song. I'd also like to use this for the ambient music that's always playing.

#2) I have continuous ambient music in the background. This conflicts with the layout music - is there a code that stops the ambient music and plays the layout music?

#3) This sounds picky... but... how can I make a different color for the lava lamp? - I love this feature and I wanted to try blue or orange.

#4) Instead of the "static" screen for games with no snap, I wanted to add a 10-15 minutes video of a cable broadcast from say 1985 - with commercials and all - or something to this effect. Is there a way I can have a random video play instead of a static screen and instead of having the same broadcast video play every time? Like a video shuffle.


I'd appreciate any and all help with this! Right now I'm trying to add a game wheel option and I'm going off of the OlRoom wheel configurations.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 18, 2019, 12:07:40 AM
WOW! .... thanks to all for your help, questions & ideas,,,,

Yaron2019: you are a "machine code man", i dont knew that ,,,,THANKS A LOT, i am going to include in my layouts... i am rookie with all this, so thanks for your lessons, trully.

keilmillerjr: i dont know how to make this more compatible , every of you can re write , i will thank you .

asahendrix: thanks for your ideas and your intense help to me , 1, 2 questions : i dont know but Yaron2019 it has given me an idea ;)  ,question 3: well lava is a video, so i have 3 color by the moment, i dont know if it can be done with code, i dont think so... but... i can edit more videos with different colors instead.... i will edit 2 videos for you with orange & blue;) ... and question 4, i dont know how at this moment... sorry so much,

and sorry about my english , i am re studing too.

by the way... here you can see my work with raspberrys marquee and the monitor rotation... a nice work ;)

https://youtu.be/6UHoO6Lha08

cheers
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 01:35:39 AM
WOW! .... thanks to all for your help, questions & ideas,,,,

Yaron2019: you are a "machine code man", i dont knew that ,,,,THANKS A LOT, i am going to include in my layouts... i am rookie with all this, so thanks for your lessons, trully.

keilmillerjr: i dont know how to make this more compatible , every of you can re write , i will thank you .

asahendrix: thanks for your ideas and your intense help to me , 1, 2 questions : i dont know but Yaron2019 it has given me an idea ;)  ,question 3: well lava is a video, so i have 3 color by the moment, i dont know if it can be done with code, i dont think so... but... i can edit more videos with different colors instead.... i will edit 2 videos for you with orange & blue;) ... and question 4, i dont know how at this moment... sorry so much,

and sorry about my english , i am re studing too.

by the way... here you can see my work with raspberrys marquee and the monitor rotation... a nice work ;)

https://youtu.be/6UHoO6Lha08

cheers

You are welcome. I will try to help out wit what I can.

keilmillerjr is talking about the relative paths.

As to what asahendrix wants I know how to do some of it at least. It's similar code to the code I wrote to play Hyperspin-like wheel sounds.

But wait... That Arcade machine you built with the turning display!! That is some serious work hombre!!  8)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: bundangdon on July 18, 2019, 01:54:55 AM
Takoni, this is great! I've worked with similar themes but I really like the way you captured the lighting and various atmosphere-aspects of the room in your layout. I was just wondering if it's possible to share the artwork source, if it's available in .psd (photoshop)? I'd just like to edit a few things in the room, as I'm not really a fan of some of the decorations. But overall, this is extremely great work ;D
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 18, 2019, 02:22:16 AM
bundangdon: here are the PSDD file and the AFter Effects lava lamp file, but, the backgroud picture is not mine, asahendrix sugested me.

https://mega.nz/#!3JxWSCJD!WHGjVItHZYTTjpd0dEDJW4Be0YhXYxyJiyQlkugCdPY

Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 18, 2019, 02:49:10 AM
Here new version, 2 more lava lamp colors and random music with folder ... you have to set in the layuot :  local TotalSongs = "number of songs you have in the folder music" , and songs must be "1.mp3 ....2,3,4,5 etc.mp3"  ... i would like to show sound.metadata but i dont know how... cheers

https://mega.nz/#!zNAUFSbB!gwCIxo0IZSovBmp58_xs-FiaJORvMjOR-9nAzdvfpFw
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: bundangdon on July 18, 2019, 04:24:47 AM
bundangdon: here are the PSDD file and the AFter Effects lava lamp file, but, the backgroud picture is not mine, asahendrix sugested me.

https://mega.nz/#!3JxWSCJD!WHGjVItHZYTTjpd0dEDJW4Be0YhXYxyJiyQlkugCdPY

Unfortunately there wasn't much I could do with that .psd file since all of the artwork is merged together in one layer. But thank you for sharing anyways, and it definitely gives me some ideas
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 05:52:14 AM
Hombre,

I made some updates to your theme:

- Tidied up the code so it is more readable, especially indentation and removable of excessive empty spaces.

- Added numerous ";" missing at the end of code lines. There is now color emanating from the light of the game video snap on the rest of the graphics (look at the clock and boxes for example) and the TV border is not garbled.

- Replaced all static path names with relative paths.

- Added an option to play either click, random or no sounds when navigating the game list.

- Added an 'objects' folder where the click sound is.

- Added an option to play random background music. It currently supports 4 music tracks. In order to change that just added music#.mp3 files to the music folder (example: music5.mp3, music6.mp3, etc) and change the 'Playlist_length' parameter in the layout.nut script so it is equal to the number of music files. It is currently 4. This requires an optimization in which the script will automatically read the number of files in the music folder but I could not find a way to do it.

- Added a 'music' folder where the music files are and added 3 additional music files - all from Top-Gun's soundtrack!   8)

- Added an option to play a static effect video when game video snap is not found. User can replace this video (called 'static.mp4' in the lava layout folder) with any video he wants, just name it the same.

- Fixed clock font size so it fits the clock.

- Changed the boxart label from flyer to boxart. Boxarts and Flyers are not the same thing. Flyers are pamphlets (ads) not boxes...
If this creates problems, change "boxart" back to "flyer" in the box art section of the script. Example:
From:
'local artworkSombra = fe.add_artwork( "boxart", hor-28, 778, 460, 280);'
To:
'local artworkSombra = fe.add_artwork( "flyer", hor-28, 778, 460, 280);'


Download latest version from here:
http://forum.attractmode.org/index.php?topic=2950.msg21119#msg21119

Download the random list sounds from here and place them at your main Attract folder in a sounds folder:
https://mega.nz/#!gJs0nQ7a!q4nYNGwxIa8Mo1mPJJ5t9HGJF58vkNe13rlNoNfl708


Screenshot of before and after updates:
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 07:17:25 AM
Wow - so much to unpack here. For awhile it was just me and Takoni - and neither of us are coders haha although he is much better than I am.

Thank you so much for helping with the music "shuffle". And thank you for the extra lava lamp colors - I always love extra options! :)

Although it may be copious, I'm working on adding an option for a wheel, vertical wheel, list (the list Takoni has here) as well as a size option for these lists. For instance, it would be an option to select vert_wheel, and the the option to change the size from small, medium or large. This is because I like a small vertical wheel, but I'm using a 60" TV with my Pi - if I moved the Pi to a 32" TV, the small list is going to be tiny. This would also info some "if" statements - if the list size was set at medium or small, then the box art would be centered under the list in front of the NES. If the list was large (normal size) then the box art would cover part of the TV and part of a dinosaur to make room for the list. This would all involve adding an extra user config and even though "if" statements aren't completely foreign to me, I have almost no experience writing them myself. So I might be in over my head haha.

I keep hitting a snag - if I try to just copy over the wheels from OlRoom along with the user config line at the top, then the layout won't work. There must be a call back somewhere that I'm missing - thus making it a broken connection and thus voiding the layout. It's frustrating because I have all of the dimensions for the vertical wheel mapped out already. If anyone can help me out, that'd be great.

Thank you guys SO MUCH for all of the help and ideas!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 07:33:38 AM
Wow - so much to unpack here. For awhile it was just me and Takoni - and neither of us are coders haha although he is much better than I am.

Thank you so much for helping with the music "shuffle". And thank you for the extra lava lamp colors - I always love extra options! :)

Although it may be copious, I'm working on adding an option for a wheel, vertical wheel, list (the list Takoni has here) as well as a size option for these lists. For instance, it would be an option to select vert_wheel, and the the option to change the size from small, medium or large. This is because I like a small vertical wheel, but I'm using a 60" TV with my Pi - if I moved the Pi to a 32" TV, the small list is going to be tiny. This would also info some "if" statements - if the list size was set at medium or small, then the box art would be centered under the list in front of the NES. If the list was large (normal size) then the box art would cover part of the TV and part of a dinosaur to make room for the list. This would all involve adding an extra user config and even though "if" statements aren't completely foreign to me, I have almost no experience writing them myself. So I might be in over my head haha.

I keep hitting a snag - if I try to just copy over the wheels from OlRoom along with the user config line at the top, then the layout won't work. There must be a call back somewhere that I'm missing - thus making it a broken connection and thus voiding the layout. It's frustrating because I have all of the dimensions for the vertical wheel mapped out already. If anyone can help me out, that'd be great.

Thank you guys SO MUCH for all of the help and ideas!

Uncle Yaron2019 is here for the rescue!
I actually added a working wheel to lava and then removed it because I didn't want to barge into your project.
But now... YOU ASKED FOR IT!!!!!!!!!  ;D

Where are you with this coding effort?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 18, 2019, 08:36:46 AM
Yaron2019: T H A N K S S S S S S S S A LOT!!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 08:52:35 AM
Wow - so much to unpack here. For awhile it was just me and Takoni - and neither of us are coders haha although he is much better than I am.

Thank you so much for helping with the music "shuffle". And thank you for the extra lava lamp colors - I always love extra options! :)

Although it may be copious, I'm working on adding an option for a wheel, vertical wheel, list (the list Takoni has here) as well as a size option for these lists. For instance, it would be an option to select vert_wheel, and the the option to change the size from small, medium or large. This is because I like a small vertical wheel, but I'm using a 60" TV with my Pi - if I moved the Pi to a 32" TV, the small list is going to be tiny. This would also info some "if" statements - if the list size was set at medium or small, then the box art would be centered under the list in front of the NES. If the list was large (normal size) then the box art would cover part of the TV and part of a dinosaur to make room for the list. This would all involve adding an extra user config and even though "if" statements aren't completely foreign to me, I have almost no experience writing them myself. So I might be in over my head haha.

I keep hitting a snag - if I try to just copy over the wheels from OlRoom along with the user config line at the top, then the layout won't work. There must be a call back somewhere that I'm missing - thus making it a broken connection and thus voiding the layout. It's frustrating because I have all of the dimensions for the vertical wheel mapped out already. If anyone can help me out, that'd be great.

Thank you guys SO MUCH for all of the help and ideas!

Uncle Yaron2019 is here for the rescue!
I actually added a working wheel to lava and then removed it because I didn't want to barge into your project.
But now... YOU ASKED FOR IT!!!!!!!!!  ;D

Where are you with this coding effort?

Woohoo! Haha - Thank you so much! And I'd like to take credit, but this project is all Takoni. :)

Right now, all I have is all the x, y, h, w coordinates for the vertical wheel (with a wheel total of 6, that is - I'd have to map out more if someone wanted more than 6 wheel entries). I was wanting to substitute the listbox for the list that Takoni created:




Small Vertical List in far left corner:

//This enables vertical art instead of default wheel
if ( my_config["enable_list_type"] == "vert_wheel" )
{
fe.load_module( "conveyor" );
local wheel_x = [ flx*0.85, flx*0.85, -flx*1.465, flx*0.85, -flx*0.31, flx*0.85, flx*0.05, -flx*1.475, flx*0.85, flx*0.85, -flx*1.48, flx*0.85, ];
local wheel_y = [ -fly*0.22, -fly*0.105, -fly*0.2, fly*0.105, fly*0.215, -fly*0.17, fly*0.16, -fly*0.65, fly*0.72, fly*0.05, fly*0.935, fly*0.99, ];
local wheel_w = [ flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.14, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, ];
local wheel_a = [  80,  80,  80,  80,  80,  80, 255,  80,  80,  80,  80,  80, ]; //This is opacity
local wheel_h = [  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05, flh*0.084,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05, ]; //This is height, depending on the amont of wheels you select, each entry represents one wheel.
local wheel_r = [  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
local num_arts = 6;

class WheelEntry extends ConveyorSlot
{
   constructor()
   {
      base.constructor( ::fe.add_artwork( my_config["orbit_art"] ) );
   }

   function on_progress( progress, var )
   {
      local p = progress / 0.1;
      local slot = p.tointeger();
      p -= slot;
      
      slot++;

      if ( slot < 0 ) slot=0;
      if ( slot >=10 ) slot=10;

      m_obj.x = wheel_x[slot] + p * ( wheel_x[slot+1] - wheel_x[slot] );
      m_obj.y = wheel_y[slot] + p * ( wheel_y[slot+1] - wheel_y[slot] );
      m_obj.width = wheel_w[slot] + p * ( wheel_w[slot+1] - wheel_w[slot] );
      m_obj.height = wheel_h[slot] + p * ( wheel_h[slot+1] - wheel_h[slot] );
      m_obj.rotation = wheel_r[slot] + p * ( wheel_r[slot+1] - wheel_r[slot] );
      m_obj.alpha = wheel_a[slot] + p * ( wheel_a[slot+1] - wheel_a[slot] );
   }
};

local wheel_entries = [];
for ( local i=0; i<num_arts/2; i++ )
   wheel_entries.push( WheelEntry() );

local remaining = num_arts - wheel_entries.len();

// we do it this way so that the last wheelentry created is the middle one showing the current
// selection (putting it at the top of the draw order)
for ( local i=0; i<remaining; i++ )
   wheel_entries.insert( num_arts/2, WheelEntry() );

local conveyor = Conveyor();
conveyor.set_slots( wheel_entries );
conveyor.transition_ms = 0;
try { conveyor.transition_ms = my_config["transition_ms"].tointeger(); } catch ( e ) { }
}
 
***************************************************************************
//Small vertical list in top right corner
if ( my_config["enable_list_type"] == "vert_wheel" )
{
fe.load_module( "conveyor" );
local wheel_x = [ flx*0.85, flx*0.85, flx*0.85, flx*0.85, flx*0.85, flx*0.85, flx*0.83, flx*0.85, flx*0.85, flx*0.85, flx*0.85, flx*0.85, ];
local wheel_y = [ -fly*0.22, -fly*0.105, -fly*0.2, fly*0.105, fly*0.215, -fly*0.17, fly*0.16, -fly*0.65, fly*0.72, fly*0.05, fly*0.935, fly*0.99, ];
local wheel_w = [ flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.14, flw*0.09, flw*0.09, flw*0.09, flw*0.09, flw*0.09, ];
local wheel_a = [  80,  80,  80,  80,  80,  80, 255,  80,  80,  80,  80,  80, ]; //This is opacity
local wheel_h = [  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05, flh*0.084,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05,  flh*0.05, ]; //This is height, depending on the amont of wheels you select, each entry represents one wheel.
local wheel_r = [  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
local num_arts = 6;


*****************************************************************************
Full Size Vertical List on the Left:

local wheel_x = [ flx*0.78, flx*0.05, flx*0.78, -flx*0.32, flx*0.78, -flx*1.4255, flx*0.03, -flx*1.4255, flx*0.78, -flx*0.325, flx*0.78, flx*0.78, ];
  local wheel_y = [ -fly*0.22, -fly*0.105, fly*0.0, fly*0.105, fly*0.215, fly*0.325, fly*0.436, fly*0.61, fly*0.72 fly*0.83, fly*0.935, fly*0.99, ];
  local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.22, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
  local wheel_a = [  80,  80,  80,  80,  150,  150, 255,  150,  150,  80,  80,  80, ];
  local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.15,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];
  local wheel_r = [  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
local num_arts = 6;



*****************************************************************************
Full Size Vertical List on the Right:

local wheel_x = [ flx*0.78, flx*0.78, flx*0.78, flx*0.78, flx*0.78, flx*0.78, flx*0.76, flx*0.78, flx*0.78, flx*0.78, flx*0.78, flx*0.78, ];
  local wheel_y = [ -fly*0.22, -fly*0.105, fly*0.0, fly*0.105, fly*0.215, fly*0.325, fly*0.436, fly*0.61, fly*0.72 fly*0.83, fly*0.935, fly*0.99, ];
  local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.22, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
  local wheel_a = [  80,  80,  80,  80,  150,  150, 255,  150,  150,  80,  80,  80, ];
  local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.15,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];
  local wheel_r = [  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
local num_arts = 8;


*******************************************************************************************************
*******************************************************************************************************
*******************************************************************************************************

This is based off the coding from the OlRoom themes by omegaman - so all credit to him. This doesn't include my x, y, h, w coordinates for the vertical wheel:

*******************************************************************************************************
*******************************************************************************************************
*******************************************************************************************************

   </ label="Select listbox, wheel, vert_wheel", help="Select wheel art type", options="listbox, wheel, vert_wheel", order=4 /> enable_list_type="vert_wheel";

.
.
.

//listbox
if ( my_config["enable_list_type"] == "listbox" )
{
local sort_listbox = fe.add_listbox( 176, 96, 45, 202 );
sort_listbox.rows = 13;
sort_listbox.charsize = 10;
sort_listbox.set_rgb( 0, 0, 0 );
sort_listbox.format_string = "[SortValue]";
sort_listbox.bg_alpha=255;
sort_listbox.visible = false;

local listbox = fe.add_listbox(flx*0.56, fly*0.12, flw*0.41, flh*0.8 );
listbox.rows = 13;
listbox.charsize = 18;
listbox.set_rgb( 255, 255, 255 );
listbox.bg_alpha = 90;
listbox.align = Align.Left;
listbox.selbg_alpha = 90;
listbox.sel_red = 255;
listbox.sel_green = 255;
listbox.sel_blue = 0;
}

//This enables vertical art instead of default wheel
if ( my_config["enable_list_type"] == "vert_wheel" )
{
fe.load_module( "conveyor" );
local wheel_x = [ flx*0.76, flx*0.76, flx*0.76, flx*0.76, flx*0.76, flx*0.76, flx*0.71, flx*0.76, flx*0.76, flx*0.76, flx*0.76, flx*0.76, ];
local wheel_y = [ -fly*0.22, -fly*0.105, fly*0.0, fly*0.105, fly*0.215, fly*0.325, fly*0.436, fly*0.61, fly*0.72 fly*0.83, fly*0.935, fly*0.99, ];
local wheel_w = [ flw*0.14, flw*0.14, flw*0.14, flw*0.14, flw*0.14, flw*0.14, flw*0.24, flw*0.14, flw*0.14, flw*0.14, flw*0.14, flw*0.14, ];
local wheel_a = [  80,  80,  80,  80,  80,  80, 255,  80,  80,  80,  80,  80, ];
local wheel_h = [  flh*0.08,  flh*0.08,  flh*0.08,  flh*0.08,  flh*0.08,  flh*0.08, flh*0.128,  flh*0.08,  flh*0.08,  flh*0.08,  flh*0.08,  flh*0.08, ];
local wheel_r = [  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
local num_arts = 6;

class WheelEntry extends ConveyorSlot
{
   constructor()
   {
      base.constructor( ::fe.add_artwork( my_config["orbit_art"] ) );
   }

   function on_progress( progress, var )
   {
      local p = progress / 0.1;
      local slot = p.tointeger();
      p -= slot;
      
      slot++;

      if ( slot < 0 ) slot=0;
      if ( slot >=10 ) slot=10;

      m_obj.x = wheel_x[slot] + p * ( wheel_x[slot+1] - wheel_x[slot] );
      m_obj.y = wheel_y[slot] + p * ( wheel_y[slot+1] - wheel_y[slot] );
      m_obj.width = wheel_w[slot] + p * ( wheel_w[slot+1] - wheel_w[slot] );
      m_obj.height = wheel_h[slot] + p * ( wheel_h[slot+1] - wheel_h[slot] );
      m_obj.rotation = wheel_r[slot] + p * ( wheel_r[slot+1] - wheel_r[slot] );
      m_obj.alpha = wheel_a[slot] + p * ( wheel_a[slot+1] - wheel_a[slot] );
   }
};

local wheel_entries = [];
for ( local i=0; i<num_arts/2; i++ )
   wheel_entries.push( WheelEntry() );

local remaining = num_arts - wheel_entries.len();

// we do it this way so that the last wheelentry created is the middle one showing the current
// selection (putting it at the top of the draw order)
for ( local i=0; i<remaining; i++ )
   wheel_entries.insert( num_arts/2, WheelEntry() );

local conveyor = Conveyor();
conveyor.set_slots( wheel_entries );
conveyor.transition_ms = 50;
try { conveyor.transition_ms = my_config["transition_ms"].tointeger(); } catch ( e ) { }
}
 
if ( my_config["enable_list_type"] == "wheel" )
{
fe.load_module( "conveyor" );
local wheel_x = [ flx*0.80, flx*0.795, flx*0.756, flx*0.725, flx*0.70, flx*0.68, flx*0.63, flx*0.68, flx*0.70, flx*0.725, flx*0.756, flx*0.76, ];
local wheel_y = [ -fly*0.22, -fly*0.105, fly*0.0, fly*0.105, fly*0.215, fly*0.325, fly*0.436, fly*0.61, fly*0.72 fly*0.83, fly*0.935, fly*0.99, ];
local wheel_w = [ flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.28, flw*0.18, flw*0.18, flw*0.18, flw*0.18, flw*0.18, ];
local wheel_a = [  80,  80,  80,  80,  80,  80, 255,  80,  80,  80,  80,  80, ];
local wheel_h = [  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, flh*0.168,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11,  flh*0.11, ];
local wheel_r = [  30,  25,  20,  15,  10,   5,   0, -10, -15, -20, -25, -30, ];
local num_arts = 10;

class WheelEntry extends ConveyorSlot
{
   constructor()
   {
      base.constructor( ::fe.add_artwork( my_config["orbit_art"] ) );
   }

   function on_progress( progress, var )
   {
      local p = progress / 0.1;
      local slot = p.tointeger();
      p -= slot;
      
      slot++;

      if ( slot < 0 ) slot=0;
      if ( slot >=10 ) slot=10;

      m_obj.x = wheel_x[slot] + p * ( wheel_x[slot+1] - wheel_x[slot] );
      m_obj.y = wheel_y[slot] + p * ( wheel_y[slot+1] - wheel_y[slot] );
      m_obj.width = wheel_w[slot] + p * ( wheel_w[slot+1] - wheel_w[slot] );
      m_obj.height = wheel_h[slot] + p * ( wheel_h[slot+1] - wheel_h[slot] );
      m_obj.rotation = wheel_r[slot] + p * ( wheel_r[slot+1] - wheel_r[slot] );
      m_obj.alpha = wheel_a[slot] + p * ( wheel_a[slot+1] - wheel_a[slot] );
   }
};

local wheel_entries = [];
for ( local i=0; i<num_arts/2; i++ )
   wheel_entries.push( WheelEntry() );

local remaining = num_arts - wheel_entries.len();

// we do it this way so that the last wheelentry created is the middle one showing the current
// selection (putting it at the top of the draw order)
for ( local i=0; i<remaining; i++ )
wheel_entries.insert( num_arts/2, WheelEntry() );

local conveyor = Conveyor();
conveyor.set_slots( wheel_entries );
conveyor.transition_ms = 50;
try { conveyor.transition_ms = my_config["transition_ms"].tointeger(); } catch ( e ) { }
}


Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 09:03:25 AM
Yaron2019: T H A N K S S S S S S S S A LOT!!!!

My Pleasure. My coding skills are so rusty I could camouflage myself on mars but I will give you my best shot.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 09:06:23 AM

Woohoo! Haha - Thank you so much! And I'd like to take credit, but this project is all Takoni. :)

Right now, all I have is all the x, y, h, w coordinates for the vertical wheel (with a wheel total of 6, that is - I'd have to map out more if someone wanted more than 6 wheel entries). I was wanting to substitute the listbox for the list that Takoni created:


Ok. I will try to make your code work.
It will take a few days maybe.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 09:25:30 AM

Woohoo! Haha - Thank you so much! And I'd like to take credit, but this project is all Takoni. :)

Right now, all I have is all the x, y, h, w coordinates for the vertical wheel (with a wheel total of 6, that is - I'd have to map out more if someone wanted more than 6 wheel entries). I was wanting to substitute the listbox for the list that Takoni created:


Ok. I will try to make your code work.
It will take a few days maybe.

Thank you!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 01:19:21 PM
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the boxart to the top left of the TV - there is free space there and it will not block the console.


Download latest version from here:
http://forum.attractmode.org/index.php?topic=2950.msg21119#msg21119

Here are 4 screenshots of how it looks at this moment:
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 01:56:28 PM
The Boxart on the top of the TV... maybe something like this?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 01:57:35 PM
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the left dinosaur to the left side of the TV and then move the boxart to where that dino was (to the right of the TV). This way, the boxart has a free place to be presented, it will not block the console and you can even enlarge it.


Download link - add the included files to your lava layout folder:
https://mega.nz/#!FINiUQ5A!eKrhuDjuomd1d33spBujJhKIJpDSMiEeJH3r0ReGWzM

Here are 4 screenshots of how it looks at this moment:

WOW THIS IS AMAZING THANK YOU!!!!! Yeah you're right, Robospin - idk what I was thinking haha! I can't wait to tinker!

I think you're right about the dino. Honestly, I'd be okay with removing the dinosaur entirely. Either way, the upright NES games next to the TV will need to graphically edited...

@Takoni, you're good with graphics - do you think you could remove the dino or put the dino to the left of the TV and touch up the background image?

On a side note - and maybe this is a reach - but I think it would be cool, at some point, to have NES in the background changed to a SNES or an Atari 2600 or whatever the emulator is. Also, the upright games I was talking about could be games that correspond to the selected emulator. Just a thought!

Thank you again Yaron2019!!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 18, 2019, 02:04:18 PM
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the left dinosaur to the left side of the TV and then move the boxart to where that dino was (to the right of the TV). This way, the boxart has a free place to be presented, it will not block the console and you can even enlarge it.


Download link - add the included files to your lava layout folder:
https://mega.nz/#!FINiUQ5A!eKrhuDjuomd1d33spBujJhKIJpDSMiEeJH3r0ReGWzM

Here are 4 screenshots of how it looks at this moment:

WOW THIS IS AMAZING THANK YOU!!!!! Yeah you're right, Robospin - idk what I was thinking haha! I can't wait to tinker!

I think you're right about the dino. Honestly, I'd be okay with removing the dinosaur entirely. Either way, the upright NES games next to the TV will need to graphically edited...

@Takoni, you're good with graphics - do you think you could remove the dino or put the dino to the left of the TV and touch up the background image?

On a side note - and maybe this is a reach - but I think it would be cool, at some point, to have NES in the background changed to a SNES or an Atari 2600 or whatever the emulator is. Also, the upright games I was talking about could be games that correspond to the selected emulator. Just a thought!

Thank you again Yaron2019!!!!

You are welcome!
Wait, look at the box on the TV now that it is not so bright - I darkened it via the script.. It looks natural there! idk, I like it!

Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 02:44:57 PM
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the left dinosaur to the left side of the TV and then move the boxart to where that dino was (to the right of the TV). This way, the boxart has a free place to be presented, it will not block the console and you can even enlarge it.


Download link - add the included files to your lava layout folder:
https://mega.nz/#!FINiUQ5A!eKrhuDjuomd1d33spBujJhKIJpDSMiEeJH3r0ReGWzM

Here are 4 screenshots of how it looks at this moment:

WOW THIS IS AMAZING THANK YOU!!!!! Yeah you're right, Robospin - idk what I was thinking haha! I can't wait to tinker!

I think you're right about the dino. Honestly, I'd be okay with removing the dinosaur entirely. Either way, the upright NES games next to the TV will need to graphically edited...

@Takoni, you're good with graphics - do you think you could remove the dino or put the dino to the left of the TV and touch up the background image?

On a side note - and maybe this is a reach - but I think it would be cool, at some point, to have NES in the background changed to a SNES or an Atari 2600 or whatever the emulator is. Also, the upright games I was talking about could be games that correspond to the selected emulator. Just a thought!

Thank you again Yaron2019!!!!

You are welcome!
Wait, look at the box on the TV now that it is not so bright - I darkened it via the script.. It looks natural there! idk, I like it!

Yeah that does look good! Nice work!! Perhaps our problem is solved haha :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 06:14:47 PM
Well, apparently a few days have gone by  ;) and I have added the code for a wheel, vertical wheel and list. It works very well but I leave it up to you to edit it and bring it to your preference (especially the list). I did not add code to make the wheel/list bigger or smaller at this stage because I am not sure it is needed and it may require a lot of work - not sure. I left you a link to AM's listbox online help in the list section of the code - search for "Takoni" or "asahendrix" in the script. AM's listbox has a lot of options and parameters so take a look.

Also, I added a lot of options in the layout menu so check them out as well.

asahendrix - I tried using the code you posted but it kept doing weird things and I thought it will be better to just add code that I know works and not try to debug. If I am not mistaken, the wheel code you posted is from Robospin, not Ol'Room. I prefer this code as well anyway.

A visual suggestion: Maybe it will be good to move the left dinosaur to the left side of the TV and then move the boxart to where that dino was (to the right of the TV). This way, the boxart has a free place to be presented, it will not block the console and you can even enlarge it.


Download link - add the included files to your lava layout folder:
https://mega.nz/#!FINiUQ5A!eKrhuDjuomd1d33spBujJhKIJpDSMiEeJH3r0ReGWzM

Here are 4 screenshots of how it looks at this moment:

WOW THIS IS AMAZING THANK YOU!!!!! Yeah you're right, Robospin - idk what I was thinking haha! I can't wait to tinker!

I think you're right about the dino. Honestly, I'd be okay with removing the dinosaur entirely. Either way, the upright NES games next to the TV will need to graphically edited...

@Takoni, you're good with graphics - do you think you could remove the dino or put the dino to the left of the TV and touch up the background image?

On a side note - and maybe this is a reach - but I think it would be cool, at some point, to have NES in the background changed to a SNES or an Atari 2600 or whatever the emulator is. Also, the upright games I was talking about could be games that correspond to the selected emulator. Just a thought!

Thank you again Yaron2019!!!!

You are welcome!
Wait, look at the box on the TV now that it is not so bright - I darkened it via the script.. It looks natural there! idk, I like it!

I'm actually quiet pleased with this - what code did you use to do this? I can't help but notice how bright my boxart is now haha!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 18, 2019, 07:52:02 PM
So I figured out why my dimensions weren’t working - they were configured for only 6 wheels. I’m gonna work on configuring the rest so the list can be expanded. Here is a video:

https://youtu.be/1DzQmo1LS4w

PS: you can see a preview of the Atari 2600 layout that I’m working on. 🙂
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 19, 2019, 01:09:17 AM

I'm actually quiet pleased with this - what code did you use to do this? I can't help but notice how bright my boxart is now haha!

//************************************************************************
// BOXART
if ( my_config["enable_boxart"] == "Yes" )
{
   local hor=-20;

   local artworkSombra = fe.add_artwork( "boxart", hor-10, 126, 460, 320);
   artworkSombra.set_rgb (0,0,0);
   artworkSombra.preserve_aspect_ratio = true;
   artworkSombra.alpha=50;
   //
   local artworkSombra2 = fe.add_artwork( "boxart", hor-12, 126, 465, 325);
   artworkSombra2.set_rgb (0,0,0);
   artworkSombra2.preserve_aspect_ratio = true;
   artworkSombra2.alpha=30;
   //
   local artwork = FadeArt( "boxart", hor, 123, 460, 320);
   artwork.set_rgb (155,155,155);
   //artwork.trigger = TRIGGER;
   artworkSombra.trigger = Transition.EndNavigation;
   artworkSombra2.trigger = Transition.EndNavigation;
   artwork.trigger = Transition.EndNavigation;
   artwork.preserve_aspect_ratio = true;
}
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 19, 2019, 01:10:07 AM
So I figured out why my dimensions weren’t working - they were configured for only 6 wheels. I’m gonna work on configuring the rest so the list can be expanded. Here is a video:

https://youtu.be/1DzQmo1LS4w

PS: you can see a preview of the Atari 2600 layout that I’m working on. 🙂

The Atari look awesome! Who's doing the 3D art?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 19, 2019, 02:17:50 AM
Update #3!

- new TV border around the video snap: new tapa_snap.png file and location so it doesn't look out of place.
- added option for CRT Scanlines: none, light, medium and dark.
- added scanlines texture
- small adjustments to video snap location
- small adjustment for boxart brightness
- removed double video snap! (for some reason it was played twice - in the beginning of the snap section and in it's end, I removed the second one)


Download latest version from here:
http://forum.attractmode.org/index.php?topic=2950.msg21119#msg21119

Screenshot:
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 19, 2019, 02:26:48 AM
Yaron2019, asahendrix: thank you both, thank you for insisting on finishing this work, and thanks for the work the time and know-how in code, because of you this "AM Layout´s world"  is nice to be in
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 19, 2019, 06:38:59 AM
So I figured out why my dimensions weren’t working - they were configured for only 6 wheels. I’m gonna work on configuring the rest so the list can be expanded. Here is a video:

https://youtu.be/1DzQmo1LS4w

PS: you can see a preview of the Atari 2600 layout that I’m working on. 🙂

The Atari look awesome! Who's doing the 3D art?

Per Takoni, a lot of 3D art can be found at artstation.com - here is a link to the Atari art: https://www.artstation.com/artwork/lqD9k - I need to put in credit to the artists in the code.

And thank you for the updates and the boxart code! I'm so glad this project is picking up steam now! :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 19, 2019, 06:40:02 AM
Yaron2019, asahendrix: thank you both, thank you for insisting on finishing this work, and thanks for the work the time and know-how in code, because of you this "AM Layout´s world"  is nice to be in

Thank YOU for starting this wonderful project and for your excellent graphical work! I'm just trying to keep up haha
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 19, 2019, 11:08:49 AM
Yaron2019, asahendrix: thank you both, thank you for insisting on finishing this work, and thanks for the work the time and know-how in code, because of you this "AM Layout´s world"  is nice to be in

I believe in helping people who share their work with others. In my opinion this theme looks good and it's also pretty unique. I am happy to help push it through.  :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 19, 2019, 01:45:19 PM
Update #4

This one is small - I noticed that the boxart is not lighted by the game video snaps so I relocated the boxart code and placed it before the game video snap code and now everything is lighted properly. The boxart is now truly a part of the scene.

Attached is the layout script.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 21, 2019, 12:31:23 AM
Ahh excellent attention to detail! Thank you for the updates!

Update 5:
-I added the extra lava lamp options (orange, blue) in the code - the mp4 files are in this thread, just add them to the layout folder.
-I also added a small vertical wheel - I plan on adding yet another one as well that has the list further to the right.
-I changed the color of the clock to match the little VCR symbol to the left of the clock. I also omitted "Time:". Feel free to change this back, it's all under R E L O J (CLOCK). I might try to add a "Clock Color" option at some point.

I like to give the user as many options as possible without it being overbearing.

Thank you guys for all the great work! :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 22, 2019, 02:18:44 AM
With all the updates this theme is really cool , much better every time.... thanks
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 22, 2019, 04:46:06 AM
Ahh excellent attention to detail! Thank you for the updates!

Update 5:
-I added the extra lava lamp options (orange, blue) in the code - the mp4 files are in this thread, just add them to the layout folder.
-I also added a small vertical wheel - I plan on adding yet another one as well that has the list further to the right.
-I changed the color of the clock to match the little VCR symbol to the left of the clock. I also omitted "Time:". Feel free to change this back, it's all under R E L O J (CLOCK). I might try to add a "Clock Color" option at some point.

I like to give the user as many options as possible without it being overbearing.

Thank you guys for all the great work! :)

Good updates.
Do we still need the code of these sections?: 'LOGOS EMULATOR', 'ESTRELLA - AÑADE ICONO DE JUEGO YA EN FAVORITOS', ' Game name text'?

I want to stabilize the code and put us all on the same page.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 22, 2019, 07:14:34 AM
Ahh excellent attention to detail! Thank you for the updates!

Update 5:
-I added the extra lava lamp options (orange, blue) in the code - the mp4 files are in this thread, just add them to the layout folder.
-I also added a small vertical wheel - I plan on adding yet another one as well that has the list further to the right.
-I changed the color of the clock to match the little VCR symbol to the left of the clock. I also omitted "Time:". Feel free to change this back, it's all under R E L O J (CLOCK). I might try to add a "Clock Color" option at some point.

I like to give the user as many options as possible without it being overbearing.

Thank you guys for all the great work! :)

Good updates.
Do we still need the code of these sections?: 'LOGOS EMULATOR', 'ESTRELLA - AÑADE ICONO DE JUEGO YA EN FAVORITOS', ' Game name text'?

I want to stabilize the code and put us all on the same page.

That's a good question and probably one that Takoni could answer with more clarity. Personally, I think we could probably do without all of that or maybe make some of it an option like the 'LOGOS EMULATOR'.

Also, I wanted to clarify on the update I posted; I changed additional code under the clock:

"hora= format("%02d", now.hour+2 );"
to
"hora= format("%02d", now.hour );"

removing the "+2" at the end because it made my clock 2 hours faster. If someone's clock is 2 hours slow than the time zone in raspi-config has mostly likely not been configured. If the clock is 2 hours slow, then Tokyo would be the time zone to select in raspi-config. That, or I'm missing something that I'm not seeing haha I doubled check on my Pi to make sure my time zone was accurate.  :)
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 23, 2019, 12:12:17 AM
asahendrix, its very nice to see your updates... thanks
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 25, 2019, 05:11:54 AM
Update #6

I merged all our updates. You can download the full lava theme from here:
(SEE UPDATE #7 BELOW)

Here are 2 options for the favorites marker and system logo. The first one is as intended, the second one is much cleaner in my opinion but you will have to add clean system logos - like the one I added for this system. Each type of wheel has it's own add-favorite-star code at the end of it's own section and can have a star on both sides of the game logo - just add or move remarks in the code.

The code for the system logo was altered to use the display-name magic token ([DisplayName]) and not the emulator-name magic token ([Emulator]) because it is easy for the user to change the display-name on the fly without adding and removing the emulator itself from AM. It is user-friendly this way.

I also added the option to display/hide the current game info at the bottom - with or without a semi transparent black frame, with or without random text colors. You can find the code at the end of the script under "// Game Info" section.

Made a small fix for the width of the background shade of the small wheel so it looks better.

From now on, let's use this version only so we do not lose each other's work.

Cheers,
Y
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 26, 2019, 01:50:58 PM
I'm sorry... I am coding too fast for you to comment    :P

Update #7

- Background music section rewritten to play random tracks with no limit on the number of files or names in the music folder. You can now add any number of mp3 files with whatever file names.
- System logo and list size can be shown either on the bottom together with the game info or on the right side of the TV box
- Number of entries in the List wheel is now decided by the user
- All fonts changed to "Sebastian" - looks good IMO
- Everything can be turned on/off

Download lava v0.7: (SEE UPDATE #8 BELOW)

Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 27, 2019, 01:19:46 AM
Update #8

- Removed the option for changing the number of entries in the list wheel - it misaligned the favorite-stars
- New, less intrusive and cleaner wheel background image
- Various small visual tweaks
- Bumped to version 0.8

I am happy with the status of this version and will not be releasing additional ones unless I find bugs or have a new great idea to add.

It was fun!  8)

Download full lava version 0.8 here:
http://forum.attractmode.org/index.php?topic=2950.msg21141#msg21141


Screenshot of current state:
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 27, 2019, 08:01:06 AM
Update #8

- Removed the option for changing the number of entries in the list wheel - it misaligned the favorite-stars
- New, less intrusive and cleaner wheel background image
- Various small visual tweaks
- Bumped to version 0.8

I am happy with the status of this version and will not be releasing additional ones unless I find bugs or have a new great idea to add.

It was fun!  8)

Download full lava version 0.8 here:
https://mega.nz/#!cJVXWI5a!bVYlh_1-5UHtmX5WunaTGZ4m4EdZ2oFFBz8inYkuOQE

For good order, if you don't have them already, you can download the random wheel sounds from here and place them at your main Attract folder in a folder named 'sounds':
https://mega.nz/#!gJs0nQ7a!q4nYNGwxIa8Mo1mPJJ5t9HGJF58vkNe13rlNoNfl708


Screenshot of current state:

Wow - thank you so much for all of the great work!! I didn’t even think to put the system logo on the TV but it looks really good there! I have a big test in a few days that I’m cramming for - after I’ll be able to really sink my teeth back into this again :) also, the music code is really impressive!! Thank you again!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on July 27, 2019, 12:20:27 PM
Wow - thank you so much for all of the great work!! I didn’t even think to put the system logo on the TV but it looks really good there! I have a big test in a few days that I’m cramming for - after I’ll be able to really sink my teeth back into this again :) also, the music code is really impressive!! Thank you again!!!

Yeah, the music code is pretty neat IMO as well. Anyway, you're welcome.

If you already downloaded v0.8 please download it again - I found a small bug and fixed it.

Cheers
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: takoni on July 29, 2019, 06:49:38 AM
I hvae download the last version... the only thing i can say is THANKSSSSSSS
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 31, 2019, 01:24:17 PM
Wow - thank you so much for all of the great work!! I didn’t even think to put the system logo on the TV but it looks really good there! I have a big test in a few days that I’m cramming for - after I’ll be able to really sink my teeth back into this again :) also, the music code is really impressive!! Thank you again!!!

Yeah, the music code is pretty neat IMO as well. Anyway, you're welcome.

If you already downloaded v0.8 please download it again - I found a small bug and fixed it.

Cheers

I'm gonna try and dig into this tonight if my kids let me lol I think what I'll try to do to optimize it is to make as much optional as I can without it being overwhelming to the user. The idea is to give the user control.

On a separate note, I'm going to keep working on using the music code as a baseline to implement a video code that plays a random news video of that era (80s, 90s, 00s) when there is no snap (instead of the static video). The problem I'm currently running into is that even when I switch to a game that has a snap, the news video will still play. The game snap is placed over the news video, but the news video audio continues to play. I'm thinking I need an additional 'if' statement that mutes the news video audio when a game snap is present. I'm not a natural coder, so it'll take some playing around. Some people might not even care about this feature, but I'm all for nostalgia and bringing the layout to life as much as possible.

I'll use the latest update as a baseline!

I remember running into a few issues with the code; my art is in a folder called "flyer" not "boxart'. Also, the clock is 2 hours fast for me. If no one else has these issues, then I will just leave them alone.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on July 31, 2019, 06:49:22 PM
Okay, I'm finally digging in and wow... Just wow. This is amazing, Yaron! Those 'options' I was going to add, you already added and did it wonderfully!

I'll be honest, I wasn't sure about displaying the game info and game count - but I actually really like it! And even if I didn't, you made it an option to not show it!

There really isn't much left to do. I'll probably try and add code for those that have their art in a "flyers" folder rather than a "boxart" folder. I'll still tinker with that old news videos idea, but that's not crucial really.

Thank you again for EVERYTHING!!!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on August 01, 2019, 01:09:25 AM
Okay, I'm finally digging in and wow... Just wow. This is amazing, Yaron! Those 'options' I was going to add, you already added and did it wonderfully!

I'll be honest, I wasn't sure about displaying the game info and game count - but I actually really like it! And even if I didn't, you made it an option to not show it!

There really isn't much left to do. I'll probably try and add code for those that have their art in a "flyers" folder rather than a "boxart" folder. I'll still tinker with that old news videos idea, but that's not crucial really.

Thank you again for EVERYTHING!!!

Thanks asahendrix and Takoni, I appreciate your compliments and work.

Attached is a small update (v0.8.1) that includes stability fixes and a new Nintendo font.
- Added a check to insure theme doesn't stop working if music folder is empty or if it doesn't exist at all
- Added a check to limit the number of wheel entries shown between 2 (min) and 100 (max) so AM doesn't crash (trying to show a huge amount of wheel entries, or more wheel entries than there are games on the list can crash AM)
- Added the real Nintendo NES font as default (line 32 in the script) - you can change it to whatever you like of course

SEE UPDATE v0.9 BELOW
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on August 01, 2019, 04:37:37 AM
Update v0.9:

So I looked into your idea of playing ads when snap videos are not available. It's a little tricky because of the way squirrel scripts work, so I decided to give it a go myself. I hope you don't mind!

Check out the code in the static video section and at the end of the snap video section especially - squirrel plays the videos only AFTER it finished loading the script, so we need a function that works with transitions in real-time.

If Lava doesn't find any ads to play, it will default to the "static.mp4" video.

This release also includes the bug fixes from v0.8.1

Download the full Lava v0.9 theme from here:
SEE OFFICIAL RELEASE V1.0 BELOW!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on August 01, 2019, 04:01:50 PM
Update v0.9:

So I looked into your idea of playing ads when snap videos are not available. It's a little tricky because of the way squirrel scripts work, so I decided to give it a go myself. I hope you don't mind!

Check out the code in the static video section and at the end of the snap video section especially - squirrel plays the videos only AFTER it finished loading the script, so we need a function that works with transitions in real-time.

If Lava doesn't find any ads to play, it will default to the "static.mp4" video.

This release also includes the bug fixes from v0.8.1

Download the full Lava v0.9 theme from here:
https://mega.nz/#!wNMzlITZ!KRlqkoevG920JUQhG3Ua0PBfnerFQIMDgbaCzC5lGI4

I do not mind at all! Nice work!! I grinned from ear to ear as soon as I looked at that code =D good choice on the ads too lol

I don't really have any other crucial additions at the moment. I did have an idea for art placement for several different emulators. For example, I've been using this layout for SNES and so the artwork doesn't come out just right so I have to manually change the x/y/h/w to get it just right. In a perfect world, it would be cool to have x/y/h/w change depending on the emulator so that the boxart is always right. And the ads could be the same way - for an N64 emulator, ads around the year 1996 could play, and so on.

However - it might be more practical to just call this, idk, Takoni-NES or Takaron-NES (Takoni+Yaron), and then I can add SNES with the right boxart coordinates (and the ads too!) at a later time. Sort of how Robospin did it. Then we can hit Takaron-N64, 2600, SegaCD, you name it. I'm stuck on any particular names, just throwing out a few examples. :)

Btw, if anyone comes across code on how to have the layout stop the AM ambient music that's playing and then play the layout music instead that would be great. Right now, if I have ambient music playing on AM, it will play at the same time the layout music is playing - which is fine, I can just switch off the ambient music. But once I leave the layout, the music stops. Not a huge deal - I'm just always looking for ways to push things over-the-top.

Thanks a million as always!
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on August 01, 2019, 10:03:17 PM
Just FYI, I noticed a minor issue with the ad video. A random ad video will play but it will just repeat the same video for one session. At least it seems this way - the same video played 3 times in a row. Anyone else run into this?
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on August 02, 2019, 01:22:50 AM

I don't really have any other crucial additions at the moment. I did have an idea for art placement for several different emulators. For example, I've been using this layout for SNES and so the artwork doesn't come out just right so I have to manually change the x/y/h/w to get it just right. In a perfect world, it would be cool to have x/y/h/w change depending on the emulator so that the boxart is always right. And the ads could be the same way - for an N64 emulator, ads around the year 1996 could play, and so on.

However - it might be more practical to just call this, idk, Takoni-NES or Takaron-NES (Takoni+Yaron), and then I can add SNES with the right boxart coordinates (and the ads too!) at a later time. Sort of how Robospin did it. Then we can hit Takaron-N64, 2600, SegaCD, you name it. I'm stuck on any particular names, just throwing out a few examples. :)


Thanks a million as always!

From what I understand, this really depends on the boxart itself. Each set of boxes is different. In my setup I have a different theme for each emulator and I manually adjusted the boxart and cartart placement.

As for Robospin, It separates the console/cab image from the background. In Lava's case, an approach like that will allow us to switch the console on the right (currently NES) with other consoles as we navigate between emulators. Same goes for the background - it can switched or remain the same.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on August 02, 2019, 01:35:17 AM
Just FYI, I noticed a minor issue with the ad video. A random ad video will play but it will just repeat the same video for one session. At least it seems this way - the same video played 3 times in a row. Anyone else run into this?

I already checked this option when writing the code for v0.9...

The only way I am aware of switching between ad videos is to reload the layout every time you play an ad. This will also reload any background music the layout might be playing at that moment.
This means that when you navigate the wheel and a song is playing in the background, when you reach a game with no snap video the layout will reload to play a random ad and the music background will reload as well. It's like a having a large scratch on your music CD  ;)

I might be wrong - I am not a know all Attract mode developer, but these are the limitations this front end has at the moment.
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: Yaron2019 on August 02, 2019, 04:47:05 AM
Version 1.0 is here!

I am very happy with the state of Lava and am promoting it to version 1.0 as its first official release!

This release includes:

- There is no more usage for the TV frame texture known as 'tapa_snap.png'. The snap video is now displayed BEFORE the background texture which is great because the TV border now looks clean and natural!

- New clean cut background texture

- tapa_snap.png and images folder are no longer used and where removed

- Rearranged and reformatted most layout options menu to use correct and clear text and options. They are now displayed in logical groups for the user

- Fixed a stability bug in which wheel transition time could be too long or too shot freezing AM (now limited to 1 ms min and 500 ms max)

- Fixed a script error in which theme would try to apply random colors to game info that is disabled in layout options

- Removed "animate" module which created a script error when switching to layout menu

- Removed 'Enable snap static effect' option from the layout options menu as it crashed the theme in certain situations. When snap video is not available, Lava will now try to play ads by default and if there are no ads it will play the 'static.mp4' video

- Favorite star in list mode is better aligned

- Lava now starts the first time in a very clean presentation - only the wheel and system logo are shown, wheel sound is set to 'click' and background music plays. The user can then add or change whatever he wants through the layout options menu

- Various small fixes

Enjoy!!  8)


Download the official Lava v1.0 theme from here:
https://mega.nz/#!AdFF3ApI!OM6g5N3kRDAoolsu08pXk3oTVQwCshsBuA0jcsnEaBY

For good order, if you don't have them already, you can download the random wheel sounds from here and place them at your main Attract folder in a folder named 'sounds':
https://mega.nz/#!gJs0nQ7a!q4nYNGwxIa8Mo1mPJJ5t9HGJF58vkNe13rlNoNfl708
Title: Re: My WIP of MGalaxy frontends for Raspberry Pi Retropie under Attract Mode
Post by: asahendrix on August 02, 2019, 08:37:11 PM
Just FYI, I noticed a minor issue with the ad video. A random ad video will play but it will just repeat the same video for one session. At least it seems this way - the same video played 3 times in a row. Anyone else run into this?

I already checked this option when writing the code for v0.9...

The only way I am aware of switching between ad videos is to reload the layout every time you play an ad. This will also reload any background music the layout might be playing at that moment.
This means that when you navigate the wheel and a song is playing in the background, when you reach a game with no snap video the layout will reload to play a random ad and the music background will reload as well. It's like a having a large scratch on your music CD  ;)

I might be wrong - I am not a know all Attract mode developer, but these are the limitations this front end has at the moment.

Yaron2019, great observations - thank you for filling me in - it’s sort of liberating to know we’ve hit the ceiling of AM purely based on creativity haha

Thank you for giving us the first stable build! How exciting! And thank you mGalaxy for inspiring us to creating a layout better than yours, for free :)

As I have free time, I will work on versions of this for other systems!

Thank you Yaron2019 and Takoni! You all are the best!
Title: Re: LAVA v1.0 Official Release.
Post by: beakerman80 on October 03, 2019, 05:49:27 PM
Love this theme! Keep up the great work!