Skip to content

InsultingPros/KFEmojiPack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KF Emoji Generator

GitHub all releases

This project aims to make Server Perks emoji pack creation much easier. There are several community made packs, but they are well hidden and there is almost no up-to-date documentation on how to make them. So I'm filling that gap.

With KFEmojiPack you can simply drag-n-drop images, click on a script and get a ready to use file. No SDK or long googling required.

This mod provides a compiled example with android 7 emojis and a handy script which allows to create your custom pack in few clicks.

img

say some smiles: face-with-tears-of-joy pile-of-poo nauseated-face kissing-face face-savouring-delicious-food thinking-face hell yea

Usage

  1. Download the release / clone the repository.
  2. Rename the folder to your desired name. MyLittlePonyEmojis will work.
  3. Set it for compilation (use KF Compile Tool to make it easier).
  4. Install Python >3.10.x and Pillow (requirements.txt is also provided).
  5. Put your images into Input folder (this mod has some default ones as a template).
  6. Click on Converter.py. That will:
    • Convert all images to required format.
    • Resize them in the most efficent way and move to Output folder.
    • Auto-generate exec directives in GenerateTexture.uc.
    • Auto-generate ServerPerks_Template.ini with all required smile lines.
  7. Compile the mod.
  8. Manually change compiled file extension from .u to .utx. And do not forget about redirect file!
  9. Copy-paste SmileyTags lines from generated ServerPerks_Template.ini to your server's ServerPerks.ini.

Done! Start your server and enjoy.

Note If you want to resize emojis tweak RESIZE_DIMENSIONS inside Converter.py. 128x128 are shown in example screenshot, 32x32 will be same size as the other text. And if you want to make emoji pack a bit smaller, change the DXT compression as well.

Supported input file formats

BMP, DIB, EPS, ICNS, ICO, IM, JPG, JPEG, J2K, J2P, JPX, MSP, PCX, PNG, PPM, SGI, SPIDER, TGA, TIFF, WebP, XBM.

Credits