Kengxxiao / ArknightsGameData

《明日方舟》游戏数据
1.42k stars 269 forks source link

Compile game_data json file #22

Closed Gnihc42 closed 1 year ago

Gnihc42 commented 1 year ago

Hello, I would like to ask if it's possible to compile the character_table.json back to it's original Unity TextAsset format?

Kengxxiao commented 1 year ago

In CN server, I think you can deserialize original character_table assetbundle via flatbuffers compiler (check schema in FBS repo) and modify the result, serialize it back. I do not know if it works. You should pay attention to the signature check of data files in game, you need to check how to bypass it by yourself.

Gnihc42 commented 1 year ago

How do I serialize, deserialize it though? I got flatc installed. but i dont really know how to use it image

Gnihc42 commented 1 year ago

Or can you show me how your bot update these files instead?