Files
zkldi_Tachi/database-seeds/scripts/rerunners/ddr
Gyoo 4254e29917 DDR Implementation (#1132)
* feat: DDR Implementation

* style: lint fixes

* chore: update rg-stats

* feat: ddr konaste songs and charts update
2024-08-09 19:08:49 +01:00
..
2024-08-09 19:08:49 +01:00
2024-08-09 19:08:49 +01:00

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