Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jretropie

Pages: [1]
1
General / Re: Exit Attract Mode
« on: January 06, 2017, 07:57:42 AM »
sudo shutdown -P now

('P' must be capital)

2
General / Re: video snap not showing
« on: November 18, 2016, 06:53:53 AM »
Mine is:

/home/pi/RetroPie/roms/mame-libretro/snap/


I have the following folder set up
video /home/pi/RetroPie/roms/mame-libretro/video
but the video snap does not show.
The Wheel , marquee shows but the video dont.
The video are in mp4.

Any idea why it doesnt show
I am using Layout Coinops layout
I have made it so that attractmode and the emulator are using the same layout robospin.

any ideas what I am doing wrong

3
I have the same problem.  Anyone can help and give us some steps? 

4
Scripting / How to change background for certain filter name?
« on: November 08, 2016, 11:59:25 AM »
How to change background for certain filter name? :-[

I try the following code but it's not working:

function Filter_Name(){
   if (fe.filter.name == "Street Fighter") return "Street Fighter_black.png";
}

local bg = fe.add_image( "[!Filter_Name]", 0, 0, flw, flh );




5
Scripting / Re: What is flx, fly, flh, flw?
« on: November 02, 2016, 06:24:37 AM »
I was trying to modify a theme. 

It has the following line to add video snap position:
surface.set_pos(flx*0.083, fly*0.30, flw*0.35, flh*0.35);

How do I convert these 0.083, 0.30....etc  to pixel so I don't have to go back and forward and look at the actual screen?


there are two variables
fe.layout.width - layout width in pixels
and
fe.layout.height - layout height in pixels


if you leave it undefined
fe.layout.width will be your screen X resolution (like 1920px) and fe.layout.height will be your screen Y resolution (like 1080px)

flh and flw - are usually used as a shorter version - so you don't have to type in code "fe.layout.width" all the time - just "flw"
but you have to define it first as variable
flw = fe.layout.width

---

So - if you want to use fixed dimensions in pixels - you should first define fe.layout.width and fe.layout.height in pixels.
Because if you don't - you'll end up with fixed dimensions and position of your layout elements and variable size of a whole layout.
Keep in mind that AM stretches your layout (by default) to fit the screen.

So if you use
fe.layout.width=640
fe.layout.height=480
it will look as intended (full screen) on 1024x768 or 800x600 res screen - but it will be stretched horizontally on 1920x1080 screen

6
Scripting / What is flx, fly, flh, flw?
« on: November 01, 2016, 09:51:31 AM »
What is flx, fly, flh, flw?

Can it be convert to pixel?

7
Themes / Re: [download] NEVATO theme
« on: September 30, 2016, 01:04:11 PM »
Ok.  I play around the code a little bit and it seems to be a pretty easy to do.
Just change the code line for background from:

local bg = fe.add_image( "background_blue.png", 0, 0, flw, flh );

to

local bg = fe.add_image("[Emulator]" + "-background_blue.png", 0, 0, flw, flh );

and then make the background to each emulator according to the name.  It will works perfectly.


Hmmm... you can't do that currently - without changing the code. But it's a very good idea to implement.
I'm planning to add game list as an alternative to wheel graphics in next version - so I can add that feature also.

...just have to find some time to do that (sigh)

8
Themes / Re: [download] NEVATO theme
« on: September 30, 2016, 06:43:29 AM »
Thanks! My friend!

Hmmm... you can't do that currently - without changing the code. But it's a very good idea to implement.
I'm planning to add game list as an alternative to wheel graphics in next version - so I can add that feature also.

...just have to find some time to do that (sigh)

9
Themes / Re: [download] NEVATO theme
« on: September 29, 2016, 07:50:38 AM »
Hi, I am a noob.  Thanks Verion for great work!!!  How do I set this theme to change background just for each emulator?  I want to put the picture of the console on the background.

Pages: [1]