Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - theNestruo

Pages: [1]
1
Themes / Re: [download] NEVATO theme
« on: April 19, 2019, 11:08:47 AM »
The next error message appears in terminal:
(...)
AN ERROR HAS OCCURED [the index 'res_x' does not exist]
(...)

Same problem here, but it can be easily patched.
The layout decides some values (including res_x) based on the aspect ratio of the screen, but is not covering all the possible aspect ratios. It seems that your screen has one of those uncovered ratios.
Compute the aspect ratio of your screen dividing the width by the height. In my case: 1360 / 768 = 1.77083 (keep the first five digits only).
Now, edit the file layout.nut (it's a text file) and go to lines 174-... (the line 174 contains: switch( aspect.tostring() )).
There are several cases below, specifying different the aspect ratios. Append your aspect ratio next to the closest one. For example:

switch( aspect.tostring() )
{
    case "1.77865":  //for 1366x768 screen
    case "1.77778":  //for any other 16x9 resolution
    case "1.77083":  //for 1360x768 <-- (APPEND THIS LINE)
        aspect_name = "16x9";
        break;

The error should be gone now.

Pages: [1]