I just figured out how to make some custom events, but I have some things I'm having trouble with( again) 1. How to emotes work exactly? I found the png files but I don't know which numbers go with which emote 2. How do I make new portraits? I already know how to edit them, but how do I make new ones? For instance, an NPC like Vincent has only like 4, and I'd like to give him some more complexity. How to I add more?
1. There numbered from #0 to #9 from left to right and up to down. It's also possible to use #h for the happy face and #s for the sad face. 2. I'm not sure about this, though, but I guess it's not possible with XNB-Modding alone.
Here's a list of emote IDs. The first image in any spritesheet is index 0, the second is index 1, etc. You can add any number of portraits at the bottom of a character's portrait spritesheet, and just refer to them by their index (see Moddingialogue#Portrait_commands). You can either create an XNB mod which replaces their portrait file, or use SMAPI's content API to safely inject your new portraits without editing files.