RetroFE forums

Artwork & Layouts => Help => Topic started by: balric on March 22, 2017, 04:38:02 PM

Title: collection layout woes.
Post by: balric on March 22, 2017, 04:38:02 PM
I am trying to create a new look on game room skin when arcade is selected. I want a modified background and a cabinet instead of a tv displaying the games. The problem I have is changes to the layout.xml in layouts/game room/collections/arcade/layout/ aren't being shown in retrofe. any ideas ?

so from attachment untitled2 to untitled.
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 22, 2017, 06:47:16 PM
You're only changing the Arcade collection layout? What version of RetroFE are you running?

Sent from my SM-G920F using Tapatalk

Title: Re: collection layout woes.
Post by: balric on March 22, 2017, 07:18:28 PM
Thank you for replying. The version is 0.7.20
and cabinet for arcade, was also thinking I might change tv set to ones fitting the age of collection machine. But hopefully that will be easier just scale tv to size of main.
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 22, 2017, 07:41:46 PM
Ok, what exactly doesn't work, and can you share the updated xml code?

Sent from my SM-G920F using Tapatalk

Title: Re: collection layout woes.
Post by: balric on March 22, 2017, 11:11:00 PM
Got the background to show up, but can see old background also big delay switching. any way to flush the other assets ? cant remove tv either or display video lol.

I'm sure the layout has tons of lines that aren't needed.
Title: Re: collection layout woes.
Post by: ryuuji on March 23, 2017, 10:11:26 AM
that is from other layout not game room :P
Title: Re: collection layout woes.
Post by: balric on March 23, 2017, 11:10:44 AM
I tried with yours and old school game room to make sure problems were not isolated to either skin. ;)
Title: Re: collection layout woes.
Post by: ryuuji on March 23, 2017, 11:12:44 AM
well to remove a image from the layout you have to remove the entry in the layout xml which is for that image :)

Title: Re: collection layout woes.
Post by: balric on March 23, 2017, 11:18:11 AM
The problem I seem to have is the main layout.xml takes preference over the collection layout.xml. All assets still reside no matter what. As there is.t a flush command
Title: Re: collection layout woes.
Post by: ryuuji on March 23, 2017, 11:41:42 AM
you have to hide it when entering menuindex 1 I guess ...

Code: [Select]
  <image src="images/image.png" alpha="1" x="center" xOrigin="center" y="0" layer="13">
  <onMenuExit menuIndex="0">
    <set duration=".01">
  <animate type="alpha" to="0" algorithm="easeinquadratic"/>
</set>
  </onMenuExit>
  <onMenuEnter menuIndex="0">
    <set duration=".01">
  <animate type="alpha" to="1" algorithm="easeinquadratic"/>
</set>
  </onMenuEnter>
</image>
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 23, 2017, 01:24:06 PM
Feel free to zip up the theme, and I'll have a look at it to see where things need changing. I can't imagine it being too hard. :) Worst case I'll discover a bug in RetroFE, but I think it's just an XML issue.
Title: Re: collection layout woes.
Post by: balric on March 23, 2017, 04:30:10 PM
I have tried zipping theme and adding as an attachment but not creating the post :(

Is there a limit to the size of an attachment ?

http://www.mediafire.com/file/ewpvee2m6wykvfp/Old_School_Game_Room.rar (http://www.mediafire.com/file/ewpvee2m6wykvfp/Old_School_Game_Room.rar)
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 23, 2017, 05:19:51 PM
Yes, there's a 4 MB limit I believe. Worst case you can email it to me.

Sent from my SM-G920F using Tapatalk

Title: Re: collection layout woes.
Post by: balric on March 23, 2017, 05:50:30 PM
I have a link to it on my previous post, thanks
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 24, 2017, 02:11:35 PM
I had a quick look; you really should consider reading the manual some time. :) It should provide you with an answer to a lot of the issues you're looking at here.

Most importantly: when you enter a new layout, you're not entering a menu, and the menuIndex is reset to 0. When you exit a layout, you're not exiting a menu, and the previous menuIndex is restored.
Consequences: replace your onMenuEnter animations with onEnter animations, and onMenuExit animations with onExit animations. In addition, since I don't think you'll define more menu layers below this one, you can remove all menuIndex attributes.

Another point: when you use an image with src="images/selector.png", RetroFE will (in this case), first look for layouts/Old School Game Room/collections/Arcade/layout/images/selector.png, and if it cannot find it there it will look for layouts/Old School Game Room/images/selector.png. It will certainly not look in layouts/Old School Game Room/collections/Arcade/system_artwork/.

One last pointer: if you want Linux users to be able to use this layout as well, please remember that in Linux all file names and directory names are case sensitive.
Title: Re: collection layout woes.
Post by: balric on March 24, 2017, 03:35:13 PM
Sorry for being such an idiot didn't even notice the user manual in downloads :(. I appreciate all the advice , have downloaded the manual and will peruse it tonight :)
Title: Re: collection layout woes.
Post by: Pieter Hulshoff on March 24, 2017, 03:37:40 PM
Sorry for being such an idiot didn't even notice the user manual in downloads :(. I appreciate all the advice , have downloaded the manual and will peruse it tonight :)

No worries; I've set up a wiki that I still need to fill with the information again. Things should become clearer in the future. Even aside from that: RetroFE has a lot of theming options, but that doesn't exactly make it easy to understand. We could still do with more examples to help people along their way.
Title: Re: collection layout woes.
Post by: tonesmalone on March 24, 2017, 06:42:24 PM
My GLaDOS theme would be a good one to look at if you want a reference as it uses most of the RetroFE theme features.


Sent from my iPhone using Tapatalk
Title: Re: collection layout woes.
Post by: balric on March 24, 2017, 06:52:27 PM
This is how my arcade screen looks now, will take a look thanks. I have plenty of other systems to do :)
Title: Re: collection layout woes.
Post by: KAOS2007B on December 18, 2017, 02:43:59 PM
Forgive my questions, have you finished this Layout? and if so, what's your name and if you shared it, could you give me the link? THANK YOU!