# Galv Shards error whit mog scene equip

**URL:** <https://guild.rpgmakerofficial.com/t/topic/2866>\
**Category:** 質問\
**Created:** [September 8, 2026, 7:23pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866 "2026-09-08T19:23:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 8, 2026, 7:23pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/1 "2026-09-08T19:23:55Z")

</div>

![Galvequip](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/0/0e11547fa30e12825c3251268540376273baf1b3.jpeg)

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 8, 2026, 8:48pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/2 "2026-09-08T20:48:26Z")

</div>

From what I can see, the crash is happening inside MOG\_SceneEquip.js, but the scene it’s crashing in is Galv’s shard scene (Scene\_MShards), not the regular equip scene. I’m wondering if Galv’s Window\_ShardStatus is built on top of Window\_EquipStatus, and MOG\_SceneEquip changes how that window updates, so when the shard scene opens, the window is looking for something MOG’s equip scene normally sets up and it isn’t there. That could explain the ‘opacity’ of undefined error.

A quick way to check would be to turn off MOG\_SceneEquip in the Plugin Manager and open the shard scene again. If the error goes away, it’s a conflict between those two. Also, which order do you have MOG\_SceneEquip and Galv’s Magic Shards in the plugin list? Sometimes swapping the order changes the result, so it’s worth a try.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 9, 2026, 6:02am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/3 "2026-09-09T06:02:13Z")

</div>

```auto
Thanks for the reply.
The error occurs regardless of whether GalvShards is placed above or below MogEquip.

```

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 10, 2026, 2:25am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/4 "2026-09-10T02:25:45Z")

</div>

id turning MOG\_SceneEquip off clear it? That would at least confirm those two are the pair. I did some digging and this exact error with MOG\_SceneEquip was reported on Galv’s Magic Shards page back in 2017, and MOG apparently said a later version of his plugin would fix the compatibility. So first thing I’d check is the version on your MOG\_SceneEquip file and grab the newest one from atelierrgss if yours is older.

If it’s already current, I think a small plugin below both of them might get around it. MOG adds an update to Window\_EquipStatus that Galv’s shard window inherits, and vanilla MV doesn’t give that window an update of its own, so this just puts it back to the plain one:

```auto
Window_ShardStatus.prototype.update = function() {
    Window_Base.prototype.update.call(this);
};

```

Save that as a .js in js/plugins, add it to the Plugin Manager under both, and open the shard scene again.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 10, 2026, 10:42am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/5 "2026-09-10T10:42:50Z")

</div>

```auto
I'm sorry, but it doesn't work this way either. It's still the same error.

```

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 10, 2026, 9:51pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/6 "2026-09-10T21:51:33Z")

</div>

Let’s get specific so we can narrow this down. Can you go through these in order and answer each one, even a one word answer per number helps:

1. Turn MOG\_SceneEquip OFF in the Plugin Manager, save the project, playtest, and open the shard scene. Does the crash go away, yes or no?
2. Turn MOG\_SceneEquip back ON. Is the workaround plugin I posted showing in the Plugin Manager list with its status set to ON? Is it sitting below both GALV\_MagicShards and MOG\_SceneEquip? Did you save the project after adding it?
3. In Windows Explorer go to View and check File name extensions, then look at the file in your js/plugins folder. What is the exact filename you see? I’m checking it didn’t get saved as something like .js.txt, which loads nothing.
4. With the workaround ON, open the shard scene again and when it crashes press F8 to open the console, or screenshot the crash screen. Post it here. What I need to see is whether the top line still says MOG\_SceneEquip.js:487 or has changed to something else.
5. What version numbers are on your MOG\_SceneEquip and GALV\_MagicShards files? They’re listed at the top of each plugin’s description in the Plugin Manager.
6. If you have a few extra minutes, download Galv’s Magic Shards demo, add only MOG\_SceneEquip to it, and open the shard scene. Does it crash the same way?

Once I have those answers I can point at something real instead of guessing.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 10, 2026, 11:12pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/7 "2026-09-10T23:12:52Z")

</div>

> [@Baz](#):
>
> 1. Yes
> 2. Yes
> 3. Yes
> 4. image:
> 5. MOG\_SceneEquip 1.0 and GALV\_MagicShards 2.2
> 6. I’m try.

 ![Errore](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/e/ee060bfc3cde130c9e25fd83a4702ab7f6c47dd5.png)

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 10, 2026, 11:22pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/8 "2026-09-10T23:22:05Z")

</div>

Thanks for going through those. Since turning MOG\_SceneEquip off clears it, those two are the pair. From what I can find, 1.0 is also the newest MOG\_SceneEquip there is, so updating isn’t an option here.

Line 487 in MOG\_SceneEquip is `this._faceSprite.opacity = this.contentsOpacity`, where it fades the actor face sprite it adds to the equip status window. I think the shard window runs that same update but never gets a face sprite, so there’s nothing there to set. Your new screenshot still points at line 487, so I think the patch I posted isn’t actually running. I’m wondering if Galv keeps Window\_ShardStatus inside his plugin where other plugins can’t reach it. That would make my last patch error out when the game loads and do nothing.

This version patches MOG’s function directly, so it doesn’t need to reach Galv’s window. Turn the old patch OFF, then save this as a new .js file in js/plugins and put it anywhere below MOG\_SceneEquip:

```auto
var _baz_mogEquipStatusUpdate = Window_EquipStatus.prototype.update;
Window_EquipStatus.prototype.update = function() {
    if (this._faceSprite) {
        _baz_mogEquipStatusUpdate.call(this);
    } else {
        Window_Base.prototype.update.call(this);
    }
};

```

