[18:59:06 ERROR Mobile Audio Player] Mod crashed on entry and might not work correctly. Technical details:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {6BF52A52-394A-11D3-B153-00C04F79FAA6} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)). at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type) at MobileAudioPlayer.ModEntry.Entry(IModHelper helper) in C:\Users\poiqwe\source\repos\StardewValleyMods\MobileAudioPlayer\ModEntry.cs:line 69 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1798 ( can i ask what is this bug and how to fix, i got it from running the game but dunno how to fix it)
I've got the same/a similar problem, and for future reference, issues like this should probs be put into the bugs section rather than the posts section.
Okay I'm silly I found out why I can't add the music to the phone well I forgot I added custom music mod to stardew and doesn't need the mobile phone do it. facepalm moment.
It doesn't work it crashes every single time and gives me a error :[Mobile Audio Player] Mod crashed on entry and might not work correctly. Technical details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dooml\Downloads\New folder\steamapps\common\Stardew Valley\Mods\MobileAudioPlayer\audio'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path) at MobileAudioPlayer.ModEntry.Entry(IModHelper helper) in C:\Users\poiqwe\source\repos\StardewValleyMods\MobileAudioPlayer\ModEntry.cs:line 59 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 843
you need to create a folder called "audio", as it says, otherwise there will be nothing to play. I can stop that error from happening, but it's good to have it tell you what's going wrong.
And I just did putting some where and still get the crash and it's not me because I have the mobile phone up and running with the tv part on stardew. All my mods are in a folder on stardew called mods and I thought naming a folder called audio it would work nope it still gives me the error maybe it's a windows 10 thing and not a stardew problem.
I think I understand what the problem is . Windows is trying to access it by finding a program to open it and instead of being used for a mod for Stardew and wants to use Adobe because it open's it being the pdb files and then windows tells SMAPI it's not a mod so don't use it and instead try's to open it with Adobe, which corrupts the files and makes Windows confused and makes us confused too and windows doesn't show you this just automatically does.
Fantastic work adding a new component to your Mobile Phone mod. To be quite honest, I was only waiting for this kind of 'app' to show up before I made the leap to add this phone mod on the game itself. I'm glad I have done so.
These are some rather low-hanging fruits, but here's a few I'd like to see in a more polished version:
- Volume Controls - Setting up Playlists - Sorting by Albums (perhaps by folders inside the Mod/Audio folder) - Audio Ducking (so that sound effects do not get muffled while the song is playing). ============================================================ For those who intend to utilize the file format to its fullest, it can get very annoying to do your renaming one by one. You can use a bulk renaming utility tool to help out with it instead.
23 comments
(This was achieved through use of Link Shell Extension for symlink creation, and creative use of notepad++'s column-editing features.)
I would request an option to pull names from metadata instead, please and thanks.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dooml\Downloads\New folder\steamapps\common\Stardew Valley\Mods\MobileAudioPlayer\audio'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path)
at MobileAudioPlayer.ModEntry.Entry(IModHelper helper) in C:\Users\poiqwe\source\repos\StardewValleyMods\MobileAudioPlayer\ModEntry.cs:line 59
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 843
All my mods are in a folder on stardew called mods and I thought naming a folder called audio it would work nope it still gives me the error maybe it's a windows 10 thing and not a stardew problem.
Good Job windows for nothing.
These are some rather low-hanging fruits, but here's a few I'd like to see in a more polished version:
- Volume Controls
- Setting up Playlists
- Sorting by Albums (perhaps by folders inside the Mod/Audio folder)
- Audio Ducking (so that sound effects do not get muffled while the song is playing).
============================================================
For those who intend to utilize the file format to its fullest, it can get very annoying to do your renaming one by one. You can use a bulk renaming utility tool to help out with it instead.
https://www.bulkrenameutility.co.uk/Download.php