Author Topic: Starting picture when launching game  (Read 7608 times)

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Starting picture when launching game
« 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?


bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: Starting picture when launching game
« Reply #1 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

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #2 on: March 30, 2018, 02:43:54 AM »
Is not it too complicated with extra software? With an option it would be perfect.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Starting picture when launching game
« Reply #3 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

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Starting picture when launching game
« Reply #4 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?”

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #5 on: March 30, 2018, 05:11:51 AM »
That feature why is it abandoned?

A module still exist?

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Starting picture when launching game
« Reply #6 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

help a friend....

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #7 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.

bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: Starting picture when launching game
« Reply #8 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

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #9 on: March 30, 2018, 10:51:01 PM »
The same thing happens to me...

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Starting picture when launching game
« Reply #10 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".

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #11 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

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Starting picture when launching game
« Reply #12 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"

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #13 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

nevincho

  • Full Member
  • ***
  • Posts: 92
    • View Profile
Re: Starting picture when launching game
« Reply #14 on: April 02, 2018, 01:17:05 AM »
I think that this functionality should be included in the AM startup package.