Hello & Welcome to our community. Is this your first visit? Register
  • News & Announcements
      As a counter measurement to Ad spam, newly registered users are required to create a thread in the Introduction Forum before allowing to be able to reply and create threads.
      Please allow some time for posts to be approved. We thank you for your patience on this matter.
Bookmark Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Captain kazenorin's Avatar
    Join Date
    Feb 2016
    IGN
    かぜばね
    Server
    Hashirajima Anchorage
    Posts
    699
    Rep
    2
    Mentioned
    197 Post(s)

    [Tool] Poi-viewer Battle Record to KC3Kai Replay Converter

    Hey Poi-viewer users, I've made a tool that converts poi-viewer battle records into KanColle Replay compatible format (both the image and text-based loading).


    Early build under development available here

    So you just have to launch the "Battle Records" plugin on poi-viewer, choose the battle(s) you want to include and click the "COPY DATA" button:



    then paste it onto the text area of the tool:


    You can also upload text-based/gz data directly from your battle detail log directory (located at %APPDATA%\poi\battle-detail)
    Only useful if you know which files you want
    Actually you can make use of the "Date Modified" column and compare it with the time stamp in battle detail.
    There's a minute or more delay because battle detail's time is recorded at battle start, and "Date modified" is recorded at the end.
    The order of the files does not matter, the converter would sort them for you.



    Even though KC3Kai's replay is sortie-based and poi's battle records are logged battle-to-battle,
    it doesn't matter if you add one battle, the boss battle only, or unrelated battles - either way would work.

    You can add multiple battles to composite a sortie. If you happen to add unrelated battles involving different fleet, only the fleet comp involved in the first battle would be shown in the fleet details on KanColle Replay. The replays themselves would be normal and work as expected.

    The output of the tool is a JSON-format text that is readable by the Battle Player, and a compatible replay-image that can be uploaded to Imgur.

    Sample output image:


    After you uploaded the image to places like imgur, and have the image URL like this one:
    Code:
    https://i.imgur.com/wV0A6w7.png
    You can directly like to the replay in KC3 Replayer, like this:
    Code:
    https://kc3kai.github.io/kancolle-replay/battleplayer.html?fromImg=https://i.imgur.com/wV0A6w7.png

    The version supports most KanColle Replay features, including Combined Fleets, LBAS and Support Shelling.
    The tool runs entirely on the browser (client-side WebApp) and no server-code is involved, as well as open-sourced. (First time making an open-sourced project on GitHub )

    Let me know if you have any comments!

    -------------

    Update Log:

    • v1.0.0-alpha (2017-09-05)

      • Added ship icon thumbnails to the replay images
        • To make use of space:
          • single fleets are displayed in two rows, from left to right and then top to bottom (i.e. horizontally wrapped)
          • combined fleets are display as in the game battles, from top to bottom, main fleet left, escort on the right.

        • Images are loaded from this project via Github: https://github.com/Diablohu/WhoCallsTheFleet-Pics
          • No images are stored in this project


      • Added "loader animations" to let user know the application is running
        • Loading is solely caused by retrieving ship icon thumbnail images from the server

      • Version bumped to 1.0.0 because all envisioned features has been completed, entering pre-release phase.




    • v0.4.0 (2017-09-01)
      • Upload by file enhancements: now automatically reorders battle by poi recorded timestamp
      • Added dynamically generated template image
      • Support customized string for owner and caption

    • v0.3.0 (2017-08-25)
      • Fixed incorrect combined fleet interpretation: every combined fleet was recognized as CTFs before
      • Fixed incorrect PvP recognition: PvP was not properly recognized before

    • v0.2.0 (2017-08-17)
      • Added a limit on the data size for conversion
      • Added 4 images of different resolution to support differ data size
      • Use a slightly nicer output image

    • v0.1.1 (2017-08-16)
      • Minor UI improvements

    • v0.1.0 (2017-08-16)
      • Added support for:
        • Combined fleet
        • LBAS fleet details
        • Data conversion for PvP/Exercises
          • However KanColle Replay does not seem to support this

    • v0.0.1 (2017-08-14)
      • First working version:
        • Importing:
          • Supports copied and pasted poooi/plugin-battle-detail data
          • Supports poooi/plugin-battle-detail GZipped data

        • Exporting:
          • JSON String
          • PNG Steganography similar to KC3Kai’s

        • Supported KanColle Replay features:
          • Single-fleet battles
            • Including enemies with combined fleets (e.g. 6-5 boss)

          • Support Expeditions
          • LBAS
          • Fleet details (Single Fleet only)


    Last edited by kazenorin; 09-05-2017 at 07:12 AM.
    Got stuck and cannot proceed, then you, my first battleship passionately came: Kongou 143/165, 2016-02-28
    LSC Journey | Taihou 2016-06-16 | Yamato 2016-09-03 | Musashi 2016-09-08 | Bismarck 2016-09-10
    KanDex complete: 2018-03-18

  2. #2
    Kantai Analyst 211303's Avatar
    Join Date
    Mar 2016
    IGN
    Harold
    Server
    Lingga
    Posts
    7,296
    Rep
    119
    Mentioned
    5039 Post(s)
    @kazenorin Thanks a lot for this. Would be much more convenient now to share my replays.


    The sexiest bridge ever made.

  3. #3
    Admiral goesto11's Avatar
    Join Date
    Oct 2014
    Server
    Paramushir Anchorage
    Posts
    4,656
    Rep
    168
    Mentioned
    1465 Post(s)
    Bit off topic, but Poi Viewer related, I tried to check out Poi (looks nice), but could NOT get it to work (Win 7 x64, older PC, but serves my needs). Installed the Win x64 version several times, and all I get is a blank/white screen. Also installed the latest x64 version of Node.js (which includes npm), copied the text in the box under the "Run" section on Poi GitHub (i.e. "git clone https://github.com/poooi/poi && cd poi" & the rest) into Node.Js command prompt, and all I got was a bunch of errors. Node.Js seemed to work fine (verified version of it and npm via command prompt). Not only that, after installing Poi and trying the Node.Js part, firefox seemed bogged down. Slow or stopped responding. Uninstalling Poi & Node Js fixed that. Not sure the deal there. If it helps, got full blank screen with/without Node.Js.

    I'm not a programmer type so maybe I'm missing something here Frankly, I'm not sure why the separate part with Node.Js. I guess you need to do that part again with new Poi versions? At any rate, would really appreciate some detailed "noob" instructions on how to get Poi up and running - including if I need to set region cookies (already set for KCV & EO). I did not try the x32 version, but don't see why I should need to use that.

    Thanks for the help & nice work, kazenorin


    Thanks to Arkayda for the signature.


  4. #4
    Captain kazenorin's Avatar
    Join Date
    Feb 2016
    IGN
    かぜばね
    Server
    Hashirajima Anchorage
    Posts
    699
    Rep
    2
    Mentioned
    197 Post(s)
    @211303 Glad its useful to you

    - - - Updated - - -
    @goesto11 You tried the pre-built version right? Poi installs should very automated and ought to just work...

    Maybe try the zipped version as well?

    You don't need to install node.js unless you're developing it.


    Got stuck and cannot proceed, then you, my first battleship passionately came: Kongou 143/165, 2016-02-28
    LSC Journey | Taihou 2016-06-16 | Yamato 2016-09-03 | Musashi 2016-09-08 | Bismarck 2016-09-10
    KanDex complete: 2018-03-18

  5. #5
    Admiral goesto11's Avatar
    Join Date
    Oct 2014
    Server
    Paramushir Anchorage
    Posts
    4,656
    Rep
    168
    Mentioned
    1465 Post(s)
    @kazenorin: First, thanks for the reply. Second, glad to know don't need the Node.JS so I'm not stumbling around with that. Third, I did try the pre-built (install version), but not the zipped.

    Just tried the zipped version now, and finally figured out the deal. Short version, security program (3rd party - not built into Win) I've used for years, but it didn't work as it should for some reason. Had to re-do the exclusion for Poi folder. That worked for the zipped version.

    Question: Assuming I should use x64 version, is the zipped version that? Can stick with zip version or try the "pre-built" win x64 version I have again. That should work (and I'll double check stupid security program if it doesn't)


    Thanks to Arkayda for the signature.


  6. #6
    Captain kazenorin's Avatar
    Join Date
    Feb 2016
    IGN
    かぜばね
    Server
    Hashirajima Anchorage
    Posts
    699
    Rep
    2
    Mentioned
    197 Post(s)
    @goesto11 The zipped version is the x64 version, there's another link for the 32-bit version on the releases page


    Got stuck and cannot proceed, then you, my first battleship passionately came: Kongou 143/165, 2016-02-28
    LSC Journey | Taihou 2016-06-16 | Yamato 2016-09-03 | Musashi 2016-09-08 | Bismarck 2016-09-10
    KanDex complete: 2018-03-18

  7. #7
    Admiral goesto11's Avatar
    Join Date
    Oct 2014
    Server
    Paramushir Anchorage
    Posts
    4,656
    Rep
    168
    Mentioned
    1465 Post(s)
    @kazenorin: Thanks. Wasn't sure since it didn't expressly say so. Zipped (x64) version is fine by me (prefer zip version anyway). Key thing is I finally got it to work.


    Thanks to Arkayda for the signature.


  8. #8
    Admiral goesto11's Avatar
    Join Date
    Oct 2014
    Server
    Paramushir Anchorage
    Posts
    4,656
    Rep
    168
    Mentioned
    1465 Post(s)
    @kazenorin: Sorry for all the Poi questions, but no dedicated general thread for that. I tried it out a bit, but can't get it to install new plug-ins, specifically the plugin-battle-detail one. Tried the online npm thing, but the "install" button for doesn't seem to work. Clicking on it does nothing (and it's dark unlike other buttons). Maybe I didn't put in the right text or something. Tried a a few things, but didn't work. Also DL'd the plugin-battle-detail-master.zip folder, but that didn't work for the the other way to install (drop files, or select folder). Tried it zipped & unzipped.

    So how do you install more plug-ins into Poi? Thanks for all the help.


    Thanks to Arkayda for the signature.


  9. #9
    Captain kazenorin's Avatar
    Join Date
    Feb 2016
    IGN
    かぜばね
    Server
    Hashirajima Anchorage
    Posts
    699
    Rep
    2
    Mentioned
    197 Post(s)
    @goesto11 I'm guessing that its your security software thing.

    Plugins should work simply by using the poi default settings and clicking the blue install button on the plugins tab.

    You might want to:
    1. Run poi as administrator
    2. Add %APPDATA%\poi\plugins\node_modules and/or %APPDATA%\poi\plugins\node_modules as exception in your security software (p.s. If you need the resolved "actual" path, you can "Win - R" and paste in the variable path, and file explorer would be launched there. Alternatively, directly type in / paste the path on the file explorer address bar)
    3. If the above doesn't work, if you happened to have installed npm, which itself is installed with nodejs, you might be able to install the plugins manually. I'll write a more detailed instruction on this if the above 2 methods doesn't work for you.


    Got stuck and cannot proceed, then you, my first battleship passionately came: Kongou 143/165, 2016-02-28
    LSC Journey | Taihou 2016-06-16 | Yamato 2016-09-03 | Musashi 2016-09-08 | Bismarck 2016-09-10
    KanDex complete: 2018-03-18

  10. #10
    Kantai Analyst 211303's Avatar
    Join Date
    Mar 2016
    IGN
    Harold
    Server
    Lingga
    Posts
    7,296
    Rep
    119
    Mentioned
    5039 Post(s)
    I just tried to convert one of my battles, but the replayer does not recognize the pic. Loading the code itself works.

    - - - Updated - - -

    I get the "Error, data may be corrupted" message


    The sexiest bridge ever made.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT. The time now is 08:03 AM.
Powered by vBulletin® Version 4.2.2
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
Resources saved on this page: MySQL 8.70%
vBulletin Optimisation provided by vB Optimise v2.6.3 (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Thread / Post Bookmarks provided by Thread / Post Bookmarking v1.1.1pl1 (Free) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd. Runs best on HiVelocity Hosting.
Live Threads provided by AJAX Threads (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
vBulletin Skin By: PurevB.com