LuaS  xV(w@^@C:\REAPERDEV\Scripts\LKC-ReaScripts-DEV\RenderBlocks\_source\lkc_renderblocks_autonaming.lua V@F@@@AF@A]$@AKJ@BJB @AKJ„J… @,C@D@DʼnŊCËCÌC,@,   @HHIF@@@A F@ ]$$@IF@@@A F@ ]$$@IF@@@A F@ ]$$@IF@@@A F@A ]$$@J ˕JFJJƀJAAAA ʀLJ@ JFJ@ JM N@NA$MO@ϛJOFJGMG @,,PQA@AAFP$@PQA@AAAFBP$@PQAʀԨԖU@՗ʀU֫ʀ֬׭ʀ׮ϯ@XX@YY@Z$@PQAʀѨۖ@[ʀ۫·ʀ׮@X@Y$@,@\]A@$@@\]\\@NA$^_V^E@^^^\]A@$@_]@_\@`A$`@Y\@NA$`aF_@!!$`aF_!$@b_V@b,,,,@,,,,@,,,,@,,,,@,,,,@,,,,@,,i@i$@iiA)$@ij$@h$@iiA@*$@ij$@ijA+@*$@&dofile script_pathData separatorbinlkc_render_controller.dll KONTROLER CONTEXT_ID RenderBlocks GrimSync CONTEXT_NAMEMsgDEPTH DEBUG_STEP STEP_OVER STEP_INTO STEP_OUTPREVIOUS_DEPTHSTEP_OVER_DEPTHSTEP_OUT_DEPTHTOTAL_BLOCKS_TO_RENDER LAST_OS_TIMELog indentLogPOTENTIAL_EVENT_STRINGSEVENT_STRINGS CLIP_GROUP CG_INDEX RENDER_PATHD:\BouncedSounds\ loadfileLokasenna_GUI Core.datClass - Button.datClass - TextEditor.datClass - Label.datGUIname,NO VALID RENDER BLOCKS LICENSE KEY DETECTEDxywhanchorcornerscreenC GUI_COLORreaper GetExtStateLKC_RENDERBLOCKS gui_colororangecolors elm_fill lkc_colorscall_VLpasteGUINewButton 2PasteconfirmConfirm input_text TextEditorz >@C@ccaptionfont_afont_b monospacecolortxt col_fillcap_bgwnd_bgbgelm_bgshadowpad undo_limittitleLabel`b@@Enter License Key:font call_gui"formula_string_defined_in_projectformula_string_project_valuereaperGetProjExtStateAUTONAMING_FORMULA_STRING the_formula$TRK\$RGN\$WGWWISE_PATH_FORMULAFILENAME_FORMULAseparator_defined_in_projectseparator_project_value AUTONAMING_FILENAMING_SEPARATORFILENAME_SEPARATORseparator_defined HasExtState_stringgsub %(space%)  %(none%)unique_space_identifier|&&FindDuplicates ParseCSVLineFind_WWISE_PathsReplaceContainerPrefixesRemoveContainerPrefixesRemoveWwiseContianerPrefixes HandleIgnoreCheckTrackNameGenerateTrackHierStringGetCurrentRegionGenerateRegionHierStringGenerateWgroupHierStringAddItemToListGetAllWGroupsCreateWaapiAssetListJSONCloseWaapiAssetListJSONWriteWaapiAssetToJSONGetAllEventsFromStringHandleWwiseEventsGenerateNamesWithoutIndexGenerateIndexesAndNameItemsToggleNoteStretchToFit GenerateDataProcessTimeSelectionProcessSelectedItemsMainreaper ClearConsolePreventUIRefreshUndo_BeginBlockUpdateArrangeUndo_EndBlockLKC - RenderBlocks - AutoName  F@G@@d@&reaperShowConsoleMsg tostring  param _ENV,jLF@@@F@@A@AAhFA@]@gFBG@BBBdBB_@@A@AC@$@@D@AA@D@E"AEFE!@$AE"$AF"@AFFE @$A&DEBUGplus_one_space spacesDEPTHos difftimetime LAST_OS_TIME (Time:) tostringreaperShowConsoleMsg  DEBUG_STEP STEP_OVERSTEP_OVER_DEPTHDEPTH STEP_INTO STEP_OUTSTEP_OUT_DEPTH?[.@@@$@F@G@Ad@FBAd@@C@C@Ç@DFA@DFE@FA@@DFA@@ćFE@FA@C&reaperUpdateArrange1=Over 2=Into 3=Out 4=Cancelretval retvals_csvGetUserInputsDEBUG2 csv_table ParseCSVLine, STEP_OVER STEP_INTO STEP_OUT DEBUG_STEP1STEP_OVER_DEPTHDEPTH3STEP_OUT_DEPTH4.AAABCCCCCCCCCDDDDDFGHIOOOPQQQRRRSSTTTUVVVWWWX[caption._ENVL---.//0000011110444444455556778888::::::;;;;;;>>>[^^^_______```aaabbbccccccjparamL (for index)  (for limit)  (for step) i execution_timeK time_infoK pause_flow2K_ENVlnF@M@&DEPTHmmmna_ENV@@@A$@@@A$@@AAF@$"@F@@Jƒ& inputGUIVal input_text KONTROLER WriteLicensequitvalid_ENV@@@A$"@@F@$@AAA@$@@@BA@$@& reaper APIExistsCF_GetClipboardbufGUIVal input_textShowMessageBoxvYou must install SWS extensions in order to use this button. Otherwise press CTRL+V / CMD+V to paste the license key.SWS NOT FOUND_ENV@@@$@@@$@&GUIInitMain_ENV KAA@ǁ"@@ B@J&tseen duplicated (for index) (for limit) (for step)ielement. ]b@A@@@@$_A@@A A@A@F@G@d]A@@@$@AAB]A_@ABABAB_@_AAAF@GdbBAF@GdA@BAF@GdA@& ,stringsub"find^%b""tableinsertassert]           """"""##$$$$$$$$$$%%((((((((((+-. line]sep]res]pos]c Ztxt;startp-endp-startpBZendpBZ_ENV1baK@K@K@K@K@K@FBd@A@A@B@hF@GA@Ɓ@@FAGBB@@BgA@A@B@h F@GCACC@ACǁA䁀BCC@B$D@fEACCBACǁA䁀BCC@$@fgAf&_pos_rgnend_name_markrgnindexnumber_coloridxarrayGetCurrentRegionreaperAddProjectMarker2 containerstringmatch {CONTAINERS=:(.*),,({.*})2THERE_IS_AT_LEAST_ONE_CONTAINER_WWISE_LINK_REGIONevent {EVENTS= EVENTS=(.*)}:(.*)a3344556677899;;=====>>??@@AABBCCCCCCCCCC=IIIIIJJKKLLLLLMMNNNNNOOOOOQRRRVVWWWWWXXYYYYYZZZZZ\\\Iaabtypea (for index)) (for limit)) (for step))i(pos(rgnend(name(wantidx(color( (for index)-^ (for limit)-^ (for step)-^i.]name0]prefix7Gcontainer_path>Gcontainer_guidCGprefixN]events_container_nameU] events_pathZ]_ENVeo2G@@dG@dG@@dG@dG@@dG@dG@@dG@d&&gsub%[a%]%[b%]%[r%]%[sq%]%[sw%]%[vo%]%[fx%] %[f%]2ffffffgggggghhhhhhiiiiiijjjjjjkkkkkkllllllmmmmmmnostring2qtG@@d&&gsub%[%a+%]rrrrrrststringvyG@@d&&gsub<.->wwwwwwxystring{4F@G@d_@A@@@@@AA@AAA@@@@@@@&& stringmatch//.*GENERATE_JUST_NAME_STRING%(.*%)gsub%(%)%[%a+%]{.*}4~~~~~name4ignore4bracesignore2'* wwise_path/4_ENVF@G@d@AA䀀_A@$_@@BFAB AB B& reaper GetTrackNamestringmatch Track %d+ HandleIgnore parent_arrayidtrackretvalnamenoname _ENV M@A@$@@A$@ ABA$_@BFBd@FAGdA@AA(A @A_@BFAG]'@@$A@AD]$AADD@A$AD@%&@A$AD@%&&LogGenerate Track Hier String indentLog parent_arrayidreaperGetSelectedTrackCheckTrackNameGetParentTrack^No Wwise prefixes:RemoveContainerPrefixesGENERATE_JUST_NAME_STRINGReplaceContainerPrefixesMtrackMtrackhier_stringM separatorMsepM (for index) 0 (for limit) 0 (for step) 0i!/_ENV +@@@$@@@A@$@@@A_A@FAAJFBAJBFBBAJFBAJFBAJFAM@FB@GBdBFCdB&edit_cursor_timereaperGetCursorPositionGetLastMarkerAndCurRegionEnumProjectMarkers3_posidx_rgnend_name_markrgnindexnumber_colorDeleteProjectMarkerGetCurrentRegion+ marker_index + region_index +retval+isrgn+pos+rgnend+name+markrgnindexnumber+color+_ENV\@A@$@@A$@     „ C$@F@BN(AFAAGAABFBCG@dB'A@B@AAAƁD_C_C@@@DE@@E@@@@@EE&LogGenerate Region Hier String indentLog_pos_rgnend_name_markrgnindexnumber_coloridxarrayGetCurrentRegionreaperAddProjectMarker2^ HandleIgnoreGENERATE_JUST_NAME_STRINGRemoveContainerPrefixesReplaceContainerPrefixes\       (for index)/ (for limit)/ (for step)/i.pos.rgnend.name .wantidx".color$.regionhier_string0\ separator1\ (for index)5G (for limit)5G (for step)5Gi6Fname8F_ENV"I]F@@d@F@d@FAG@d_@ _B@@ABBB@$AC@AƁC$C@$AC@$AC@A$AC@$AC@A$AAA@$_BFAB_@C@F@dAF@dA&LogGenerate Wgroup Hier String indentLogstringmatch(%[%a-%])(.-);GENERATE_JUST_NAME_STRINGRemoveContainerPrefixesgsub\FILENAME_SEPARATORReplaceContainerPrefixes   ;sufix=(.-);]###$$$''''')****+++,,,----........0000333333344444447777777888888899999::<<<==>>>>>@AFFFGGGHIname] wwise_prefix ] wwise_path ]wgroup_metadata_path ] name_sufixG]_ENVLr 4F@G@d@@_@@A@ ƀAAA@ AB"@B@$@@AC@$FAAJFAM@&reaperGetActiveTakeGetMediaItemInfo_Value I_GROUPID CLIP_GROUP CG_INDEXGENERATE_JUST_NAME_STRINGGetSetMediaItemInfo_StringP_EXT:LKC-WWISE_OBJECT_GUIDULT_GetMediaItemNote4MMMMNNNNNOOPPRRRSSSSVYY`aaabbbbbbbccdegjjkkkkmmmnnnritem4take4 group_id 4wgroup_should_be_added3retval"% chunk_guid"%name-3_ENVtoF@@d@F@d@A@hFAAGdAAA@B_B@AA@CAAǁCBABBCBABCBABAE@B$BF@EBdBFFdBFBAGBdBAFCBACAG@C$G@F@EBdCFFdCgF@d@& LogGet all Render Blocks indentLogreaperGetSelectedMediaItemGetActiveTakename GetTakeNameitem_is_emptyULT_GetMediaItemNotestringgsub  subGetMediaItemInfo_Value I_GROUPID tostring: AddItemToListGetMediaItemTake_SourceGetMediaSourceTypeGetMediaItem_TrackGetMediaTrackInfo_ValueI_FOLDERDEPTHEMPTYouuuvvvyyyy{{{{{}}}}y selected_counto (for index) k (for limit) k (for step) ki jitemjtakej first_string6jcurrent_group_id;jsourceMj source_typeRj item_trackVj folder_depth[j_ENV7F@G@Adb@D@F@@Ld@F@@L@d@F@G@Adb@D@F@@b@FBG@ƀC@d@AfĈF@@L@Dd@&wgroups_waapi_assets_list.json json_fileerrioopen RENDER_PATHw+writeclosea+reaperShowMessageBox Couldn't open the json. Error:  tostringWhoopsheader { "importOperation": "useExisting", "autoAddToSourceControl": true, "default": { "importLanguage": "SFX" }, "imports": [ 7json_file_name7_ENV@ @@$@@AF@$@@A"@@AAA@$@&  json_filewriteioclose2THERE_IS_AT_LEAST_ONE_CONTAINER_WWISE_LINK_REGIONreaperShowMessageBox*No container links! Possible import fail!WARNING_ENVF@@d@@AAA%ƀ@AAƀ@AAƀ@AAB@A@AC$@A@C$@A@AD$D@$@E@A$D"EFE A@EFFA$"FFd@ABABƁEABFE]AAAG]H@@AAAHIA  @  AC  @  F@GB  dF@GBCdFBG_@FKLdBɑFBLLAA KLB&4 ParseCSVLine;stringsub@gsub  WWISE_PATH_FORMULA$RGNregion_based_path$TRKtrack_based_path$WGwgroup_metadata_pathReplaceContainerPrefixes is_eventmatch%+POTENTIAL_EVENT_STRINGScontainer_pathname_with_meta;%+;RemoveWwiseContianerPrefixes+ "importLocation":"container_guid", < "objectPath":"Actor-Mixer Hierarchy\\Default Work Unit\\ chunk_guid "objectPath":" \ ADD_COMMA, { % "audioFile": "D:\\BouncedSounds\\.wav",  "notes":""  }\+\\ json_filewritei CG_INDEX ]}         name csv_tableprefix path_string"#there_is_event_metatag_per_wgroupsLtargetQ_targetW_import_locationc object_pathfcomma_characterp final_string json_footer_ENV ,@@@@_A@@A@@@_A@@&astringmatch(.*)%+EVENT_STRINGSGetAllEventsFromString######$$$'''((()))),kv_ENV.@F@@$F@dA)@ABF@B@]$"@D@@A B$@@A @C$@ABF@B@]$"@D@@A"@CDA@DƀA]$@&@EA$_@E@AF@FAFGAFǀAGAAAA B$A@FH$FFGB d@FBFC AFBF A FBF A FBFC A CBA JKFBAC @FBA@FBA @C ƒL"@@MC͙MA DAFCALdC)FAALdAFAGAAAdA&=pairsPOTENTIAL_EVENT_STRINGSGetAllEventsFromStringevents_json_filenameevents_waapi_assets_list.json events_jsonerrioopen RENDER_PATHw+writeclosea+reaperShowMessageBox'Couldn't open the events json. Error:  tostringWhoopsFind_WWISE_Pathseventstringgsub\+\\match .*()\\.*\\sub { "parent": "(", "type": "Folder", "name": "?", "onNameConflict": "merge", "children": [ EVENT_STRINGS%+<.->\_ ^\SX_ event_prefix_defined_in_projectevent_prefix_project_valueGetProjExtStateLKC_RENDERBLOCKSAUTONAMING_WWISE_EVENT_PREFIX "@Target":"" NOT_FIRST_ITEM CHILD_COMMA, { + "type": "Event", "name": "", "children": [ { "name": "", "type": "Action", "@ActionType": 1,   } ] } ] }00001111008:::::::::::::;;;;<<<>>>>>>>>>>>>>???@@@@@@@@@@AADDDEEEEFGIIIIIIIKKKKKLLMMMMMMMTTVVYVZZZZ\\\\_______`cccccccdddddddeeeeeeefffffffkllllllllmmmnppptttttttuuuuuuuvvvvvvvxxxxxxyyyzz|~\\(for generator) (for state) (for control) kv event_path>events_container_name> last_slashPheader_(for generator)f (for state)f(for control)fkgvgpatho event_prefixtarget child_infofooter_ENV'@A@$@@A$@ @FAN(7ABFABG$FAGdAFAGAAdAFAGABdACAADABA_D@AD@$@AEFBBG€$@AB$B@A$BE@$FEdFƂ@CBAǂCBAC€ACC@D@GD@@GD@@ƃGHDHA䃀  D AD@DI@@ A   EDž_@ _@ ] ] ƅ@E@Eƅ@FE*@DDJDJ  FJ@ JDJ  FJ@ JDJ FJE A@ JDJ JAE A@ JDJ  FJE A @ JDJ JA E A @ @D  DADJK@ $AJDJ@ D$JDJ@D D$G_G'@@A@$@&2LogGenerate Names without indexes indentLogNEW_CLIP_NAMES CG_INDEXreaperGetMediaItemInfo_Value CLIP_GROUP D_POSITIONSetEditCurPosMain_OnCommandiGetMediaItem_TrackSetTrackSelectedGetActiveTake GetTakeNameULT_GetMediaItemNoteGenerate string bonesGenerateWgroupHierStringGenerateRegionHierStringGenerateTrackHierStringGetSetMediaItemInfo_StringP_EXT:LKC-WWISE_OBJECT_GUIDFind_WWISE_Paths containerGENERATE_JUST_NAME_STRING ParseCSVLineFILENAME_FORMULA\$TRK$RGN$WGipairs:stringgsub%^FILENAME_SEPARATOR/Generated name:match([^;]+)                    """&&&' (for index) (for limit) (for step) i item_postrack#take-name.wgroup_metadata_pathEregion_based_pathGtrack_based_pathIretvalT chunk_guidTcontainer_guidUcontainer_pathVname_segments_arraykname_segments_tablelgenerated_name_stringp(for generator)v (for state)v(for control)viw widlcardwname_with_meta_ENV)@A@$@@A$@@AFA$A"@A$@@A$@@BFA$F@B@$dA)@@A$@@CFCG@d$FA\hSAAƁA_EAƁA @E@EDAFEFAAG]AAƁAAFAGB@@AG@AA@A@A@AFGFAB@FGA@FGFF@@A@AFGBA@@A@AFGA@@A@ AFGFAB @FG A@FGB FF@@A@ AFG A@@A@AFAJ FG  FFGAK @FGBJA@FG A@FK AA@B LBd]ACLLƁCǁA MACBMACCCA $AN˜_]ANFA䁀_FG@B$FG@$_@FA䁀O@ğAOƁCǁLCPFLGO$BPFLG$BCQFLG$_E@FCGBdCQƂCLCR@C$R@FCGCFODCdÀ@F@dBgF@d@&PLog Generate Indexes And Name Items indentLogdupesFindDuplicatesNEW_CLIP_NAMESDEBUGDuplicates are:pairs: tostring tonumberreaper GetExtState LKC_wGROUPS index_type ind_str0FILENAME_SEPARATORFINAL MODIFICATIONS TO STRING=remove multiples of separator string i.e. replace --- with -stringgsub&&==# [&&==#]+$ [&&==#]+6remove spaces at the end of string name, just in case%s+$,remove spaces at the begining of the string^%s+.remove separators from begining of the string..::.. ^[..::..]+remove events + suffix%+unique_space_identifier %W%luppersubfind%d+$_ULT_GetMediaItemNote CLIP_GROUPoverwrite_defined_in_projectoverwrite_project_valueGetProjExtStateLKC_RENDERBLOCKSAUTONAMING_OVERWRITE OVERWRITE@match(.-);   meta_info;(.*) ;ULT_SetMediaItemNoteToggleNoteStretchToFitGetActiveTakeGetMediaItemTake_SourceGetMediaSourceTypeGetMediaItem_TrackGetMediaTrackInfo_ValueI_FOLDERDEPTHEMPTYretvalstringNeedBigGetSetMediaItemTakeInfo_StringP_NAMENEW:***+++333355566677788889999999988;;;CCCCCCCDDDDDFGGGGGG]]]]]]^^`ccccccccceeeeeeeeeegglllmmmnnnooopppppppqqqqqqqrrrrrrrtttvvvwwwwwwwxxxzzz{{{{{{{|||~~~D(for generator)! (for state)!(for control)!kv index_type+ (for index)/ (for limit)/ (for step)/i0 new_name1 sufix_index string_info name_info1 old_nameEtakeVsource\z source_typeaz item_trackfz folder_depthkz_ENV =A@@C@A@AAA@ABA$_C@_@FACd@FBFAGd@FBFAGdF@GAdA&retvalreaperGetItemStateChunkstringmatchIMGRESOURCEFLAGS %dgsubIMGRESOURCEFLAGS 2 GetExtStateLKC_RENDERBLOCKSstretch_notes tonumberIMGRESOURCEFLAGS 0SetItemStateChunk=item= strNeedBig=NoteStretchState= new_state=s=_ENV.F@@d@F@d@FA_@FAd@FA @@F@@d@F@d@FBd@FA_@@FBd@F@d@F@@d@FCG@d@F@d@&LogGenerate Data indentLogGENERATE_JUST_NAME_STRINGGetAllWGroups CG_INDEXStart GeneratingGenerateNamesWithoutIndexGenerateIndexesAndNameItems'No blocks to process - empty selectionreaperShowMessageBoxQEmpty selection! Please make selection which contains at least one Render Block.LKC RenderBlocks - AutoNaming.           selected_count._ENV5/@A@$@@A$@@A$@@AAA$@@A@BAA$@Aǀ B@$A@A$AAAACA$A@A$A&LogProcess TIME SELECTION indentLog%Update time selection based on itemsreaperMain_OnCommand GetSet_LoopTimeRange2CountSelectedMediaItems GenerateDataNo blocks to processShowMessageBoxfNo blocks selected! You must select at least one block, or make time selection which includes blocks.LKC Render Blocks - AutoNaming/   !!!###&&&&&*********+----..////1112222224445 start_time/ end_time/ delta_time/selected_count/_ENV7MC@A@$@@A$@A@AA$@ABA$A@F@@d@FAGd@@F@@d@FAG@d@FAG@Ad@FDCN@FDd@FAG@d@FAG@@d@F@d@&LogProcess SELECTED ITEMS indentLogreaperMain_OnCommandCountSelectedMediaItemsNo blocks to processShowMessageBoxeNo blocks selected! You must select at least one block, or make time selection which includes blocks WARNING!Set time selection to itemsb start_time end_timeGetSet_LoopTimeRange2 delta_time GenerateDataC888999:::::<<<<==>>>???????CCCDDDDDEEEEEEEEEEEFFFFGGGJJJJJKKKKKLLLMselected_countC_ENVOn;@A@$@@A$@@A$@AA$@A_B@A$@@A@$@@A$@…C$@&@A@$@CCAA$@A@ ƀD@@D@ƀ@@@@&Log Main Start indentLogChecking license...LICENSE KONTROLER ReadDiskNO LICENSE FOUNDfirst_registration call_guiChecking License DONE!reaperGetSet_LoopTimeRange2Checking time selection...ProcessTimeSelectionProcessSelectedItems Main End;PPPQQQSSSUUUUVVVWWWXXXYYY[\\]___bbbbbbbbbceeeffgggiilllmmmn start_time); end_time); delta_time*;_ENVV!"#$%&'()*j,nlwwxxyyz{.b1oetqyv{I"rLt, .')5M7nOrrrsssstttuuvvvvwwwxxxxxx_ENV