Author Topic: Themes for different resolutions  (Read 5086 times)

dadi4168

  • Newbie
  • *
  • Posts: 6
    • View Profile
Themes for different resolutions
« on: January 20, 2017, 03:06:46 PM »
Hi all,

First post, but let me say this site is amazing and I'm really enjoying the hard work you good people have put into this project.  I've been using the robospin themes mostly for my HDTV.  I use a Pi 3.  I also installed the latest RetroPie and Attract Mode.  I have the robospin advance for my GBA section, but the snap placement is off when I put it on my portable rpi 3, same setup with the exception that the 5 inch screen is 800x480.  I think this is causing the issue.  Would I be able to go into the nut file and adjust this?  I've never played with themes, but I'm willing to learn.  I'm hopping over to GitHub now to see if I can find anything.  Thanks.

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: Themes for different resolutions
« Reply #1 on: January 20, 2017, 03:50:16 PM »
Unfortunately some art transformation functions (mainly skew/pinch - that makes art look like in perspective) are related to the screen resolution.

I'm assuming that everything is ok on your TV that has resolution 1920x1080px - right?

If so - you have to add this in layout.nut:
fe.layout.width = 1920;
fe.layout.height = 1080;

And it should fix snap placement

dadi4168

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Themes for different resolutions
« Reply #2 on: January 20, 2017, 04:23:22 PM »
Yes, everything's perfect on the TV.  Thank you.

That worked perfect.  Thank you.
« Last Edit: January 20, 2017, 07:48:13 PM by dadi4168 »