Card Maker 1.34/1.36 ONGEKI support #10

Merged
Midorica merged 6 commits from Dniel97/artemis:cardmaker_ongeki into develop 2023-03-08 22:49:15 +00:00
Contributor

Changes (a lot)

  • Added ping requests to Chunithm NEW!! and MaiMaiDX Universe
  • Added new tables: ongeki_user_gacha, ongeki_user_gacha_supply, ongeki_static_gachas, ongeki_static_gacha_cards, ongeki_static_cards and ongeki_user_print_detail
  • Added enabled_gachas toongeki config, which lets you configure all gachas (banner) shown in Card Maker
  • Added preconfigred data to titles/cm/cm_data/, which can be loaded using the read.py script
  • ...

First use

First create all required database table schemas using:

python dbutils.py create

After that fill the tables with the required data, using:

python read.py --series SDED --version 1 --binfolder titles\cm\cm_data --optfolder path\to\cm\opt
python read.py --series SDDT --version 7 --binfolder path\to\ongeki\bin --optfolder path\to\ongeki\opt

Now copy the examples\config\Ongeki.yaml to config\.

Notices

Card Maker 1.34 only supports ONGEKI Bright (up to 1.30.01) and will only load a ONGEKI Bright profile. Card Maker 1.36 will load an Ongeki Bright Memory profile. The gachas inside the "Ongeki.yaml" will make sure only the right gacha ids for the right CM version will be loaded. All gacha ids up to 1140 will be laoded for CM 1.34 and all will be laoded for CM 1.36.

Gachas

Gacha "無料ガチャ" can only pull from the free cards with the following probabilities: 94%: R, 5% SR and 1% chance of getting a SSR card

Gacha "無料ガチャ(SR確定" can only pull from free SR cards with prob: 92% SR and 8% chance of getting a SSR card

Gacha "レギュラーガチャ" can pull from every card added to ongeki_static_cards with the following prob: 77% R, 20% SR and 3% chance of getting a SSR card

All other (limited) gachas can pull from every card added to ongeki_static_cards but with the promoted cards (click on the green button under the banner) having a 10 times higher chance to get pulled

Working

  • Printing of all owned cards (up to Bright) with proper kaika upgrade and level cap
  • Select Gacha after 110 or 33 rolls depending on the gacha
  • Free and Free SR Gacha Tickets detection (shows a nice animated notice above the gacha roll button)
  • SSR guaranteed book, which guarantees a SSR card
  • First 5 gacha roll guarantees at least a SR or higher (should be reset after a week but not implemented)
  • All 11 gacha rolls guarantee at least a SR or higher
  • Print logs with every serial number printed

Not working

  • Card Maker should stop allowing gacha rolls after 34 rolls but well it does not work (not a huge loss lol)
