(“ゆめにっき” EX図表の重複内容を示すtext例:)
{
"pattern_001": [
"Line_00004-00223.bms"
],
"pattern_002": [
"Line_00229-01107.bms",
"Line_01111-01989.bms",
"Line_01993-02871.bms",
"Line_02875-03753.bms",
"Line_03757-04635.bms",
"Line_04639-05517.bms",
"Line_05521-06399.bms",
"Line_06403-07281.bms",
"Line_07285-08163.bms",
"Line_08167-09045.bms",
"Line_09049-09927.bms",
"Line_09931-10809.bms",
"Line_10813-11691.bms",
"Line_11695-12573.bms",
"Line_12577-13455.bms",
"Line_13459-14337.bms",
"Line_14341-15219.bms",
"Line_15223-16101.bms",
"Line_16105-16983.bms",
"Line_16987-17865.bms",
"Line_17869-18747.bms",
"Line_18751-19629.bms",
"Line_19633-20511.bms",
"Line_20515-21393.bms",
"Line_21397-22275.bms",
"Line_22279-23157.bms",
"Line_23161-24039.bms",
"Line_24043-24921.bms",
"Line_24925-25803.bms",
"Line_25807-26685.bms",
"Line_26689-27567.bms",
"Line_27571-28449.bms",
"Line_28453-29331.bms",
"Line_29335-30213.bms",
"Line_30217-31095.bms",
"Line_31099-31977.bms",
"Line_31981-32859.bms",
"Line_32863-33741.bms",
"Line_33745-34623.bms",
"Line_34627-35505.bms",
"Line_35509-36387.bms",
"Line_36391-37269.bms",
"Line_37273-38151.bms",
"Line_38155-39033.bms",
"Line_39037-39915.bms",
"Line_39919-40797.bms",
"Line_40801-41679.bms",
"Line_41683-42561.bms",
"Line_42565-43443.bms",
"Line_43447-44325.bms",
"Line_44329-45207.bms",
"Line_45211-46089.bms",
"Line_46093-46971.bms",
"Line_46975-47853.bms",
"Line_47857-48735.bms",
"Line_48739-49617.bms",
"Line_49621-50499.bms",
"Line_50503-51381.bms",
"Line_51385-52263.bms",
"Line_52267-53145.bms",
"Line_53149-54027.bms",
"Line_54031-54909.bms",
"Line_54913-55791.bms"
],
"pattern_003": [
"Line_55795-56716.bms"
]
}
等価な内容?
block 1 | block 2 |
---|
#IF 1
#00111:11
#ENDIF
|
#IF 2
#00111:22
#00111:11
#ENDIF
|
LR2で後者にS-RANDOMを適用すると可視notesが増殖するらしいので、拙作scriptはこれらを等価な内容とはみなさないことにした。つまり、blockが文字列として一致するかどうかを大雑把に見ているだけであって、わざわざblockごとにBMS parserを走らせて比較するようなことはしていない。