Author Topic: [download] NEVATO theme  (Read 118954 times)

Favdeacon

  • Sr. Member
  • ****
  • Posts: 116
    • View Profile
Re: [download] NEVATO theme
« Reply #360 on: February 26, 2019, 10:52:33 AM »
Hi VonViVant,
Nevato already shows video snaps and images, do you mean those? If not, what other videos and images do you mean?

VonViVant

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: [download] NEVATO theme
« Reply #361 on: February 26, 2019, 12:39:39 PM »
Hi VonViVant,
Nevato already shows video snaps and images, do you mean those? If not, what other videos and images do you mean?

Yes, I know that you have automatically generated videos and others by default .
I have a video that I made and I want to put it in a loop.
If not, a series of images that rotate.

VonViVant

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: [download] NEVATO theme
« Reply #362 on: February 26, 2019, 05:57:29 PM »
add: selecting "game boy color emulator" the image displayed is a game boy classic ¿how can i fix it?

Favdeacon

  • Sr. Member
  • ****
  • Posts: 116
    • View Profile
Re: [download] NEVATO theme
« Reply #363 on: February 26, 2019, 10:17:04 PM »
Yes, I know that you have automatically generated videos and others by default .
I have a video that I made and I want to put it in a loop.
If not, a series of images that rotate.
Nevato uses the the fe.add_artwork() function to show the images and videos from the snaps and videosnaps folders that are configured for the emulator in Attract-Mode. You can show other images or videos with the fe.add_image() function.

Apart from the layout documentation which I linked to above, the best way to understand this may be to look into Nevato's layout.nut and see how these functions are being used.

Alas, I don't know if and how you can add a rotating series of images. If you find another layout that does that, you could look into its layout.nut to see how this can be achieved.

add: selecting "game boy color emulator" the image displayed is a game boy classic ¿how can i fix it?

As I said above, what Nevato shows depends solely on the contents of the snaps and video snaps directories you configured for the resp. emulator. Did you check that?
« Last Edit: February 26, 2019, 10:19:58 PM by Favdeacon »

VonViVant

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: [download] NEVATO theme
« Reply #364 on: March 05, 2019, 10:05:05 PM »
After a few hours the screensaver disappears and debian's desktop appears.
I am using debian stable + attract mode.
Does anybody know what is it due to? Thank you

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 865
    • View Profile
Re: [download] NEVATO theme
« Reply #365 on: March 05, 2019, 10:27:47 PM »
After a few hours the screensaver disappears and debian's desktop appears.
I am using debian stable + attract mode.
Does anybody know what is it due to? Thank you

Please don't post the same question in multiple places on the forum.

http://forum.attractmode.org/index.php?topic=2826.msg19564#msg19564

PingFall

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [download] NEVATO theme
« Reply #366 on: March 12, 2019, 07:47:50 AM »
First thanks for the theme. I'm having trouble to make it work on Debian Jessie, with Attract 2.5.1. Any tips will be welcome! Thank in advance.
The next error message appears in terminal:

Attract-Mode v2.5.1 (Linux, SFML 2.1 +FontConfig +Xinerama +SWF +7z +Curl)
avcodec 56.1.0 / avformat 56.1.0 / swscale 3.0.0 / avutil 54.3.0 / avresample 2.1.0

Config: /home/marmo/.attract/attract.cfg

*** Initializing display: 'Mame'
 - Loaded master romlist 'mame' in 219 ms (28654 entries kept, 0 discarded)
 - Constructed 2 filters in 2 ms (57308 comparisons)
1.77083 settings[] does not exist

AN ERROR HAS OCCURED [the index 'res_x' does not exist]

CALLSTACK
*FUNCTION [Setting()] /home/marmo/.attract/layouts/nevato/layout.nut line [208]
*FUNCTION [main()] /home/marmo/.attract/layouts/nevato/layout.nut line [215]

LOCALS
[aspect_name] ""
[settings] TABLE
[name] "res_x"
[id] "aspectDepend"
[this] TABLE
[aspect_name] ""
[aspect] 1.7708333730698
[settings] TABLE
[flh] 768
[flw] 1360
[fly] 768
[flx] 1360
[blip] 768
[my_config] TABLE
[vargv] ARRAY
[this] TABLE
Script Error in /home/marmo/.attract/layouts/nevato/layout.nut - the index 'res_x' does not exist
 - Loaded layout: /home/marmo/.attract/layouts/nevato/ (layout.nut)
 - Layout is empty, initializing with the default layout settings
 - Constructed 1 filters in 0 ms (2 comparisons)
