XVs32 / kancolle-replay-equipment-preset-edition

Sortie Replay and Simulation by @fourinone41
MIT License
0 stars 0 forks source link

Understanding the project structure #1

Open XVs32 opened 3 months ago

XVs32 commented 3 months ago

Why:

To start using this code base

What:

  1. Understand the structure of this project
  2. Setup a git io website with this code
  3. Plan out what I will have to change for my need

How:

  1. Read the code, LOL. And leave note too, that's what helps
  2. Follow the guide here see if I can put this site on github io
  3. Plan out what I need to link this thing up to kcauto_costom's equipment preset function

Result:

The thing is on Github io now, we could start testing stuff https://xvs32.github.io/kancolle-replay-equipment-preset-edition/simulator.html

Ref:

XVs32 commented 3 months ago

For 3, it's kinda simple for the first step

All I need is import multi .kc3 files, select and edit, finally output it

Converting to back to kancolle api format could be the next step, or I can even put the convert function in kcauto_custom, so that kcauto_custom just simply read the .kc3 file

XVs32 commented 3 months ago

The copy of original site is now on https://xvs32.github.io/kancolle-replay-equipment-preset-edition/simulator.html

I can now start messing around

XVs32 commented 3 months ago

First thing first... Let's find out where is the .kc3 file handling function

XVs32 commented 3 months ago

Got the handler It's onchangeFileKC3 in fleet-editor.js

XVs32 commented 3 months ago

Man, this is definitely the right path I am able to upload a folder of .kc3 and switch between them now