Template talk:IIDX Chart: Difference between revisions

From RemyWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:


* Thanks, this will be handy (I was manually working on them, hence why I took a lot of time on them). --[[User:FinalOffset|FinalOffset]] ([[User talk:FinalOffset|talk]]) 02:05, 14 July 2015 (UTC)
* Thanks, this will be handy (I was manually working on them, hence why I took a lot of time on them). --[[User:FinalOffset|FinalOffset]] ([[User talk:FinalOffset|talk]]) 02:05, 14 July 2015 (UTC)
== Black Another vs LEGGENDARIA ==
I feel that these two should occupy the same spot in a table, since many of the CS black Anothers have become LEGGENDARIA charts. Similar to how the SDVX INFINITE/GRAVITY/HEAVENLY/VIVID difficulty column is treated. --[[User:Thunderbird|Thunderbird]] ([[User talk:Thunderbird|talk]]) 17:27, 13 July 2019 (UTC)
* Yeah, I actually thought about having a switch between them, so for the songs which only have Black ANOTHERs (i.e. [[LAB]]) are shown in black with red text, and those with LEGGENDARIA are shown with the purple background by default. Will test it later once we're done fixing the other songs. --[[User:FinalOffset|FinalOffset]] ([[User talk:FinalOffset|talk]]) 17:46, 13 July 2019 (UTC)

Latest revision as of 17:46, 13 July 2019

ez conversion

I did this while updating the RA notecounts then realized since I haven't done anything since I should just post about in case it'd save anybody else time.

  • copy and paste a bunch of Difficulty & Notecounts using the outdated notecounts into Notepad++
  • go to Replace, check "Regular expression" in the bottom left
  • Find and Replace the former with the latter:
    • \{\{(?:IIDX Chart Info|IIDX CN Chart Info|IIDX BSS Chart Info|IIDX CNBSS Chart Info).*\r\n\| (?:beg_notes = (.*)\r\n|).* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)
    • {{IIDX Chart Header|\r\n{{IIDX Chart Notecounts|$1|$2|$3|$4|$5|$6|$7}}
  • do that again with:
    • \| chart_version_[0-9]+ = (.*)\r\n(?:\| beg_difficulty_[0-9]+ = (.*)\r\n|).* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)\r\n.* = (.*)
    • {{IIDX Chart|$1|$2|$3|$4|$5|$6|$7|$8}}
  • then do a normal find and replace, finding "||" and replacing it with "|-|" (so nonexistent beginner charts show up as "-")

You will need to add in stuff like "cn=a|" for charge notes manually, but this should save some time for anybody who wants to work on this, life is too short to convert a bunch of templates on IIDX wiki pages manually.

I only know a lil bit about regex so I'm sure there are people who could do this much more efficiently still, I dunno who those people would be though!! --Hyso (talk) 01:17, 14 July 2015 (UTC)

  • Thanks, this will be handy (I was manually working on them, hence why I took a lot of time on them). --FinalOffset (talk) 02:05, 14 July 2015 (UTC)

Black Another vs LEGGENDARIA

I feel that these two should occupy the same spot in a table, since many of the CS black Anothers have become LEGGENDARIA charts. Similar to how the SDVX INFINITE/GRAVITY/HEAVENLY/VIVID difficulty column is treated. --Thunderbird (talk) 17:27, 13 July 2019 (UTC)

  • Yeah, I actually thought about having a switch between them, so for the songs which only have Black ANOTHERs (i.e. LAB) are shown in black with red text, and those with LEGGENDARIA are shown with the purple background by default. Will test it later once we're done fixing the other songs. --FinalOffset (talk) 17:46, 13 July 2019 (UTC)