Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: nevincho on March 29, 2018, 01:24:51 PM

Title: Starting picture when launching game
Post by: nevincho on March 29, 2018, 01:24:51 PM
Hi.
Is it possible to add an image to be displayed when starting a game as it is with MaLa FE?

Title: Re: Starting picture when launching game
Post by: bundangdon on March 30, 2018, 01:22:25 AM
As far as I know, this option is not available in AttractMode, however if you're using RocketLauncher, a middleware frontend which can be used together with AttractMode, it can be done  :D
Title: Re: Starting picture when launching game
Post by: nevincho on March 30, 2018, 02:43:54 AM
Is not it too complicated with extra software? With an option it would be perfect.
Title: Re: Starting picture when launching game
Post by: qqplayer on March 30, 2018, 04:44:00 AM
I made a wip module for something like this, you can addapt the code to your purpouse

Look for fadein module.

https://m.youtube.com/watch?v=kNzCZ72oWqk
Title: Re: Starting picture when launching game
Post by: keilmillerjr on March 30, 2018, 05:06:48 AM
I made a module that could do this but abandoned that feature. I kept asking myself “why?”
Title: Re: Starting picture when launching game
Post by: nevincho on March 30, 2018, 05:11:51 AM
That feature why is it abandoned?

A module still exist?
Title: Re: Starting picture when launching game
Post by: jedione on March 30, 2018, 08:38:00 AM
here is the post that shows how i do it in AM   :-*

works fine on my PI too.....


http://forum.attractmode.org/index.php?topic=1893.0 (http://forum.attractmode.org/index.php?topic=1893.0)

Title: Re: Starting picture when launching game
Post by: nevincho on March 30, 2018, 08:59:21 AM
Is this what I have to do for each game or is it possible for an image for all?Is this what I have to do for each game or is it possible for an image for all?

Step 5 goto "scraper" folder add new folder with system name ie: snes
in this folder add , "newfolder" > title

In my case just for mame games.
Title: Re: Starting picture when launching game
Post by: bundangdon on March 30, 2018, 07:17:12 PM
I was following this message thread and decided to try it out too but I can't seem to make it work.

For example, for the game Ms. Pac-Man, I have a flyer with the name "mspacman.png" in the folder "C:\attractmode\scraper\mame\title\" but it's not showing up on the screen. Also, I edited the plugin with "shade = fe.add_artwork("title", 0, 0, fe.layout.width, fe.layout.height);"

Any tips or pointers? :D
Title: Re: Starting picture when launching game
Post by: nevincho on March 30, 2018, 10:51:01 PM
The same thing happens to me...
Title: Re: Starting picture when launching game
Post by: qqplayer on April 01, 2018, 05:17:32 AM
I had to "avoid" this line:

      //shade.set_rgb(0, 0, 0);

But ask to keilmillerjr if this is right.
Worked for me setting a fixed png , not an "artwork".
Title: Re: Starting picture when launching game
Post by: nevincho on April 01, 2018, 06:54:06 AM
I just want fixed image for all games, not image for every one rom. Some think like Now Loading or Get ready to play
Title: Re: Starting picture when launching game
Post by: qqplayer on April 01, 2018, 09:34:22 AM
I just want fixed image for all games, not image for every one rom. Some think like Now Loading or Get ready to play

If you want the same image all the time just make this:

Code: [Select]
shade = fe.add_image("fadein.png", 0, 0, fe.layout.width, fe.layout.height);
//shade.set_rgb(0, 0, 0);

Then just put the image you want alongside the "plugin.nut" and name it "fadein.png"
Title: Re: Starting picture when launching game
Post by: nevincho on April 01, 2018, 10:39:43 AM
I just want fixed image for all games, not image for every one rom. Some think like Now Loading or Get ready to play

If you want the same image all the time just make this:

Code: [Select]
shade = fe.add_image("fadein.png", 0, 0, fe.layout.width, fe.layout.height);
//shade.set_rgb(0, 0, 0);

Then just put the image you want alongside the "plugin.nut" and name it "fadein.png"


 :) Working. Perfect. Thank you
Title: Re: Starting picture when launching game
Post by: nevincho on April 02, 2018, 01:17:05 AM
I think that this functionality should be included in the AM startup package.
Title: Re: Starting picture when launching game
Post by: keilmillerjr on April 03, 2018, 03:30:54 AM
That feature why is it abandoned?

A module still exist?

I created it as a request from some one. Could select a time and it faded an image in. I eventually scrapped the idea because I couldn’t justify a loading screen for something that loads instantly. It eventually became the Fade module which I released.