16
Scripting / Re: Scripting Help - First time user
« on: December 31, 2019, 07:12:53 PM »Thanks guys
I will try the code above and to see what it looks like - thank you.
Stupid question - where do I place the code above (which directory), and what should the file name be called?
Thank you.
Regards
D
Welcome to AM! I’m a baby coder and believe me when I say that there is no such thing as a stupid question.
I don’t have my Pi open right now so this is off the top of my head:
-You will put that code in a text file and rename it “layout.nutâ€. Any layout you create will always need to simply be named “layoutâ€.
-This layout file will go in a layout folder that you create. The name of this folder can be whatever you want - but it’s usually the name that you want to name your layout. For instance, a layout that I am working on is called MatteClean. So, the folder that I created to put my layout file in is called “MatteCleanâ€. Whatever you name you decide on is the name that will show up when you are selecting a layout inside Attract Mode.
-A lot of the media that you want to integrate into your layout either now or in the future will need to be put into your layout folder. If you’re wanting to use game wheels and game art, these jpg or png files will need to go into the system rom folder where your rom files are.
-If I’m not mistaken, the layout folders are under “.attract/layouts†or “.attract/themes†- again this is off the top of my head so someone correct me if I’m wrong. In order to see the “.attract†folder you will need to have show hidden files. I personally use WinSCP to access my AM files. As long as you can get into the “.attract†folder, the rest should be pretty self explanatory.
I hope this helps! Have fun!