I am continuing to perfect this fantastic frontend but am faced with another problem that I cannot solve. The image of the system in use that appears in the center of the interface does not work properly. In the images folder of the layout there are the images of the systems, in some it is correctly seen in others not. The names of the systems in attract.cfg are the same as the name of the system images. Look at the screenshoot in the link:
thanks anyway
That happens because this theme/layout need for us to add and edit things in the code on a specific file regarding this. The version I uploaded before already had extra systems not included in the original.
This is how you do it:
So the system logos and other images related must be in this folder inside the theme: ..\images\emulator
The code you need to edit (using notepad++ for example) is located in this file inside the theme: ..\_class\Functions.nut
Look for the code starting in line 30 and the first system example (Arcade) that starts at line 36
case "Arcade":
::MID_OBJECTS.sysLogo.file_name = "images/emulator/Arcade.png";
::MID_OBJECTS.sysLight.file_name = "images/emulator/Arcade_light.png";
::TOP_OBJECTS.gameInfoLight.file_name = "images/emulator/Arcade_light2.png";
break;
on the "case" part is the name of the system that must named the same to what you have in attract.cfg
on the other part of the code you need to edit only the png files name according to their name that you have in the folder.
Say, for example, that you wanted to add Sony PlayStation 3. You would need to add a new block of code there like this:
case "Sony PlayStation 3":
::MID_OBJECTS.sysLogo.file_name = "images/emulator/Sony PlayStation 3.png";
::MID_OBJECTS.sysLight.file_name = "images/emulator/Sony PlayStation 3_light.png";
::TOP_OBJECTS.gameInfoLight.file_name = "images/emulator/Sony PlayStation 3_light2.png";
break;
You can add it after any other system code block with a line separating then, like this:
case "Arcade":
::MID_OBJECTS.sysLogo.file_name = "images/emulator/Arcade.png";
::MID_OBJECTS.sysLight.file_name = "images/emulator/Arcade_light.png";
::TOP_OBJECTS.gameInfoLight.file_name = "images/emulator/Arcade_light2.png";
break;
case "Sony PlayStation 3":
::MID_OBJECTS.sysLogo.file_name = "images/emulator/Sony PlayStation 3.png";
::MID_OBJECTS.sysLight.file_name = "images/emulator/Sony PlayStation 3_light.png";
::TOP_OBJECTS.gameInfoLight.file_name = "images/emulator/Sony PlayStation 3_light2.png";
break;
PS: The screenshot example is correct right? Sega model 2 being there?
Hope this helps. Cheers.