Files
zkldi_Tachi/seeds/scripts/rerunners/ddr

Import DDR Gamedata

  1. Generate gamedata under the following XML format :
<?xml version="1.0" encoding="UTF-8"?>
<mdb>
	<music>
		<mcode __type="u32">999</mcode>
		<basename>randomsong</basename>
		<title>This song doesn't exist</title>
		<title_yomi>thissongdoesntexist</title_yomi>
		<artist>Some Artist</artist>
		<bpmmax __type="u16">120</bpmmax>
		<series __type="u8">2</series>
		<bemaniflag __type="u32">1</bemaniflag>
		<limited_cha __type="u8">1</limited_cha>
		<diffLv __type="u8" __count="10">3 5 6 9 0 0 6 8 8 0</diffLv>
	</music>
	<music>
		...
	</music>
	...
</mdb>

File must be stored in the same folder as the script with the name musicdb.xml

  1. At the last line of the script, eventually change the version if necessary. Current supported versions are a3 and konaste (which are very similar since konaste is based on a3)
  2. Run ts-node parse-gameData-xml.ts

Update stepCounts

Step counts are generated from SSQ files. You're on your own to find them.

  1. Put all your SSQ files in the ssq folder. The name of each file should correspond to the basename of each song (a 4~5 characters identifier)
  2. Run ts-node parse-charts.ts