Hello. First of all, I want to thank you for this mod. The game sorely lacked such an idea. Secondly, I have a problem here (English is not my main language, so I apologize for the mistakes. I'm writing through a translator.): in parallel with your mod, Seasonal Outfits for Tweaked Shane is installed, after that an error came out (I had not previously installed mods for changing the portrait and sprites and your mod worked without errors):
[Content Patcher] Patch error: RandomFlowerQueen > Include data/colorful_suits.json > EditImage Characters/Shane failed on context update (see log file for details).Sizes of image and mask don't match
Heres a log: https://smapi.io/log/1356899b7f1642a6aa58a2f62b801ea9 Hope you help me.
Hi, there is a conflict between RandomFlowerQueen and Tweaked Shane. It seems to be similar to the issue LCKa had. Probably resizing the mask would work. I will take a look at Tweaked Shane to find a solution. In the mean time you could deactivate colorful suits by setting "ColorfulSuit": "None" in config.json. This can be easily done with Generic Mod Config Menu.
You might be surprised, the issue was caused by Mr. Ginger. It extends the character sheet of Shane. As a result ImagEd complained about different sizes of image and mask. I patched ImagEd to accept height differences of images and masks. Can you update ImageEd to version 1.3.2 and tell me whether it works?
This mod makes one of my biggest wishes in Stardew Valley come true: Vincent can be a flower queen! I have longed for this for so long, so thanks a bunch for including it in your mod. I have another technical issue though. If I ask the mod to allow colorful suits for all, the SMAPI console informs me it can´t be done, because Sebastian´s flower dance paint mask in your asset files and the image in the original characters folder are not the same size.Which is dedidedly odd, because comparing the two, they´re both 64x480.
Here´s what the console says: [Content Patcher] Patch error: RandomFlowerQueen > Include data/colorful_suits.json > EditImage Characters/Sebastian failed on context update (see log file for details). Sizes of image and mask don't match.
Then a bit below, it goes into more details:
[Content Patcher] Ignored RandomFlowerQueen > Include data/colorful_suits.json > EditImage Characters/Sebastian: error reading info. Technical details: System.ArgumentException: Sizes of image and mask don't match at ImagEd.Framework.RecolorToken.ExtractSubImage(Texture2D source, Texture2D mask, Mode desaturationMode, Single brightness) in /home/mw/project/stardew/modbuild/ImagEd/ImagEd/Framework/RecolorToken.cs:line 206 at ImagEd.Framework.RecolorToken.GetValues(String input)+MoveNext() in /home/mw/project/stardew/modbuild/ImagEd/ImagEd/Framework/RecolorToken.cs:line 159 at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at ContentPatcher.Framework.Conditions.TokenString.TryGetTokenText(IContext context, TokenStringPart part, ContextualState state, String& text) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Conditions\TokenString.cs:line 295 at ContentPatcher.Framework.Conditions.TokenString.UpdateContext(IContext context, Boolean forceUpdate) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Conditions\TokenString.cs:line 199 at ContentPatcher.Framework.Patches.Patch.UpdateFromFile(LocalContext context) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\Patch.cs:line 319 at ContentPatcher.Framework.Patches.Patch.UpdateContext(IContext context) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\Patch.cs:line 119 at ContentPatcher.Framework.PatchManager.Add(IPatch patch, Boolean reindex) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 401 at ContentPatcher.Framework.PatchLoader.LoadPatch(RawContentPack rawContentPack, PatchConfig entry, TokenParser tokenParser, Int32[] indexPath, LogPathBuilder path, Boolean reindex, Patch parentPatch, Action`1 logSkip) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchLoader.cs:line 728.
Do you know what´s causing this, and how to fix it? Thanks in advance. ETA: nevermind, I fixed it. I had forgotten about Sebastian´s Expansion with post-marriage events, which removes all references to smoking, and thus changes his sprite. By resizing the mask to make it match that sprite, it all worked without a hitch.
Thanks! It's not compatible with SVE in the strict sense but it won't do any harm: It only edits vanilla characters so the worst thing to happen is that there's no flower queen at all.
Thanks! I expected that question because I felt sorry for Vincent myself when I created this mod :-) Children play without caring about gender at all. I don't think it would be too hard to give him or Jas a flower crown randomly, maybe not every year. What do you think?
If you set Haley to 'vanilla' it should work, the flower crowns are just overlays (modded Haley always has a flower crown). Better compatibility is planned.
OOh! What a great mod! I was wondering if you can make one for Egg Festival as well? Abigail being the winner every year makes me sad for Vincent and Jas :(
22 comments
Hope you help me.
Here´s what the console says:
[Content Patcher] Patch error: RandomFlowerQueen > Include data/colorful_suits.json > EditImage Characters/Sebastian failed on context update (see log file for details).
Sizes of image and mask don't match.
Then a bit below, it goes into more details:
[Content Patcher] Ignored RandomFlowerQueen > Include data/colorful_suits.json > EditImage Characters/Sebastian: error reading info. Technical details:
System.ArgumentException: Sizes of image and mask don't match
at ImagEd.Framework.RecolorToken.ExtractSubImage(Texture2D source, Texture2D mask, Mode desaturationMode, Single brightness) in /home/mw/project/stardew/modbuild/ImagEd/ImagEd/Framework/RecolorToken.cs:line 206
at ImagEd.Framework.RecolorToken.GetValues(String input)+MoveNext() in /home/mw/project/stardew/modbuild/ImagEd/ImagEd/Framework/RecolorToken.cs:line 159
at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ContentPatcher.Framework.Conditions.TokenString.TryGetTokenText(IContext context, TokenStringPart part, ContextualState state, String& text) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Conditions\TokenString.cs:line 295
at ContentPatcher.Framework.Conditions.TokenString.UpdateContext(IContext context, Boolean forceUpdate) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Conditions\TokenString.cs:line 199
at ContentPatcher.Framework.Patches.Patch.UpdateFromFile(LocalContext context) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\Patch.cs:line 319
at ContentPatcher.Framework.Patches.Patch.UpdateContext(IContext context) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\Patch.cs:line 119
at ContentPatcher.Framework.PatchManager.Add(IPatch patch, Boolean reindex) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 401
at ContentPatcher.Framework.PatchLoader.LoadPatch(RawContentPack rawContentPack, PatchConfig entry, TokenParser tokenParser, Int32[] indexPath, LogPathBuilder path, Boolean reindex, Patch parentPatch, Action`1 logSkip) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchLoader.cs:line 728.
Do you know what´s causing this, and how to fix it? Thanks in advance.
ETA: nevermind, I fixed it. I had forgotten about Sebastian´s Expansion with post-marriage events, which removes all references to smoking, and thus changes his sprite. By resizing the mask to make it match that sprite, it all worked without a hitch.
I just have one question, is this compatible with Stardew Valley Expanded?
(Great idea for a mod! It's nice to shake things up.)
(If you need any help with dialogue I can write some stuff up to choose from)