## Changes (a lot) - Added ping requests to Chunithm NEW!! and MaiMaiDX Universe - Added new tables: `ongeki_user_gacha`, `ongeki_user_gacha_supply`, `ongeki_static_gachas`, `ongeki_static_gacha_cards`, `ongeki_static_cards` and `ongeki_user_print_detail` - Added `enabled_gachas` toongeki config, which lets you configure all gachas (banner) shown in Card Maker - Added preconfigred data to `titles/cm/cm_data/`, which can be loaded using the read.py script - ... ## First use First create all required database table schemas using: ``` python dbutils.py create ``` After that fill the tables with the required data, using: ``` python read.py --series SDED --version 1 --binfolder titles\cm\cm_data --optfolder path\to\cm\opt python read.py --series SDDT --version 7 --binfolder path\to\ongeki\bin --optfolder path\to\ongeki\opt ``` Now copy the `examples\config\Ongeki.yaml` to `config\`. ## Notices Card Maker 1.34 only supports ONGEKI Bright (up to 1.30.01) and will only load a ONGEKI Bright profile. Card Maker 1.36 will load an Ongeki Bright Memory profile. The gachas inside the "Ongeki.yaml" will make sure only the right gacha ids for the right CM version will be loaded. All gacha ids up to `1140` will be laoded for CM 1.34 and all will be laoded for CM 1.36. ## Gachas Gacha "無料ガチャ" can only pull from the free cards with the following probabilities: 94%: R, 5% SR and 1% chance of getting a SSR card Gacha "無料ガチャ(SR確定" can only pull from free SR cards with prob: 92% SR and 8% chance of getting a SSR card Gacha "レギュラーガチャ" can pull from every card added to `ongeki_static_cards` with the following prob: 77% R, 20% SR and 3% chance of getting a SSR card All other (limited) gachas can pull from every card added to `ongeki_static_cards` but with the promoted cards (click on the green button under the banner) having a 10 times higher chance to get pulled ## Working - Printing of all owned cards (up to Bright) with proper kaika upgrade and level cap - `Select Gacha` after 110 or 33 rolls depending on the gacha - `Free` and `Free SR` Gacha Tickets detection (shows a nice animated notice above the gacha roll button) - `SSR guaranteed` book, which guarantees a SSR card - First 5 gacha roll guarantees at least a SR or higher (should be reset after a week but not implemented) - All 11 gacha rolls guarantee at least a SR or higher - Print logs with every serial number printed ## Not working - Card Maker should stop allowing gacha rolls after 34 rolls but well it does not work (not a huge loss lol)
Dniel97 added 3 commits 2023-03-03 23:16:44 +00:00
Dniel97 force-pushed cardmaker_ongeki from 06e782b888 to 3acc2dc197 2023-03-03 23:22:14 +00:00 Compare
Collaborator

Hello Dniel,

So far as we saw, there was one slight issue in the upgrade SQL script regarding the end date but otherwise, everything has been working quite nicely

Printing a card does actually upgrade / unlock the card in-game and the gacha rolls like the 3rd Anniversary does work properly.

When doing the 3 rolls, it did ask to select a SSR card that I wanted to print and did show in Ongeki afterward too.

On my end, as long the small typo with the script is fixed, it should be ready to go

Thanks!

Edit: You should edit the reader a bit for the gacha cards to actually be used with the SDDT reader instead as they can be loaded off A000 and option data

Hello Dniel, So far as we saw, there was one slight issue in the upgrade SQL script regarding the end date but otherwise, everything has been working quite nicely Printing a card does actually upgrade / unlock the card in-game and the gacha rolls like the 3rd Anniversary does work properly. When doing the 3 rolls, it did ask to select a SSR card that I wanted to print and did show in Ongeki afterward too. On my end, as long the small typo with the script is fixed, it should be ready to go Thanks! Edit: You should edit the reader a bit for the gacha cards to actually be used with the SDDT reader instead as they can be loaded off A000 and option data
Dniel97 added 1 commit 2023-03-04 10:09:05 +00:00
Dniel97 added 1 commit 2023-03-05 22:54:17 +00:00
74f3ab7c3f
cm: added support for 1.36, fixed importer
- Added support for Card Maker 1.36.xx
- Added cards importer to ONGEKI importer
- Added 4 new 1.36 gachas (requires importing them from opt files)
- Fixed version for Card Maker opt importer
Dniel97 changed title from WIP: Card Maker 1.34 ONGEKI support to WIP: Card Maker 1.34/1.36 ONGEKI support 2023-03-05 23:04:58 +00:00
Dniel97 added 1 commit 2023-03-06 15:06:18 +00:00
Dniel97 changed title from WIP: Card Maker 1.34/1.36 ONGEKI support to Card Maker 1.34/1.36 ONGEKI support 2023-03-06 15:08:29 +00:00
Dniel97 force-pushed cardmaker_ongeki from 501254b115 to 6609732546 2023-03-06 15:20:51 +00:00 Compare
Collaborator

Hello Dniel,

Since this is all looking good and tested to work, I will now approve the merge

In the future, we may need an actual documentation on how the reader work so users can import their data in it and actually use it

Thank you

Hello Dniel, Since this is all looking good and tested to work, I will now approve the merge In the future, we may need an actual documentation on how the reader work so users can import their data in it and actually use it Thank you
Midorica merged commit 4c64305f15 into develop 2023-03-08 22:49:15 +00:00
Dniel97 deleted branch cardmaker_ongeki 2023-04-10 16:59:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#10
No description provided.