Rock Band Panel (%TEXT_FILE%)
%MOVE_UP_PIXELS_6%
--------------------------
%MOVE_UP_PIXELS_2%

%!IF_RB_EXPORT_ENABLED%%DISPLAY_WARNING%Rock Band export is not enabled in File>%NEWLINE%Preferences>Import/Export.%FLUSH%%MOVE_DOWN_PIXELS_8%

;Don't display content for tracks not supported by Rock Band
%!IF_IS_ANY_ROCK_BAND_3_TRACK%This track is not supported by Rock Band.%ENDPANEL%

%!IF_TEMPO_MAP_LOCKED%%IF_CHART_HAS_ANY_NOTES%%DISPLAY_ALERT%Tempo map is unlocked.

;Tempo checks
%IF_ANY_TEMPO_SUBCEEDS_40%%DISPLAY_ERROR%At least one tempo change is less than 40BPM:%NEWLINE%%FIRST_BEAT_SUBCEEDING_TEMPO%
%IF_ANY_TEMPO_EXCEEDS_300%%DISPLAY_ERROR%At least one tempo change is more than 300BPM:%NEWLINE%%FIRST_BEAT_EXCEEDING_TEMPO%

;Metadata checks
%!IF_SONG_TITLE_IS_DEFINED%%DISPLAY_ERROR%Song title is undefined.
%!IF_ARTIST_NAME_IS_DEFINED%%DISPLAY_ERROR%Artist name is undefined.

;4/5 note chord warnings
%!IF_IS_VOCAL_TRACK%%!IF_IS_PRO_GUITAR_TRACK%%IF_TRACK_DIFF_HAS_NOTES_WITH_GEM_COUNT_4%%DISPLAY_WARNING%4 gem chords: %TRACK_DIFF_NUMBER_NOTES_WITH_GEM_COUNT_4%
%!IF_IS_VOCAL_TRACK%%!IF_IS_PRO_GUITAR_TRACK%%IF_TRACK_DIFF_HAS_NOTES_WITH_GEM_COUNT_5%%DISPLAY_ERROR%5 gem chords: %TRACK_DIFF_NUMBER_NOTES_WITH_GEM_COUNT_5%

;Solo sections
%!IF_IS_VOCAL_TRACK%%IF_TRACK_HAS_NO_SOLOS%%DISPLAY_WARNING%Track has no defined solos%%FLUSH%%TEXT_BACKGROUND_COLOR_NONE%%TEXT_COLOR_WHITE%%ELSE%Solos: %TRACK_SOLO_COUNT%  Solo notes: %TRACK_SOLO_NOTE_COUNT%
%!IF_IS_VOCAL_TRACK%%!IF_TRACK_HAS_NO_SOLOS%  Notes per solo: %TRACK_SOLO_NOTE_STATS%
%IF_ACTIVE_DIFFICULTY_HAS_EMPTY_SOLO%%DISPLAY_ERROR%This difficulty has an empty solo
%IF_ANY_SOLOS_CLOSER_THAN_1_SECOND%%DISPLAY_WARNING%At least 2 solos are less than 1 second apart

;Star power sections
%!IF_IS_VOCAL_TRACK%%IF_TRACK_HAS_NO_STAR_POWER%%DISPLAY_WARNING%Track has no defined star power%ELSE%SP sections: %TRACK_SP_COUNT%  SP notes: %TRACK_SP_NOTE_COUNT%
%!IF_IS_VOCAL_TRACK%%!IF_TRACK_HAS_NO_STAR_POWER%  Notes per SP: %TRACK_SP_NOTE_STATS%
%IF_IS_VOCAL_TRACK%%IF_TRACK_HAS_NO_STAR_POWER%%DISPLAY_WARNING%Track has no defined star power lyric lines%%ELSE%Star power lyric lines: %SP_LYRIC_LINE_COUNT%

;Lyric checks
%IF_ANY_LYRIC_LINES_ARE_DEFINED%%DISPLAY_SUCCESS%%PRINT_LYRIC_LINE_COUNT_STRING%%ELSE%%DISPLAY_WARNING%No lyric lines are defined.
%IF_ANY_LYRICS_ARE_OUTSIDE_LINES%%DISPLAY_WARNING%At least one lyric is not within a lyric line:%NEWLINE%%FIRST_LYRIC_OUTSIDE_LINE%
%IF_IS_VOCAL_TRACK%%IF_ANY_LYRICS_EXTEND_OUTSIDE_LINES%%DISPLAY_WARNING%At least one lyric extends outside its line:%NEWLINE%%FIRST_LYRIC_EXTENDING_OUTSIDE_LINE%
%IF_ANY_LYRICS_ARE_NON_ASCII%%DISPLAY_WARNING%At least one lyric is non-ASCII and won't display:%NEWLINE%%FIRST_LYRIC_WITH_NON_ASCII%

