forked from Dniel97/artemis
Merge remote-tracking branch 'origin/develop' into fork_develop
This commit is contained in:
commit
a65055fc8c
1
core/data/schema/versions/SDHD_1_rollback.sql
Normal file
1
core/data/schema/versions/SDHD_1_rollback.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE chuni_static_music CHANGE COLUMN worldsEndTag worldsEndTag VARCHAR(20) NULL DEFAULT NULL ;
|
1
core/data/schema/versions/SDHD_2_upgrade.sql
Normal file
1
core/data/schema/versions/SDHD_2_upgrade.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE chuni_static_music CHANGE COLUMN worldsEndTag worldsEndTag VARCHAR(7) NULL DEFAULT NULL ;
|
@ -47,10 +47,10 @@ class ChuniNew(ChuniBase):
|
|||||||
"matchErrorLimit": 9999,
|
"matchErrorLimit": 9999,
|
||||||
"romVersion": "2.00.00",
|
"romVersion": "2.00.00",
|
||||||
"dataVersion": "2.00.00",
|
"dataVersion": "2.00.00",
|
||||||
"matchingUri": f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
"matchingUri": f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
||||||
"matchingUriX": f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
"matchingUriX": f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
||||||
"udpHolePunchUri": f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
"udpHolePunchUri": f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
||||||
"reflectorUri": f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
"reflectorUri": f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/200/ChuniServlet/",
|
||||||
},
|
},
|
||||||
"isDumpUpload": "false",
|
"isDumpUpload": "false",
|
||||||
"isAou": "false",
|
"isAou": "false",
|
||||||
|
@ -16,8 +16,8 @@ class ChuniNewPlus(ChuniNew):
|
|||||||
ret = super().handle_get_game_setting_api_request(data)
|
ret = super().handle_get_game_setting_api_request(data)
|
||||||
ret["gameSetting"]["romVersion"] = "2.05.00"
|
ret["gameSetting"]["romVersion"] = "2.05.00"
|
||||||
ret["gameSetting"]["dataVersion"] = "2.05.00"
|
ret["gameSetting"]["dataVersion"] = "2.05.00"
|
||||||
ret["gameSetting"]["matchingUri"] = f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
ret["gameSetting"]["matchingUri"] = f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
||||||
ret["gameSetting"]["matchingUriX"] = f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
ret["gameSetting"]["matchingUriX"] = f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
||||||
ret["gameSetting"]["udpHolePunchUri"] = f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
ret["gameSetting"]["udpHolePunchUri"] = f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
||||||
ret["gameSetting"]["reflectorUri"] = f"http://{self.core_cfg.server.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
ret["gameSetting"]["reflectorUri"] = f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/SDHD/205/ChuniServlet/"
|
||||||
return ret
|
return ret
|
||||||
|
@ -82,7 +82,7 @@ class ChuniReader(BaseReader):
|
|||||||
for MusicFumenData in fumens.findall('MusicFumenData'):
|
for MusicFumenData in fumens.findall('MusicFumenData'):
|
||||||
fumen_path = MusicFumenData.find('file').find("path")
|
fumen_path = MusicFumenData.find('file').find("path")
|
||||||
|
|
||||||
if fumen_path.text is not None:
|
if fumen_path is not None:
|
||||||
chart_id = MusicFumenData.find('type').find('id').text
|
chart_id = MusicFumenData.find('type').find('id').text
|
||||||
if chart_id == "4":
|
if chart_id == "4":
|
||||||
level = float(xml_root.find("starDifType").text)
|
level = float(xml_root.find("starDifType").text)
|
||||||
|
@ -34,7 +34,7 @@ music = Table(
|
|||||||
Column("level", Float),
|
Column("level", Float),
|
||||||
Column("genre", String(255)),
|
Column("genre", String(255)),
|
||||||
Column("jacketPath", String(255)),
|
Column("jacketPath", String(255)),
|
||||||
Column("worldsEndTag", String(20)),
|
Column("worldsEndTag", String(7)),
|
||||||
UniqueConstraint("version", "songId", "chartId", name="chuni_static_music_uk"),
|
UniqueConstraint("version", "songId", "chartId", name="chuni_static_music_uk"),
|
||||||
mysql_charset='utf8mb4'
|
mysql_charset='utf8mb4'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user