Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.12 KB

RuneLite friendly Twemoji

This repo contains emojis that can be used in the RuneLite client.

The images are in png format, 13x13, with a hard-edged transparency. The client cannot handle semitransparent pixels.

Usage

  1. Find your desired emoji on emojipedia
  2. Scroll down to where it says Codepoints, the codepoint will look something like: U+1F642.
  3. Use GitHub's find function to search for the emoji in this repository, ex runelite-emoji/1f642.png.
  4. Download the file, rename it to something appropriate, and place it in:
runelite/runelite-client/src/main/resources/net/runelite/client/plugins/emojis
  1. Add an appropriate shortcode to:
runelite/runelite-client/src/main/java/net/runelite/client/plugins/emojis/Emoji.java
  1. Compile the client and use your new emoji in game

Creation

mogrify -path <TARGET_FOLDER> -resize 13x13 -filter Box -colors 256 -channel A -threshold 50% <SOURCE_FOLDER>/*.png
optipng -o7 -strip all <TARGET_FOLDER>/*.png

Enjoy!