AnotherPillow / BFAV2CP

GNU General Public License v3.0
3 stars 0 forks source link

Converted Lung Dragons expecting xnb icon #5

Closed htgiddings closed 3 months ago

htgiddings commented 5 months ago

Using this utility I converted BFAV Lung Dragons to a Content Patcher version and dropped it in my mods. When trying to purchase animals the livestock menu never opens, I just go back to Marnie's initial dialog no matter how I select the option to purchase animals. Her supply shop and the "leave" option work just fine. Below is the stack trace I'm getting every time I select that option:

 ---> FileNotFoundException: Could not find file '/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/Animals/stormdrakon.BFAVLungDragons-River Lung Icon.xnb'.
File name: '/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/Animals/stormdrakon.BFAVLungDragons-River Lung Icon.xnb'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   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\1\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\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37
   at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 272
   --- End of inner exception stack trace ---
   at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\1\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\1\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\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 340
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127
   at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache)
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 154
   at StardewValley.Menus.PurchaseAnimalsMenu..ctor(List`1 stock, GameLocation targetLocation) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\PurchaseAnimalsMenu.cs:line 74
   at StardewValley.GameLocation.<>c__DisplayClass442_0.<ShowAnimalShopMenu>b__0(String value) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12153
   at StardewValley.GameLocation.ShowPagedResponses(String prompt, List`1 responses, Action`1 on_response, Boolean auto_select_single_choice, Boolean addCancel, Int32 itemsPerPage) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12036
   at StardewValley.GameLocation.ShowAnimalShopMenu(Action`1 onMenuOpened) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12145
   at StardewValley.GameLocation.answerDialogueAction_PatchedBy<spacechase0.SpaceCore>(GameLocation this, String questionAndAnswer, String[] questionParams)
   at StardewValley.Menus.DialogueBox.receiveLeftClick(Int32 x, Int32 y, Boolean playSound)
   at StardewValley.Game1.updateActiveMenu(GameTime gameTime)
   at StardewValley.Game1._update(GameTime gameTime)
   at StardewValley.Game1.Update(GameTime gameTime)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
[game] WARNING: Mismatched UI Mode Push/Pop counts. Correcting.

I'm noticing two things off the bat:

  1. There are no xnb files in the converted assets, only pngs.
  2. The path to the Lung Dragons from the mod root folder (/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/) is "Animals/New Livestock/[CP] Lung Dragons 2.0", not "Animals"

Environment Information: OS: MacOS 14.3.1 SDV: 1.6.5 SMAPI: 4.0.8 Python: 3.12

AnotherPillow commented 5 months ago

Output log? Mod link? Screenshot of output mod folder?On 22 Apr 2024 14:16, Henry Giddings @.***> wrote: Using this utility I converted BFAV Lung Dragons to a Content Patcher version and dropped it in my mods. When trying to purchase animals the livestock menu never opens, I just go back to Marnie's initial dialog no matter how I select the option to purchase animals. Her supply shop and the "leave" option work just fine. Below is the stack trace I'm getting every time I select that option: ---> FileNotFoundException: Could not find file '/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/Animals/stormdrakon.BFAVLungDragons-River Lung Icon.xnb'. File name: '/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/Animals/stormdrakon.BFAVLungDragons-River Lung Icon.xnb' at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func2 errorRewriter) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) 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\1\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\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37 at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 272 --- End of inner exception stack trace --- at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289 at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\1\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\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255 at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 340 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>cDisplayClass6_01.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127 at StardewModdingAPI.Framework.Utilities.ContextHash1.Track[TResult](T key, Func1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 154 at StardewValley.Menus.PurchaseAnimalsMenu..ctor(List1 stock, GameLocation targetLocation) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\PurchaseAnimalsMenu.cs:line 74 at StardewValley.GameLocation.<>c__DisplayClass442_0.b0(String value) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12153 at StardewValley.GameLocation.ShowPagedResponses(String prompt, List1 responses, Action1 on_response, Boolean auto_select_single_choice, Boolean addCancel, Int32 itemsPerPage) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12036 at StardewValley.GameLocation.ShowAnimalShopMenu(Action`1 onMenuOpened) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 12145 at StardewValley.GameLocation.answerDialogueAction_PatchedBy(GameLocation this, String questionAndAnswer, String[] questionParams) at StardewValley.Menus.DialogueBox.receiveLeftClick(Int32 x, Int32 y, Boolean playSound) at StardewValley.Game1.updateActiveMenu(GameTime gameTime) at StardewValley.Game1._update(GameTime gameTime) at StardewValley.Game1.Update(GameTime gameTime) at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) [game] WARNING: Mismatched UI Mode Push/Pop counts. Correcting.

I'm noticing two things off the bat: There are no xnb files in the converted assets, only pngs.The path to the Lung Dragons from the mod root folder (/Users/gaming/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content/) is "Animals/New Livestock/[CP] Lung Dragons 2.0", not "Animals" Environment Information: OS: MacOS 14.3.1 SDV: 1.6.5 SMAPI: 4.0.8 Python: 3.12

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

htgiddings commented 5 months ago
  1. I linked to the mod in the first sentence of my comment
  2. Didn't save the output. Didn't see any errors though.
  3. Screenshot 2024-04-22 at 7 16 38 PM
AnotherPillow commented 5 months ago

Then rerun it?On 23 Apr 2024 00:20, Henry Giddings @.***> wrote: I linked to the mod in the first sentence of my commentDidn't save the output. Didn't see any errors though. Screenshot.2024-04-22.at.7.16.38.PM.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

htgiddings commented 5 months ago

No, I’m just gonna grab the official update.On Apr 23, 2024, at 2:26 AM, AnotherPillow @.> wrote: Then rerun it?On 23 Apr 2024 00:20, Henry Giddings @.> wrote:

I linked to the mod in the first sentence of my commentDidn't save the output. Didn't see any errors though.

Screenshot.2024-04-22.at.7.16.38.PM.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

htgiddings commented 4 months ago

Yeah this wasn’t complete, whatever the issue was you haven’t provided any evidence that you even looked into it.On May 25, 2024, at 9:02 AM, AnotherPillow @.***> wrote: Closed #5 as completed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AnotherPillow commented 4 months ago

Yeah this wasn’t complete, whatever the issue was you haven’t provided any evidence that you even looked into it.On May 25, 2024, at 9:02 AM, AnotherPillow @.> wrote: Closed #5 as completed. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

You said that you weren't even going to use it. I ran that mod myself, it worked fine. You cannot expect me to know what a bug is without EVEN BOTHERING TO SHOW THE ERROR.