I kept the theme zipped, it would not run otherwise
I've heard that before - maybe it has something with the file structure (having subfolders)
Same here. Unzipped it doesn't work with either AM 2.2.0-3 or 2.2.1-50. Output from the latter:
*** Initializing display: 'Flat Blue'
- Loaded master romlist 'mame' in 273 ms (33336 entries kept, 0 discarded)
- Constructed 2 filters in 6 ms (66672 comparisons)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/helperfunctions.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/vectors.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/layoutsettings.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/sidebar.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/mamedats.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/mainmenu.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/background.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/infopanel.nut)
AN ERROR HAS OCCURED [the index 'LayoutSettings' does not exist]
CALLSTACK
*FUNCTION [main()] /home/user/.attract/layouts/flat_blue/layout.nut line [63]
LOCALS
[vargv] ARRAY
[this] TABLE
Script Error in /home/user/.attract/layouts/flat_blue/layout.nut - the index 'LayoutSettings' does not exist
- Loaded layout: /home/user/.attract/layouts/flat_blue/ (layout.nut)
- Layout is empty, initializing with the default layout settings
In zipped form it works fine.
Another matter:
How do I point the theme to my icons folder for icons instead of snaps in the sidebar? I tried to set an artwork folder names "icons" to the icons folder, but it didn't work.
The problem are the case sensitive linux path in file layout.nut.
The correct values is:
fe.do_nut("scripts/HelperFunctions.nut");
fe.do_nut("scripts/Vectors.nut");
fe.do_nut("scripts/LayoutSettings.nut");
fe.do_nut("scripts/SideBar.nut");
fe.do_nut("scripts/MAMEDats.nut");
fe.do_nut("scripts/MainMenu.nut");
fe.do_nut("scripts/Background.nut");
fe.do_nut("scripts/InfoPanel.nut");
// fe.do_nut("scripts/OverlayMenu.nut");