I want to create a new portrait for this NPC, and if possible, I would also like to try updating her seasonal portrait. I would like to know if I can do this.(I can't promise it, because I'm not very good at coding either)
I get the following error in my SMAPI log when using this with "Alecto the Witch (new NPC)":
"[15:28:33 ERROR Content Patcher] Two content packs want to load the 'Data/Events/WitchHut' asset with the 'Exclusive' priority ((NPC) Nul Envoide- New NPC for Witch's Hut and Alecto the Witch). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility."
Should be compatible with Alecto. If there's a problem with activating Nul's events then you'll have to disable loading in events in the config file depending on where the event takes place (if it takes place in the witch's hut then you'll have to turn off loading events in Nul's config file)
As for Distant Lands, it's probably compatible. I just heard about that mod so I might have to make a compatibility patch if there are problems running that mod and mine
I absolutely love this mod! Though I experience some technical hiccups! When I start a new save, I noclip and rush to the witches's hut to see if she's working and all. Unfortunally she either isn't active yet or I did something wrong? Is there a way, or a console command to test to see it's all working, like a cutscene I can activate in console?
[table]13:36:40 - WARNContent PatcherIgnored (NPC) Nul Envoide- New NPC for Witch's Hut > EditData strings/StringsFromCSFiles: the When field is invalid: invalid input arguments (Nul) for Relationship token, expected any of 'Abigail', 'Alex', 'Caroline', 'Clint', 'Demetrius', 'Dwarf', 'Elliott', 'Emily', 'Evelyn', 'George', 'Gus', 'Haley', 'Harvey', 'Jas', 'Jodi', 'Krobus', 'Leah', 'Lewis', 'Linus', 'Marnie', 'Maru', 'Pam', 'Penny', 'Pierre', 'Robin', 'Sam', 'Sebastian', 'Shane', 'Vincent', 'Willy', 'Wizard'.[/table]
(Update!)
I did manage to brute-force the cutscenes to play with digging into the files and use Debug Ebi - and I got more strange warnings.
[game] NPC Nul can't load portraits from 'Portraits/NulSpring' (per appearance entry 'Tortart.SpringNul' in Data/Characters): Microsoft.Xna.Framework.Content.ContentLoadException: The content file was not found. ---> System.IO.FileNotFoundException: Could not find file 'D:\SteamLibrary\steamapps\common\Stardew Valley\Content\Portraits\NulSpring.xnb'. File name: 'D:\SteamLibrary\steamapps\common\Stardew Valley\Content\Portraits\NulSpring.xnb' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29 at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37 at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276 --- End of inner exception stack trace --- at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289 at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 319 at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255 at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 333 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127 at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Utilities\ContextHash.cs:line 53 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) at StardewValley.LocalizedContentManager.Load[T](String assetName, LanguageCode language) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalizedContentManager.cs:line 524 at StardewValley.NPC.TryLoadPortraits(String assetName, String& error, LocalizedContentManager content) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\NPC.cs:line 1034. Falling back to default portraits. [Content Patcher] Ignored (NPC) Nul Envoide- New NPC for Witch's Hut > EditData strings/StringsFromCSFiles: the When field is invalid: invalid input arguments (Nul) for Relationship token, expected any of 'Abigail', 'Alex', 'Caroline', 'Clint', 'Demetrius', 'Dwarf', 'Elliott', 'Emily', 'Evelyn', 'George', 'Gus', 'Haley', 'Harvey', 'Henchman', 'Jas', 'Jodi', 'Krobus', 'Leah', 'Lewis', 'Linus', 'Marnie', 'Maru', 'Pam', 'Penny', 'Pierre', 'Robin', 'Sam', 'Sebastian', 'Shane', 'Vincent', 'Willy', 'Wizard'. debug ebi 175922 [game] Starting event 175922 [Console Commands] Sent debug command to the game, but there was no output. [SMAPI] Skipped reload for 'Portraits/Nul' because the underlying asset no longer exists. [SMAPI] Skipped reload for 'Characters/Nul' because the underlying asset no longer exists.
The final warning as the cutscene plays has my head scratching, as Nul IS there in the cutscene, but nowhere else in the world.
Sorry for the bug I wasn't able to run the game to do a full play test (though I didn't get a bug like this) but when I can I'll see if it's an error on my end. In the meantime I think it's best to not try and rush it and play through it normally by seeing the introduction cutscene so they can properly load. So that means you'll have to complete the Joja/CC route and see the Wizard's cutscene about his talisman for (hopefully) better results
Noted! I was just curious to see if she spawned as early as possible, but if she's locked beyond the main quest for the game + Talisman quest then I 100% understand~ ^^
Hii I'm really interested in this mod are you planning on updating it? Nul sounds very interesting as a character and they have a great design. Overall it inspires me for making my own npc!
Hi! Hi! Yes, I do plan on an update as soon as possible, but due to personal problems, I won't be able to do that for a while (maybe about a week but hopefully no more than two weeks)
In the meantime, I THINK the current version is still compatible, just be ready to get rid of some of the dependencies in the next update. Also, good luck on your custom NPC creation adventure
Okay cool! I hope you’re doing okay though take care of yourself your creations will be waiting for when you are in a better place to create more! Thanks I have learned a lot about making an npc so far been tons of fun!
*He/They And no, I couldn't figure out how to make them a roommate so I settled for romanceable. I tried making up for it by making dating and marriage dialogue affectionate to match their character, but not too romantic? Almost like a very affections platonic partner
46 comments
I’m using Alecto and Distant Lands, and Nul isn’t anywhere I can see.
am I missing something needed?
This is my mod:https://www.nexusmods.com/stardewvalley/mods/24045/
"[15:28:33 ERROR Content Patcher] Two content packs want to load the 'Data/Events/WitchHut' asset with the 'Exclusive' priority ((NPC) Nul Envoide- New NPC for Witch's Hut and Alecto the Witch). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility."
As for Distant Lands, it's probably compatible. I just heard about that mod so I might have to make a compatibility patch if there are problems running that mod and mine
When I start a new save, I noclip and rush to the witches's hut to see if she's working and all. Unfortunally she either isn't active yet or I did something wrong? Is there a way, or a console command to test to see it's all working, like a cutscene I can activate in console?
[table]13:36:40 - WARNContent PatcherIgnored (NPC) Nul Envoide- New NPC for Witch's Hut > EditData strings/StringsFromCSFiles: the When field is invalid: invalid input arguments (Nul) for Relationship token, expected any of 'Abigail', 'Alex', 'Caroline', 'Clint', 'Demetrius', 'Dwarf', 'Elliott', 'Emily', 'Evelyn', 'George', 'Gus', 'Haley', 'Harvey', 'Jas', 'Jodi', 'Krobus', 'Leah', 'Lewis', 'Linus', 'Marnie', 'Maru', 'Pam', 'Penny', 'Pierre', 'Robin', 'Sam', 'Sebastian', 'Shane', 'Vincent', 'Willy', 'Wizard'.[/table]
(Update!)
I did manage to brute-force the cutscenes to play with digging into the files and use Debug Ebi - and I got more strange warnings.
[game] NPC Nul can't load portraits from 'Portraits/NulSpring' (per appearance entry 'Tortart.SpringNul' in Data/Characters): Microsoft.Xna.Framework.Content.ContentLoadException: The content file was not found.
---> System.IO.FileNotFoundException: Could not find file 'D:\SteamLibrary\steamapps\common\Stardew Valley\Content\Portraits\NulSpring.xnb'.
File name: 'D:\SteamLibrary\steamapps\common\Stardew Valley\Content\Portraits\NulSpring.xnb'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 319
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 333
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127
at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Utilities\ContextHash.cs:line 53
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache)
at StardewValley.LocalizedContentManager.Load[T](String assetName, LanguageCode language) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalizedContentManager.cs:line 524
at StardewValley.NPC.TryLoadPortraits(String assetName, String& error, LocalizedContentManager content) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\NPC.cs:line 1034. Falling back to default portraits.
[Content Patcher] Ignored (NPC) Nul Envoide- New NPC for Witch's Hut > EditData strings/StringsFromCSFiles: the When field is invalid: invalid input arguments (Nul) for Relationship token, expected any of 'Abigail', 'Alex', 'Caroline', 'Clint', 'Demetrius', 'Dwarf', 'Elliott', 'Emily', 'Evelyn', 'George', 'Gus', 'Haley', 'Harvey', 'Henchman', 'Jas', 'Jodi', 'Krobus', 'Leah', 'Lewis', 'Linus', 'Marnie', 'Maru', 'Pam', 'Penny', 'Pierre', 'Robin', 'Sam', 'Sebastian', 'Shane', 'Vincent', 'Willy', 'Wizard'.
debug ebi 175922
[game] Starting event 175922
[Console Commands] Sent debug command to the game, but there was no output.
[SMAPI] Skipped reload for 'Portraits/Nul' because the underlying asset no longer exists.
[SMAPI] Skipped reload for 'Characters/Nul' because the underlying asset no longer exists.
The final warning as the cutscene plays has my head scratching, as Nul IS there in the cutscene, but nowhere else in the world.
I was just curious to see if she spawned as early as possible, but if she's locked beyond the main quest for the game + Talisman quest then I 100% understand~ ^^
In the meantime, I THINK the current version is still compatible, just be ready to get rid of some of the dependencies in the next update. Also, good luck on your custom NPC creation adventure
And no, I couldn't figure out how to make them a roommate so I settled for romanceable. I tried making up for it by making dating and marriage dialogue affectionate to match their character, but not too romantic? Almost like a very affections platonic partner