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 - grippie

Pages: [1]
1
Themes / Re: Raspberry Pi Focused - SimplePi Theme
« on: January 11, 2017, 06:51:12 PM »
I'm not sure what you are trying to achieve.
Maybe you can simply use fixed width and fixed height, and use preserve_aspect_ratio to keep the flyer inside a centered box? Or you want the SNES flyers to be wider than then other ones ?

Ahh genius. I didn't realize that setting a static width + height as a "bounding box" with aspect_ratio = true would give me what I want. Thanks!

2
Themes / Re: Raspberry Pi Focused - SimplePi Theme
« on: January 11, 2017, 07:21:01 AM »
Hi grippie,

Have you noticed the note in the documentation ?
Each call to texture_height should be placed in a callback function since the picture is not loaded before (texture_height is equal to 0).
Also if you resized your picture it seems that you have to compute the ratio yourself.

I hope it helps :)

Thanks yea i did see that and assumed that was my issue since im using maintain aspect ratio and the true size ( not scaled). Was hoping there would be a way to dynamically place based on size since someone else might have different size boxarts. 

I thought about just doing an

If (fe.game_info(Info.System) == "Super Nintendo")
// set x and y coords

3
Themes / Raspberry Pi Focused - SimplePi Theme
« on: January 10, 2017, 08:12:50 PM »
I wanted to leverage all of the nice videos that i acquired when i built my bartop so i switched from ES to AM. The problem that I found was that the performance was pretty sluggish on most of the nicer themes, even on a Pi 3. I wanted to make my own that removed all of the heavy lifting of the transitions and heavy code.

I did find that I had to downgrade all of my videos to 30fps to get them to run properly on the Pi. I paid for a subscriptions to emumovies to get the 480p movies, however they are 60fps. Most old games ran at 30fps anyways so no biggie they still look really good.

I am working on a dynamic positioning of the boxart (as you can see with the super nintendo, i need to reposition and shrink it a bit). I haven't found anything that works just yet with detecting the boxart size and calculating the top left corner based on the width/height of the differing systems boxart sizes. something like dividing the height of the screen in half for Y and subtracting half of the artwork height but it doesn't seem to work this way.
boxart.y = flh/2 - boxart.texture_height/2;



4
General / Re: Video snaps play slowly and will eventually crash AM on RP3
« on: December 13, 2016, 06:35:40 PM »
Hey guys, I know this is old but I wanted to respond since I had the same issue.  I had the hd movies (640 x 480 @59)  from emumovies and they would lag after a few seconds, but only certain games.  I found the solution by reformatting them from 59 frames per second to 30 fps.  I used a free program called winx video converter.  It was fast to convert and now all of the videos play great. 

Guess the software renderer can't keep up.  The hd AM intro vid dies on the pi 3 so this all makes sense.  I'll just convert everything to 30 fps which is almost indistinguishable from 59 because most old games ran at a locked 30 anyways.  File size is 1/3 as well. 

Pages: [1]