CarrionCrepitations
Newcomer
I've been trying to make a custom mod for some friends, and it involves replacing a bunch of the characters with custom characters. I unpacked the xnb files, and I can replace the images just fine, but when I try to edit the data and dialogue to change the NPC names I can't get the Content Patcher to properly read the .json files. I'm not great at coding, but I copied the format of the content.json file directly from the instructions and I keep getting a message that my Changes Field is empty and the files can't be loaded.
The SMAPI log looks like this:
From what I can tell, it's most likely an issue with my content.json file? But I copied that directly from the information on how to use Content Patcher and only changed the file names, the formatting is unchanged.
This is my content.json:
(It's only got one file at the moment because I want to get it working before I add in the others, but I went through all the character dialogue files too to properly replace the character name)
I would appreciate any advice on how to get this running, I'm not too good at coding. I'm more on the visual side of things when it comes to modding, I can get the sprites to visibly change but I need help with the text
The SMAPI log looks like this:
C#:
[13:11:29 INFO SMAPI] SMAPI 3.18.4 with Stardew Valley 1.5.6 (build 22018) on Microsoft Windows 10 Home
[13:11:29 INFO SMAPI] Mods go here: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods
[13:11:29 TRACE SMAPI] Log started at 2023-09-03T18:11:29 UTC
[13:11:33 DEBUG SMAPI] Waiting for game to launch...
[13:11:33 TRACE game] NoFpsCap: This feature is not available
[13:11:34 DEBUG SMAPI] Loading mod metadata...
[13:11:34 DEBUG SMAPI] Loading mods...
[13:11:34 TRACE SMAPI] Console Commands (from Mods\ConsoleCommands\ConsoleCommands.dll)...
[13:11:34 TRACE SMAPI] Content Patcher (from Mods\ContentPatcher\ContentPatcher.dll)...
[13:11:34 TRACE SMAPI] Error Handler (from Mods\ErrorHandler\ErrorHandler.dll)...
[13:11:34 TRACE SMAPI] Detected game patcher in assembly ErrorHandler.dll.
[13:11:34 TRACE SMAPI] Save Backup (from Mods\SaveBackup\SaveBackup.dll)...
[13:11:34 TRACE SMAPI] Solara Valley (from Mods\[SV]Solara Valley) [content pack]...
[13:11:34 INFO SMAPI] Loaded 4 mods:
[13:11:34 INFO SMAPI] Console Commands 3.18.4 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[13:11:34 INFO SMAPI] Content Patcher 1.29.4 by Pathoschild | Loads content packs which edit game data, images, and maps without changing the game files.
[13:11:34 INFO SMAPI] Error Handler 3.18.4 by SMAPI | Handles some common vanilla errors to log more useful info or avoid breaking the game.
[13:11:34 INFO SMAPI] Save Backup 3.18.4 by SMAPI | Automatically backs up all your saves once per day into its folder.
[13:11:34 INFO SMAPI] Loaded 1 content packs:
[13:11:34 INFO SMAPI] Solara Valley 1.0.0 by Jasper Profio | for Content Patcher | Replaces certain NPCs with Pendragon characters
[13:11:34 INFO SMAPI] Found 1 mod with warnings:
[13:11:34 DEBUG SMAPI] No update keys
[13:11:34 DEBUG SMAPI] --------------------------------------------------
[13:11:34 DEBUG SMAPI] These mods have no update keys in their manifest. SMAPI may not notify you about updates for these
[13:11:34 DEBUG SMAPI] mods. Consider notifying the mod authors about this problem.
[13:11:34 DEBUG SMAPI] - Solara Valley
[13:11:34 DEBUG SMAPI] Launching mods...
[13:11:34 TRACE SMAPI] Found mod-provided API (ContentPatcher.Framework.ContentPatcherAPI).
[13:11:35 DEBUG SMAPI] Mods loaded and ready!
[13:11:35 TRACE SMAPI] Checking for known software conflicts...
[13:11:35 TRACE Save Backup] Already backed up today.
[13:11:35 TRACE SMAPI] None found!
[13:11:35 TRACE SMAPI] Checking for updates...
[13:11:35 TRACE SMAPI] SMAPI okay.
[13:11:35 TRACE SMAPI] Checking for updates to 2 mods...
[13:11:35 TRACE SMAPI] All mods up to date.
[13:11:35 TRACE game] setGameMode( 'titleScreenGameMode (0)' )
[13:11:35 TRACE SMAPI] Running on GPU: Intel(R) HD Graphics 620
[13:11:36 TRACE game] Steam logged on: True
[13:11:36 TRACE game] Initializing GalaxySDK
[13:11:37 TRACE game] Requesting Steam app ticket
[13:11:37 TRACE SMAPI] Detecting common issues...
[13:11:37 INFO SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[13:11:37 WARN Content Patcher] Error loading patch 'Solara Valley > Include Assets/NPCDispositions.json': file 'Assets\NPCDispositions.json' doesn't have anything in the Changes field. Is the file formatted correctly?.
[13:11:37 TRACE game] Signing into GalaxySDK
[13:11:38 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:1920 Height:1080}
[13:11:38 TRACE game] Galaxy auth success
[13:11:38 TRACE game] Galaxy signed in
[13:11:38 TRACE game] Galaxy logged on
[13:11:47 TRACE game] Disconnected: ClosedGame
[13:11:47 TRACE SMAPI] Disposing...
[13:11:47 TRACE SMAPI] Disposing the content coordinator. Content managers will no longer be usable after this point.
This is my content.json:
C#:
{
"Format": "1.29.4",
"Changes": [
{
"Action": "Include",
"FromFile": "Assets/NPCDispositions.json"
}
]
}
I would appreciate any advice on how to get this running, I'm not too good at coding. I'm more on the visual side of things when it comes to modding, I can get the sprites to visibly change but I need help with the text