RetroFE forums
Artwork & Layouts => Help => Topic started 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.
-
You're only changing the Arcade collection layout? What version of RetroFE are you running?
Sent from my SM-G920F using Tapatalk
-
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.
-
Ok, what exactly doesn't work, and can you share the updated xml code?
Sent from my SM-G920F using Tapatalk
-
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.
-
that is from other layout not game room :P
-
I tried with yours and old school game room to make sure problems were not isolated to either skin. ;)
-
well to remove a image from the layout you have to remove the entry in the layout xml which is for that image :)
-
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
-
you have to hide it when entering menuindex 1 I guess ...
<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>
-
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.
-
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)
-
Yes, there's a 4 MB limit I believe. Worst case you can email it to me.
Sent from my SM-G920F using Tapatalk
-
I have a link to it on my previous post, thanks
-
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.
-
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 :)
-
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.
-
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
-
This is how my arcade screen looks now, will take a look thanks. I have plenty of other systems to do :)
-
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!