Open Vultren opened 7 years ago
Thanks for the help offer Vultren, I have updated the repo with my latest code.
Unfortunately I don't have continuous integration for the badge generator (webhost doesn't allow access). You should host your own version if possible. If you need any help on how I add new ships/furniture, feel free to ask.
I was wondering how you pull the images. I have a good idea on adding ship spaces from looking at the code but not at the pictures
I use Fiddler to extract the swf name from the master json on game load and use a swf extractor to get the sprites. You can just use the image from Kancolle Wikia though.
For the icon, I take a 150x150 icon and resize it to 100x100. To position the full image, I kinda just use the tool's custom X and Y to help position it.
OK I understand most of the process with the api through some trial and error. Need to wait until I get to my other computer w/ GIMP to work with the icons. 150x150 is a bit big for the base files in the swf. What tool did you use for the positioning?
Sorry, by icon I mean the portraits of the kanmusu. Most of the kanmusu need 150x150 to fully capture their head and not just their face. However, some kanmusu can also use 125x125 and 100x100. Just make sure to resize everything to 100x100.
By the tool, I mean the badge generator itself. In the custom tab, you can set a custom position (Kanmusu X, Kanmusu Y).
I think I messed up my explanation a bit. I meant that the files in the swf file are 287x430 and 150x150 was taking more than the head, but then I realized I used the wrong picture, so you can ignore what I said. I had used the full body pic instead of the more zoomed in one
I was planning to help out with updates on the badge maker, but I'm not seeing Kinu K2 in the repo even though she on the live version. Is this most recent version?