If it still crashes, look at your Developer Tools screenshot. It opened on the Elements tab, so click Console at the top and screenshot what’s there. The red 12 in the corner means 12 errors are logged, and one of them may say why the patch isn’t loading.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 11, 2026, 11:37am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/9 "2026-09-11T11:37:19Z")

</div>

> [@Baz](#):
>
> ```auto
> var _baz_mogEquipStatusUpdate = Window_EquipStatus.prototype.update;
> Window_EquipStatus.prototype.update = function() {
> if (this._faceSprite) {
> _baz_mogEquipStatusUpdate.call(this);
> } else {
> Window_Base.prototype.update.call(this);
> }
> };
> 
> ```

```auto
It works now, except the parameter names have disappeared.

```

 ![errore 2](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/c/c89268e6967563072af3b85187e281b3bfc1783e.jpeg)

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 12, 2026, 12:02am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/10 "2026-09-12T00:02:37Z")

</div>

In MOG’s equip scene the stat names come from the layout image, so it replaces `drawParamName` with an empty function. Galv’s shard window inherits that and ends up drawing the numbers with nothing next to them.

You can put the names back the same way, only for the window that has no face sprite. Add this below the first patch in the same file:

```auto
Window_EquipStatus.prototype.drawParamName = function(x, y, paramId) {
    if (this._faceSprite) return;
    this.changeTextColor(this.systemColor());
    this.drawText(TextManager.param(paramId), x, y, 120);
};

```

If the names come out overlapping the numbers, try dropping that 120 to something smaller first, and if they still collide I’d shift them by changing `x` to `x + 8` or similar until it sits where you want.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 12, 2026, 12:45am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/11 "2026-09-12T00:45:47Z")

</div>

> [@Baz](#):
>
> ```auto
> Window_EquipStatus.prototype.drawParamName = function(x, y, paramId) {
> if (this._faceSprite) return;
> this.changeTextColor(this.systemColor());
> this.drawText(TextManager.param(paramId), x, y, 120);
> };
> 
> ```

```auto
Thanks, they are visible now, but the increase/decrease parameter symbol isn't showing up. Is it possible to make them appear? Perhaps by inserting MOG's "PAR" graphic?

```

 ![errore 3](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/0/0fe06fa3735d81791b42ea2251f8facfc0f0b6b5.jpeg)

![Par](https://us1.discourse-cdn.com/flex002/uploads/rpgmaker_community/original/2X/9/90229f1ebafa8a82dbf11dccec48a3dc196af831.png)

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 12, 2026, 2:00am UTC](https://guild.rpgmakerofficial.com/t/topic/2866/12 "2026-09-12T02:00:27Z")

</div>

The Par graphic is already loaded on that window, it just never gets sized. MOG fills in `_parData` from the image inside his `refresh`, and I think the shard window doesn’t run that refresh, so the width and height stay at 0 and the `blt` draws nothing.

Add this below the other two:

```auto
var _baz_mogDrawRightArrowM = Window_EquipStatus.prototype.drawRightArrowM;
Window_EquipStatus.prototype.drawRightArrowM = function(x, y, paramId) {
    if (!this._faceSprite) {
        if (!this._parImg) { this._parImg = ImageManager.loadMenusequip("Par"); }
        if (this._parImg.width > 0) {
            this._parData = [this._parImg.width / 3, this._parImg.height];
        }
    }
    _baz_mogDrawRightArrowM.call(this, x, y, paramId);
};

```

This needs Par.png sitting in img/menus/equip, same as MOG’s own equip scene uses. If the symbols are missing the very first time you open the scene and then appear once you move the cursor, that’s the image still loading in.

---

<div class="post-metadata">

**Author:** ![Lionheart](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionheart](https://guild.rpgmakerofficial.com/u/Lionheart)\
**Post date:** [September 13, 2026, 12:59pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/13 "2026-09-13T12:59:02Z")

</div>

> [@Baz](#):
>
> ```auto
> var _baz_mogDrawRightArrowM = Window_EquipStatus.prototype.drawRightArrowM;
> Window_EquipStatus.prototype.drawRightArrowM = function(x, y, paramId) {
> if (!this._faceSprite) {
> if (!this._parImg) { this._parImg = ImageManager.loadMenusequip("Par"); }
> if (this._parImg.width > 0) {
> this._parData = [this._parImg.width / 3, this._parImg.height];
> }
> }
> _baz_mogDrawRightArrowM.call(this, x, y, paramId);
> };
> 
> ```

```auto
Thanks, it works now. On the shards screen, is it possible to set the window opacity to 0?

```

---

<div class="post-metadata">

**Author:** ![Baz](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/baz/32/100_2.png) [@Baz](https://guild.rpgmakerofficial.com/u/Baz)\
**Post date:** [September 13, 2026, 4:08pm UTC](https://guild.rpgmakerofficial.com/t/topic/2866/14 "2026-09-13T16:08:56Z")

</div>

Yeah. MOG does exactly that in his own equip scene, sets every window’s `opacity` to 0 and puts his layout images behind them, so it’s just a matter of doing the same to Galv’s scene.

I don’t know if Galv exposes Scene\_MShards where another file can grab it, so this checks the scene name at runtime instead. Add it to the same patch file:

```auto
var _baz_sceneBaseStart = Scene_Base.prototype.start;
Scene_Base.prototype.start = function() {
    _baz_sceneBaseStart.call(this);
    if (this.constructor.name === "Scene_MShards" && this._windowLayer) {
        this._windowLayer.children.forEach(function(w) {
            if (w instanceof Window_Base) w.opacity = 0;
        });
    }
};

```

That clears the frame and background on every window in the shard scene, help window included, and leaves the text and shard icons alone. If you’d rather keep the frame and only fade the background, swap `opacity` for `backOpacity`.