;Section checks
%!IF_RB_SECTIONS_DEFINED%%DISPLAY_WARNING%No sections are defined.%ELSE%%DISPLAY_SUCCESS%%PRINT_RB_SECTION_COUNT_STRING%
%IF_SEEK_POS_IS_IN_RB_SECTION%Section:  %SEEK_RB_SECTION_CONDITIONAL%

;Finger definition checks
%IF_IS_PRO_GUITAR_TRACK%%!IF_IR_TRACK_HAS_CHORDS_MISSING_FINGERING%%DISPLAY_SUCCESS%No chords missing finger definition%ELSE%%DISPLAY_WARNING%%PRINT_RS_MISSING_FINGERING_COUNT_STRING%

;FHP checks
%IF_IS_PRO_GUITAR_TRACK%%IF_TRACK_HAS_NO_FHPS%%DISPLAY_WARNING%No fret hand positions defined in this track.
%IF_IS_PRO_GUITAR_TRACK%%IF_ACTIVE_TRACK_RS_ANY_NOTE_SUBCEEDS_FHP%%DISPLAY_ERROR%At least 1 note uses a fret below active FHP:%NEWLINE%%RS_FIRST_NOTE_SUBCEEDING_FHP%
%IF_IS_PRO_GUITAR_TRACK%%IF_RS1_EXPORT_ENABLED%%IF_ACTIVE_TRACK_ANY_FHP_EXCEEDS_19%%DISPLAY_ERROR%At least 1 FHP exceeds Rock Band's limit of 19:%NEWLINE%%RS_FIRST_FHP_EXCEEDING_NUMBER%

;Other information
;Minimum note distance setting (not relevant for drum tracks)
%!IF_IS_DRUM_TRACK%%IF_NOTE_GAP_IS_IN_MS%%DISPLAY_WARNING%%ENDIF%Current note gap:  %NOTE_GAP%
;NPS
%IF_GRID_SNAP_ENABLED%Grid snap: %GRID_SNAP_SEEK_POS_LENGTH_NPS%
%IF_SELECTED_NOTES%Selected note NPS: %SELECTED_NOTE_NPS%
;Seek position phrase timings
%SEEK_SP_STATUS_CONDITIONAL%
%IF_IS_VOCAL_TRACK%%SEEK_LYRIC_LINE_STATUS_CONDITIONAL%
%SEEK_SOLO_STATUS_CONDITIONAL%
%SEEK_TRILL_STATUS_CONDITIONAL%
%SEEK_TREMOLO_STATUS_CONDITIONAL%
;Drum notes are limited to what can be played with two hands
%IF_IS_DRUM_TRACK%%IF_TRACK_DIFF_HAS_INVALID_DRUM_CHORDS%%DISPLAY_ERROR%Invalid drum chords present
;Other drum note info
%IF_IS_DRUM_TRACK%%IF_TRACK_HAS_NO_EXPERT_PLUS_BASS%%DISPLAY_WARNING%%ENDIF%Expert+ bass notes: %TRACK_DIFF_NOTE_COUNT_AND_RATIO_EXPERT_PLUS_BASS%
%IF_IS_DRUM_TRACK%%IF_ACTIVE_DIFFICULTY_HAS_NO_CYMBALS%%DISPLAY_WARNING%%ENDIF%Cymbal notes: %TRACK_DIFF_NOTE_COUNT_AND_RATIO_CYMBALS%
;Track difficulty level definition check
%IF_TRACK_IS_POPULATED%%IF_TRACK_DIFFICULTY_UNDEFINED%%DISPLAY_WARNING%This track has no defined difficulty level
%IF_ANY_TRACK_DIFFICULTY_UNDEFINED%%DISPLAY_WARNING%Another track has no defined difficulty level
%IF_TRACK_HAS_UNSNAPPED_NOTES%%TEXT_BACKGROUND_COLOR_CYAN%%TEXT_COLOR_BLACK%%PRINT_TRACK_UNSNAPPED_NOTE_COUNT%%FLUSH%%TEXT_BACKGROUND_COLOR_NONE%%TEXT_COLOR_WHITE%
