From 7033234b23a268b7f70284beae018ac1149f4cf9 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Sun, 1 Oct 2023 21:41:08 +0200 Subject: [PATCH] IDAC: Added better doc, fixed timetrial event --- docs/game_specific_info.md | 42 +++++++++++++++++++ .../data/stamps/touhou_flandre_scarlet.json | 2 +- .../data/stamps/touhou_remilia_scarlet.json | 6 +-- .../data/stamps/touhou_sakuya_izayoi.json | 6 +-- titles/idac/season2.py | 6 ++- 5 files changed, 54 insertions(+), 8 deletions(-) diff --git a/docs/game_specific_info.md b/docs/game_specific_info.md index 2baa12c..20d4a23 100644 --- a/docs/game_specific_info.md +++ b/docs/game_specific_info.md @@ -597,6 +597,48 @@ python dbutils.py --game SDGT upgrade 34. Full Tune Ticket Fragment 35. Underneon Lights +### TimeRelease Chapter: + +1. Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11?) +2. MF Ghost: 10, 11, 12, 13, 14, 15 +3. Bunta: 15, 16, 17, 18, 19, 20, (21, 21, 22?) +4. Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project) + +### TimeRelease Courses: + + +| Course ID | Course Name | Direction | +| --------- | ------------------------- | ------------------------ | +| 0 | Akina Lake(秋名湖) | CounterClockwise(左周り) | +| 2 | Akina Lake(秋名湖) | Clockwise(右周り) | +| 52 | Hakone(箱根) | Downhill(下り) | +| 54 | Hakone(箱根) | Hillclimb(上り) | +| 36 | Usui(碓氷) | CounterClockwise(左周り) | +| 38 | Usui(碓氷) | Clockwise(右周り) | +| 4 | Myogi(妙義) | Downhill(下り) | +| 6 | Myogi(妙義) | Hillclimb(上り) | +| 8 | Akagi(赤城) | Downhill(下り) | +| 10 | Akagi(赤城) | Hillclimb(上り) | +| 12 | Akina(秋名) | Downhill(下り) | +| 14 | Akina(秋名) | Hillclimb(上り) | +| 16 | Irohazaka(いろは坂) | Downhill(下り) | +| 18 | Irohazaka(いろは坂) | Reverse(逆走) | +| 56 | Momiji Line(もみじライン) | Downhill(下り) | +| 58 | Momiji Line(もみじライン) | Hillclimb(上り) | +| 20 | Tsukuba(筑波) | Outbound(往路) | +| 22 | Tsukuba(筑波) | Inbound(復路) | +| 24 | Happogahara(八方ヶ原) | Outbound(往路) | +| 26 | Happogahara(八方ヶ原) | Inbound(復路) | +| 40 | Sadamine(定峰) | Downhill(下り) | +| 42 | Sadamine(定峰) | Hillclimb(上り) | +| 44 | Tsuchisaka(土坂) | Outbound(往路) | +| 46 | Tsuchisaka(土坂) | Inbound(復路) | +| 48 | Akina Snow(秋名雪) | Downhill(下り) | +| 50 | Akina Snow(秋名雪) | Hillclimb(上り) | +| 68 | Odawara(小田原) | Forward(順走) | +| 70 | Odawara(小田原) | Reverse(逆走) | + ### Credits +- Kinako: For helping with the timeRelease unlocking of courses and special mode A huge thanks to all people who helped shaping this project to what it is now and don't want to be mentioned here. diff --git a/titles/idac/data/stamps/touhou_flandre_scarlet.json b/titles/idac/data/stamps/touhou_flandre_scarlet.json index 31638e1..23d2a7d 100644 --- a/titles/idac/data/stamps/touhou_flandre_scarlet.json +++ b/titles/idac/data/stamps/touhou_flandre_scarlet.json @@ -2,7 +2,7 @@ "m_stamp_event_id": 25, "stamp_event_nm": "*フランドール・スカーレットスタンプ", "url": "https://info-initialdac.sega.jp/2290/", - "start_dt": 1667797169, + "start_dt": "2023-10-01", "end_dt": "2029-01-01", "play_bonus": 1, "daily_bonus": 2, diff --git a/titles/idac/data/stamps/touhou_remilia_scarlet.json b/titles/idac/data/stamps/touhou_remilia_scarlet.json index 82eeff4..3d917a9 100644 --- a/titles/idac/data/stamps/touhou_remilia_scarlet.json +++ b/titles/idac/data/stamps/touhou_remilia_scarlet.json @@ -2,7 +2,7 @@ "m_stamp_event_id": 24, "stamp_event_nm": "*レミリア・スカーレットスタンプ", "url": "https://info-initialdac.sega.jp/2096/", - "start_dt": 1667797169, + "start_dt": "2023-10-01", "end_dt": "2029-01-01", "play_bonus": 1, "daily_bonus": 2, @@ -15,7 +15,7 @@ "bonus_daily_flag": 0 } ], - "sheet_design": 7, + "sheet_design": 6, "sheet_stamp": 0, "sheet_set": [ { @@ -263,7 +263,7 @@ "reward_category_b": 0, "reward_type_b": 0, "reward_is_pickup": 1, - "reward_pickup_display_name": "" + "reward_pickup_display_name": "「紅色の幻想郷」" } ] }, diff --git a/titles/idac/data/stamps/touhou_sakuya_izayoi.json b/titles/idac/data/stamps/touhou_sakuya_izayoi.json index 029358c..7b98fb3 100644 --- a/titles/idac/data/stamps/touhou_sakuya_izayoi.json +++ b/titles/idac/data/stamps/touhou_sakuya_izayoi.json @@ -2,7 +2,7 @@ "m_stamp_event_id": 26, "stamp_event_nm": "*十六夜咲夜スタンプ", "url": "https://info-initialdac.sega.jp/2306/", - "start_dt": 1667797169, + "start_dt": "2023-10-01", "end_dt": "2029-01-01", "play_bonus": 1, "daily_bonus": 2, @@ -278,7 +278,7 @@ "reward_category_b": 0, "reward_type_b": 0, "reward_is_pickup": 0, - "reward_pickup_display_name": "" + "reward_pickup_display_name": "ドレスアップトークン×1" }, { "reward_setting_masu": 20, @@ -287,7 +287,7 @@ "reward_category_b": 0, "reward_type_b": 0, "reward_is_pickup": 0, - "reward_pickup_display_name": "" + "reward_pickup_display_name": "アバタートークン×1" } ] } diff --git a/titles/idac/season2.py b/titles/idac/season2.py index 8e548e5..3142d49 100644 --- a/titles/idac/season2.py +++ b/titles/idac/season2.py @@ -253,7 +253,7 @@ class IDACSeason2(IDACBase): def handle_boot_gettimereleasedata_request(self, data: Dict, headers: Dict): """ - timerelease_story: + timerelease chapter: 1 = Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11 lol?) 2 = MF Ghost: 10, 11, 12, 13, 14, 15 3 = Bunta: 15, 16, 17, 18, 19, 20, (21, 21, 22?) @@ -1291,6 +1291,10 @@ class IDACSeason2(IDACBase): "location_course_store_rank": course_rank, "car_use_count": [], "maker_use_count": [], + "timetrial_event_data": { + "timetrial_event_id": self.timetrial_event_id, + "point": event_point, + } } def handle_user_updatestoryresult_request(self, data: Dict, headers: Dict):