1.77083 settings[] does not exist

AN ERROR HAS OCCURED [the index 'res_x' does not exist]

CALLSTACK
*FUNCTION [Setting()] /home/marmo/.attract/layouts/nevato/layout.nut line [208]
*FUNCTION [main()] /home/marmo/.attract/layouts/nevato/layout.nut line [215]

LOCALS
[aspect_name] ""
[settings] TABLE
[name] "res_x"
[id] "aspectDepend"
[this] TABLE
[aspect_name] ""
[aspect] 1.7708333730698
[settings] TABLE
[flh] 768
[flw] 1360
[fly] 768
[flx] 1360
[blip] 768
[my_config] TABLE
[vargv] ARRAY
[this] TABLE
Script Error in /home/marmo/.attract/layouts/nevato/layout.nut - the index 'res_x' does not exist
 - Loaded layout: /home/marmo/.attract/layouts/nevato/ (layout.nut)
 - Layout is empty, initializing with the default layout settings

theNestruo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [download] NEVATO theme
« Reply #367 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.

roostaar

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [download] NEVATO theme
« Reply #368 on: May 10, 2019, 06:20:34 AM »
Hi Verion

Thank you for your hard work, I love this theme! Sadly it seems to crash AM if I enable videos in the cab screen, or background.

I'm running GroovyArcade 2019 (latest build) on an i5 PC and a 20" CRT TV.

I'm only using MAME and have everything setup and working perfectly.

If I use Cools theme, it doesn't crash/hang at all. This theme plays the video snap in the background.

If I enable nevato theme, AM becomes totally unresponsive after 10-20 seconds. It totally locks up/freezes.

Killing AM and then disabling video in nevato theme solves the problem, but then the theme is less appealing to me.

I have tried nevato on a clean install of GA2019 and also a fresh attract.cfg file too but get the same problem.

I have tried AM on my iMac and do not get this problem, only on the GA machine.

How can I troubleshoot this?

Cheers all

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 817
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #369 on: May 10, 2019, 10:57:02 AM »
GA is for sure not a problem.

If you are using integrated graphic card - this can be a problem. Or graphic card drivers in general.
I was running it on my MacBook Air that has 1.3Ghz dual core i5 - without any problems.

Cools theme uses video without any transformations - NEVATO show it skewed and that is more cpu intensive.

What you can try:
1) set the video as a background and not the cabinet and see if it helps - as the bg video is displayed as is (without any transformations)
2) minimize your library to just a few titles - maybe a certain video is problematic?
3) convert your videos to XVID format (less cpu intensive) - and see it it helps
4) use dedicated video card

roostaar

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [download] NEVATO theme
« Reply #370 on: May 11, 2019, 07:07:31 AM »
Thank you for your reply verion

I am using a discreet ATI HD (4000 i think) which is compatible with GA.

I tried setting the video as background but get the same issue, which is weird because Cools theme uses background video and is fine.

I also tried running just a few titles in the library (clean install) and same problem with freezing.

I did try converting a couple of videos to another mp4 format, but still got the problem. I'll try XVID though.

I have checked running processes via TOP remote terminal command while nevato was running and CPU usage was low. 5-10%.

Is there any log I could check to see what is causing AM to freeze?

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 817
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #371 on: May 11, 2019, 12:07:24 PM »
Sorry... can't help you more.

Maybe try it on different computer. If it works ok - there is something wrong with your particular setup. I mean not the AM/GM - but the system/hardware.
I've had a similar problem (AM was constantly hanging up on me) - but it went "magically" away after full system reinstall. :(

roostaar

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [download] NEVATO theme
« Reply #372 on: May 12, 2019, 04:41:00 AM »
I was playing with it again last night, changed to nevato theme, AM froze as expected, then as I tried to force quit the app I found that pressing CTRL + ALT + F2 switched me to a shell login screen prompt...

Code: [Select]
GroovyArcade 2019 (tty2)
GroovyArcade login:

Pressing CTRL + ALT + F1 switches me back to AM and it is no longer frozen!

Leaving it on AM, it seems to no longer freeze like before. If I run a game then quit the game, AM freezes again after 10-20 seconds.

Doing the CTRL + ALT + F2 trick unfreezes AM and keeps it unfrozen till I run another game.

So, it would appear that AM is not crashing after all, but something is maybe causing it to lose focus?

I have tried setting AM with all the different window modes in 'settings / general' to no effect.

Hmm. Anyone have any ideas? Anyone? Bueller?

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 817
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #373 on: May 12, 2019, 07:52:49 AM »
Maybe try posting this problem on the general forum?