pcca-matrix / PCCA-Layout

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

Console throws error when navigating directly between systems #28

Closed ghost closed 4 years ago

ghost commented 4 years ago

Pressing the left/right arrow keys to navigate directly between systems shows the following console error:

*** Initializing display: 'SNK Neo Geo'
 - Loaded master romlist 'neogeo' in 0 ms (143 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (143 comparisons)

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

CALLSTACK
*FUNCTION [hs_transition()] D:\Arcade\attract\layouts/pcca/layout.nut line [1304]

LOCALS
[FE_Sound_Screen_Click] INSTANCE
[curr_sys] "SNK Neo Geo"
[point_animation] INSTANCE
[center_animation] INSTANCE
[Background_Music] INSTANCE
[glob_time] 20228
[rtime] 15611
[flv_transitions] INSTANCE
[trigger_load_theme] true
[sid] 0
[sound_buffer_size] 5
[Wheelclick] ARRAY
[surf_ginfos] INSTANCE
[Sound_System_In_Out] INSTANCE
[FE_Sound_Wheel_Out] INSTANCE
[conveyor] INSTANCE
[center_Wheel_fade] INSTANCE
[m_infos] INSTANCE
[FE_Sound_Wheel_In] INSTANCE
[FE_Sound_Screen_In] INSTANCE
[dialog_anim] INSTANCE
[overlay_background] INSTANCE
[overlay_list] INSTANCE
[wheel_art] INSTANCE
[overlay_title] INSTANCE
[custom_overlay] INSTANCE
[overlay_anim] INSTANCE
[FE_Sound_Screen_Out] INSTANCE
[prev_tr] 7
[count] 12
[ttime] 0
[var] 0
[ttype] 6
[this] TABLE
Script Error in transition function: hs_transition - the index '0' does not exist

*** Initializing display: 'Nintendo 64'
 - Loaded master romlist 'Nintendo64' in 0 ms (11 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (11 comparisons)
Loading TXT: D:\Arcade\attract\romlists\Nintendo 64.txt
Error opening file for reading: D:\Arcade\attract\romlists\Nintendo 64.txt: cannot open file
Error opening file for reading: D:\Arcade\attract\layouts/pcca/Settings/Nintendo 64.ini: cannot open file
Error opening archive: E:\HS_Themes\Media/Nintendo 64/Themes/Star Wars - Rogue Squadron (USA).zip

*** Initializing display: 'Super Nintendo Entertainment System'
 - Loaded master romlist 'snes9x' in 2 ms (822 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (822 comparisons)

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

CALLSTACK
*FUNCTION [hs_transition()] D:\Arcade\attract\layouts/pcca/layout.nut line [1304]

LOCALS
[FE_Sound_Screen_Click] INSTANCE
[curr_sys] "Super Nintendo Entertainment System"
[point_animation] INSTANCE
[center_animation] INSTANCE
[Background_Music] INSTANCE
[glob_time] 21978
[rtime] 20660
[flv_transitions] INSTANCE
[trigger_load_theme] true
[sid] 0
[sound_buffer_size] 5
[Wheelclick] ARRAY
[surf_ginfos] INSTANCE
[Sound_System_In_Out] INSTANCE
[FE_Sound_Wheel_Out] INSTANCE
[conveyor] INSTANCE
[center_Wheel_fade] INSTANCE
[m_infos] INSTANCE
[FE_Sound_Wheel_In] INSTANCE
[FE_Sound_Screen_In] INSTANCE
[dialog_anim] INSTANCE
[overlay_background] INSTANCE
[overlay_list] INSTANCE
[wheel_art] INSTANCE
[overlay_title] INSTANCE
[custom_overlay] INSTANCE
[overlay_anim] INSTANCE
[FE_Sound_Screen_Out] INSTANCE
[prev_tr] 6
[count] 12
[ttime] 0
[var] 0
[ttype] 6
[this] TABLE
Script Error in transition function: hs_transition - the index '0' does not exist
 ! Unexpectedly lost focus to: None
pcca-matrix commented 4 years ago

cannot rerpoduce the issue , i think you have un problem in your attract.cfg for the rom lists as the "index '0' does not exist" error mean there is no filter list set. fe.filters contains information on the available filters. It is an array of fe.Filter instances.

can you post your attract.cfg ? try to delete attract.am

ghost commented 4 years ago

Of course, attached.

attract.zip

Deleted attract.am - same error. Now it's in line 1223 when a game is launched and 1200 when a game exits back to AM.

ghost commented 4 years ago

Can't recreate this error now. Very strange. Closed.