User:Starmapo5/Wiki Guide

So you wanna be a professional wiki contributor huh? Good because we could really use some!

First of all use the source editor and not the visual editor. Also, these guides will be assuming you're using the programs I recommended.

Also note these guides are for Windows users cause, y'know, I use Windows.

Making GIFs
What you need:
 * Image editing program (I highly recommend paint.net)
 * Program to view XML files (I highly recomend Notepad++, but normal Notepad works too)
 * Sprite sheet and XML sheet for the character you want
 * Time and patience

1. Open up the sprite sheet PNG and XML/TXT of the character you want.

2. In the XML/TXT, find the name of the animation you want. For example, in Boyfriend's XML sheet his idle animation is called "BF idle dance".

Now I will split this into two parts, for both XML and TXT files.

XML
3. There should be a "frameWidth" and "frameHeight" for all the frames of the animation, which should stay consistent throughout. In your image editor make a new image with that exact same width and height. If there isn't a consistent "frameWidth" and "frameHeight" for all the frames (like for Mid-Fight Masses characters), you'll have to resize this image corresponding for every frame. Thankfully you shouldn't come across this very often.

4. For each frame you want to select at the X and Y that frame says to, as well as make it the width and height that frame says to. I'll assume you're using paint.net, there should be some text at the bottom once you select, you want to make sure that "Selection top left" is the same as the X and Y that the frame in the XML file says, and "Bounding rectangle size" is the same as the width and height of that frame. You can use the arrow keys to move around the selection, and grab the sides of the selection box to change the width/height.

5. After you have your frame correctly selected, copy it and then in the new image you created a bit ago paste it in. Now you'll have to position that frame as the "frameX" and "frameY" says to. Kind of the same thing as last time, position the "Selection top left" as the frameX and frameY (not the same ones you used last time). Also important, ignore the negative signs! Pretty much in paint.net a negative X or Y means the selection goes out of the frame and you don't want that do you. So don't pay attention to the minuses and only the numbers.

TXT
(Read the XML text above so you understand what I'm talking about here!)

3. There should be 4 numbers for all the frames. The first two correspond to the X and Y while the last two correspond to the width and height. The width and height should be the same across all the animation frames so the new image file should be of that width and height.

4. For each frame you want to select at the X and Y that frame says to, as well as make it the width and height that frame says to.

5. After you have your frame correctly selected, copy it and then in the new image you created a bit ago paste it in. As these TXT files don't have frameX or frameY, you do not have to worry about positioning here.

(split ends here)

6. After that, you can save the image file somewhere. I recommend making a folder specifically for them, and naming them in numerical order, so the first one would be "0", then "1", then "2" and so on and so forth. Why start at 0? Well the XML file also starts at 0 so that helps you not get confused with the numbering.

Repeat this process for every single frame of the animation. I know, sounds tedious, but once you get the hang of it, it really isn't that bad. Just time-consuming. Also more often than not there'll be duplicate frames (frames that have the exact same X, Y, width, height, etc.), for this you can just save the image multiple times in a row.

Note the frames may sometimes have residue (stuff that shouldn't be there), this is due to the way Adobe Animate generates these spritesheets to save space thus stacking frames on top of each other, you can remove them manually.

After you have all the frames needed, you can go to a gif-making website (I always use gifmaker.me, a good secondary option is ezGIF) and upload the frames. I almost always use 40 milliseconds in between frames (use 4 instead of 40 if you're using ezGIF).

Your gif should be done now! If your gif needs cropping, you can go to ezGIF to crop it. Usually the best solution is to just select "trim transparent pixels around the image".

A little visual guide:

Adding Songs
This'll be divided in two sections: getting an MP3 file of the song you want, and then adding it to your page.

What you need:
 * An audio editing program (I highly recommend Audacity)
 * The instrumental and vocal files of the song (sometimes there aren't vocals, in which case you'll just need the instrumental)

1. Getting the MP3
1. Import the song files into Audacity (File > Import > Audio...).

2. Once they're finished importing, export as an MP3 (File > Export > Export as MP3). Why MP3 and not OGG? Apple devices can't directly play OGG files (you'd have to install a third-party app) and we'd rather make it easy for everyone.

2. Adding it to a page
1. Upload your song's file to the wiki. It's faster to do it with the "Mass upload" feature, however if there is a name conflict you'll have to add it and change the name manually through the "Media" feature.

2. Simply add a "SongInfo" template to the page. Example:


 * bordercolor: The hex code of the color that the border around the box will use. Defaults to #374982 which is this color.
 * icon: The file name of the opponent's health icon.
 * px: Number of pixels that the icon's width will be extended or shrunk to. (only has an effect if there is an icon used)
 * name: The name of the song. NECESSARY!
 * file: The file name of the song's audio file. NECESSARY!
 * bpm: The beats per minute of the song.
 * scroll: The scroll speeds of the song's charts.
 * lyrics: The lyrics of the song, if there are any.

Best Cropping
What you need:
 * Image editing program (Again, highly recommend paint.net)
 * The image you want to crop (most likely an icon).

1. Crop around the area of the image you want. Doesn't have to be perfect, just make sure not to get parts of other sprites you don't want.

2. Select the Magic Wand and set it to flood mode "Global" (the one with the raining cloud) and 0 tolerance. This will make it so once you select a pixel, it will select every single one of that pixel over the entire image. Select a completely transparent pixel, then invert the selection (Ctrl+I) and then crop to selection (Ctrl+Shift+X). This'll give you the best cropping possible! Sometimes though there'll be some residue semi-transparent pixels which will mess with the cropping, just delete those manually and redo the cropping process.