Jump to content

Troubleshooting


In_A_Graveyard

Recommended Posts

I can reproduce that, let's see what's going on... I can reproduce this even with my standard config, so there's been a recent regression. It's obvious from the log it's trying to load a bam cursor instead of the png ones. Apply this fix, I won't be able to push it for some time:

diff --git a/gemrb/core/Interface.cpp b/gemrb/core/Interface.cpp
index 975491e10..3f5ab63cd 100644
--- a/gemrb/core/Interface.cpp
+++ b/gemrb/core/Interface.cpp
@@ -685,7 +685,7 @@ int Interface::LoadSprites()
                // same layout as in the originals, with odd indices having the pressed cursor image
                std::string fileName;
                while (CursorCount < 99) {
-                       fileName = fmt::format("{}{}", MainCursorsImage, CursorCount);
+                       fileName = fmt::format("{}{:02}", MainCursorsImage, CursorCount);
                        ResourceHolder<ImageMgr> im = GetResourceHolder<ImageMgr>(fileName.c_str(), true);
                        if (!im) break;
                        Cursors.push_back(im->GetSprite2D());

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...