pcca-matrix / PCCA-Layout

HyperSpin layout for Attract-Mode
GNU General Public License v3.0
7 stars 6 forks source link

Issue with wheels #66

Open sergiohf opened 10 months ago

sergiohf commented 10 months ago

Sorry. I have an issue using the theme: The system: Virtual machine running Ubuntu 22.04.3 and Openbox (4 cores 4 gb ram). Host machine intel core i5 9th gen notebook, 32gb ram, gtx1050. I have installed retropie, attract and the pcca layout (today). After placing the themes and art in the folders, the layout initially crashed due to most played, recent played and favourites. After i disabled these 3 features, the system read the theme, but do not load the wheels. I have placed the wheels in every folder to rule out misconfiguration. The errors are: Attract-Mode v2.7.0 (Linux, SFML 2.5.1 +FontConfig +Xinerama +SWF +7z +Curl) avcodec 58.134.100 / avformat 58.76.100 / swscale 5.9.100 / avutil 56.70.100 / swresample 3.9.100

Config: /home/pi/.attract/attract.cfg

*** Initializing display: 'Arcade'

*** Initializing display: 'Arcade'

If i turn on the most played, for example: Attract-Mode v2.7.0 (Linux, SFML 2.5.1 +FontConfig +Xinerama +SWF +7z +Curl) avcodec 58.134.100 / avformat 58.76.100 / swscale 5.9.100 / avutil 56.70.100 / swresample 3.9.100

Config: /home/pi/.attract/attract.cfg

*** Initializing display: 'Most Played'

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

CALLSTACK FUNCTION [load_theme()] /home/pi/.attract/layouts/pcca/layout.nut line [1055] FUNCTION [hs_tick()] /home/pi/.attract/layouts/pcca/layout.nut line [1848]

LOCALS [artwork_list_full] ARRAY [Sound_Click] INSTANCE [Background_Music] INSTANCE [artwork_list] ARRAY [rnd_list] ARRAY [back_anim] NULL [backg] "/home/pi/.attract/layouts/pcca/Media/Main Menu/Themes/Most Played/|Background.jpg" [anim_rotate] NULL [theme_node] INSTANCE [raw_xml] "" [f] INSTANCE [DiR] "Artwork2.gif" [zipfolder] "" [back_tr] NULL [prev_def] true [theme_content] ARRAY [theme_path] "/home/pi/.attract/layouts/pcca/Media/Main Menu/Themes/Most Played/" [this] TABLE [glob_time] 642 [rtime] 0 [Background_Music] INSTANCE [visi] false [letters] INSTANCE [prev_tr] 6 [prev_path] "" [start_background] INSTANCE [curr_theme] "/home/pi/.attract/layouts/pcca/Media/Main Menu/Themes/Most Played/" [flv_transitions] INSTANCE [tr_directory_cache] TABLE [bck_anim] INSTANCE [FE_Sound_Letter_Click] INSTANCE [theme_content] ARRAY [Rpath] "/home/pi/.attract/layouts/pcca/Media/Main Menu/Themes/" [ttime] 642 [this] TABLE Script Error in tick function: hs_tick - the index 'Most Played' does not exist

I have tested in windows and its working fine.

I have also tested an old version of your theme (from 03/22 - version 2). And is loanding the wheels normally.

pcca-matrix commented 10 months ago

Yes, I am aware of this issue. It is not related to Linux, it occurs when it's a fresh install and there are no games played yet. I will fix in the next update. Thanks to report

sergiohf commented 10 months ago

Thanks for the response. I have started some games, set at least one favorite game and the themes loaded, but the wheels still dont appear;

pcca-matrix commented 10 months ago

It should work on Linux now let me know if it works for you.

https://github.com/pcca-matrix/PCCA-Layout/commit/2a4135ba15701dd5049685a684a3bf96312500b6

sergiohf commented 10 months ago

Its working perfect. Thank you very much, your theme is absolutely fantastic.

pcca-matrix commented 10 months ago

Thank you I'm glad you like it.