SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

SMAPI debug assets crash. Please HELP!!!

Waxico opened this issue ยท 1 comments

commented

I have no idea whats going on, i posted the problem on steam, they told me to redownload SMAPI or verify the cache. I did both those things and even deleted my local files, but i still won't work. Here is the Steam post I made:

So i use SMAPI and I have two laptops, but for some reason on eof them doesnt load the game quite right. Here is the code message I receive

C:\Users\Waxico\AppData\Roaming\StardewValley\ErrorLogs\MODDED_ProgramLog.Log_LATEST.txt
Created log instance
[07:47:24.289 PM] SDV Version: 1.07
[07:47:24.290 PM] Starting SDV...
[07:47:24.289 PM] Validating api paths...
[07:47:24.289 PM] SMAPI Version: 0.39.7 Alpha
[07:47:24.290 PM] Initializing SDV Assembly...
[07:47:24.290 PM] Injecting New SDV Version...
[07:47:24.407 PM] Patching SDV Graphics Profile...
[07:47:24.409 PM] LOADING MODS
[07:47:24.411 PM] Found Manifest: C:\Users\Waxico\AppData\Roaming\StardewValley\Mods\M007_ExtendedFridge\manifest.json
[07:47:24.632 PM] Created psconfigs directory @C:\Users\Waxico\AppData\Roaming\StardewValley\Mods\M007_ExtendedFridge\psconfigs
[07:47:24.635 PM] Loading Mod DLL...
[07:47:24.635 PM] LOADED MOD: Extended Fridge by Crystalmir - Version StardewModdingAPI.Version | Description: Extended Fridges alpha (@ C:\Users\Waxico\AppData\Roaming\StardewValley\Mods\M007_ExtendedFridge\M007_ExtendedFridge.dll)
[07:47:24.645 PM] [INFO] Class1 Entry
[07:47:24.647 PM] Found Manifest: C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\GiftTasteHelper\manifest.json
[07:47:24.662 PM] Created psconfigs directory @C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\GiftTasteHelper\psconfigs
[07:47:24.664 PM] Loading Mod DLL...
[07:47:24.664 PM] LOADED MOD: GiftTasteHelper by Tyler - Version StardewModdingAPI.Version | Description: Displays NPC gift tastes in a handy tooltip. (@ C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\GiftTasteHelper\GiftTasteHelper.dll)
[07:47:24.666 PM] Found Manifest: C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\M007_ExtendedFridge\manifest.json
[07:47:24.681 PM] Created psconfigs directory @C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\M007_ExtendedFridge\psconfigs
[07:47:24.683 PM] Loading Mod DLL...
[07:47:24.683 PM] LOADED MOD: Extended Fridge by Crystalmir - Version StardewModdingAPI.Version | Description: Extended Fridges alpha (@ C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\M007_ExtendedFridge\M007_ExtendedFridge.dll)
[07:47:24.693 PM] [INFO] Class1 Entry
[07:47:24.694 PM] Found Manifest: C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\TrainerMod\manifest.json
[07:47:24.709 PM] Created psconfigs directory @C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\TrainerMod\psconfigs
[07:47:24.711 PM] Loading Mod DLL...
[07:47:24.711 PM] LOADED MOD: Trainer Mod by Zoryn - Version StardewModdingAPI.Version | Description: Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating. (@ C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\TrainerMod\TrainerMod.dll)
[07:47:24.730 PM] Registered command: player_setname
[07:47:24.731 PM] Registered command: player_setmoney
[07:47:24.732 PM] Registered command: player_setstamina
[07:47:24.733 PM] Registered command: player_setmaxstamina
[07:47:24.734 PM] Registered command: player_sethealth
[07:47:24.735 PM] Registered command: player_setmaxhealth
[07:47:24.736 PM] Registered command: player_setimmunity
[07:47:24.737 PM] Registered command: player_setlevel
[07:47:24.714 PM] Registered command: hide
[07:47:24.739 PM] Registered command: player_changecolour
[07:47:24.714 PM] Registered command: types
[07:47:24.714 PM] Registered command: show
[07:47:24.744 PM] Registered command: player_addmelee
[07:47:24.746 PM] Registered command: player_addring
[07:47:24.747 PM] Registered command: out_items
[07:47:24.747 PM] Registered command: out_melee
[07:47:24.748 PM] Registered command: out_rings
[07:47:24.749 PM] Registered command: newitem
[07:47:24.750 PM] Registered command: world_settime
[07:47:24.751 PM] Registered command: world_freezetime
[07:47:24.752 PM] Registered command: world_setday
[07:47:24.753 PM] Registered command: world_setseason
[07:47:24.754 PM] Registered command: world_downminelevel
[07:47:24.755 PM] Registered command: world_setminelevel
[07:47:24.756 PM] LOADED 4 MODS
[07:47:24.757 PM] SDV Loaded Into Memory
[07:47:24.758 PM] Initializing Console Input Thread...
[07:47:24.758 PM] Registered command: help
[07:47:24.760 PM] Applying Final SDV Tweaks...
[07:47:24.714 PM] Registered command: exit
[07:47:24.714 PM] Registered command: load
[07:47:24.717 PM] Registered command: stop
[07:47:24.714 PM] Registered command: save
[07:47:24.741 PM] Registered command: player_additem
[07:47:24.740 PM] Registered command: player_changestyle
[07:47:24.738 PM] Registered command: player_setspeed
[07:47:25.192 PM] XNA Initialize
[07:47:25.195 PM] XNA LoadContent
[07:47:25.430 PM] Initializing Debug Assets...
..\common\processpipe_any.cpp (232) : Assertion Failed: OpenFileMapping returned NULL (errno=2)
Assert( Assertion Failed: OpenFileMapping returned NULL (errno=2) ):..\common\processpipe_any.cpp:232

[07:47:28.139 PM] Game Loaded
[07:47:28.139 PM] Type 'help' for help, or 'help ' for a command's usage

I loaded the game on my other computer and it seems the issue is in the debug assets because i didn't get that on the one that works. The issue on the broken one is that even though the game loads, when i try to play my current save the Load screen goes white and crashes. Could someone please help?

This is what he told me:

[07:47:25.430 PM] Initializing Debug Assets...
..\common\processpipe_any.cpp (232) : Assertion Failed: OpenFileMapping returned NULL (errno=2)
Assert( Assertion Failed: OpenFileMapping returned NULL (errno=2) ):..\common\processpipe_any.cpp:232

^This is your problem, here.

Try reinstalling SMAPI, or verifying the cache. It sounds like SMAPI lost a file or got corrupted, or something.

Edit: try uploading to upload.farm, if your save file uploads correctly, the save isn't corrupted and your files are safe.

It's not the save file cause it was fine on upload.farm, so I'm hoping some of you coding whizzes might have some better insight on the issue.

commented

Hi @Waxico. Try again with the latest version of SMAPI, which doesn't seem to have any mention of debug assets.

If that doesn't work, it's likely not an issue with SMAPI itself; OpenFileMapping is part of the operating system, probably called by the core Stardew Valley game. If it's an operating system issue, you may need to repair or reinstall Windows.

If you need help, come ask for help in the Stardew Valley Discord or the discussion thead on the official forums and we'll help you figure it out. :)