4.60 star(s) 72 Votes

milkfaps

New Member
Apr 17, 2020
10
3
I get this error when i try to run the game, any fix? Screenshot 2025-05-07 at 9.25.43 AM.png

I tried running it the html file in palemoon/firefox and it works for a while before I get this error
Screenshot 2025-05-07 at 9.32.15 AM.png

playing on mac btw, i'd appreciate any help
 

Ungaa

Member
Modder
Feb 14, 2019
233
345
I get this error when i try to run the game, any fix? View attachment 4815456

I tried running it the html file in palemoon/firefox and it works for a while before I get this error
View attachment 4815464

playing on mac btw, i'd appreciate any help
The issue with this one is in the rpg_managers.js plugin (which you'll find in folder: app.nw -> js).
Open it with a text editor (I use CotEditor):

Find this line (Quickest way is to Command+f decode):

ImageManager.loadNormalBitmap = function(path, hue) {
// キャッシュの中に画像が存在しているか否か?
var key = this._generateCacheKey(path, hue);
var bitmap = this._imageCache.get(key);
// 存在していない場合?
if (!bitmap) {
bitmap = Bitmap.load(path);
bitmap.addLoadListener(function() {
bitmap.rotateHue(hue);
});
this._imageCache.add(key, bitmap);
// 描画準備が整っていない場合?
}else if(!bitmap.isReady()){
bitmap.decode();
}

return bitmap;
};

and replace it with:

ImageManager.loadNormalBitmap = function(path, hue) {
// キャッシュの中に画像が存在しているか否か?
var key = this._generateCacheKey(path, hue);
var bitmap = this._imageCache.get(key);
// 存在していない場合?
if (!bitmap) {
bitmap = Bitmap.load(decodeURIComponent(path));
bitmap.addLoadListener(function() {
bitmap.rotateHue(hue);
});
this._imageCache.add(key, bitmap);
// 描画準備が整っていない場合?
}else if(!bitmap.isReady()){
bitmap.decode();
}

return bitmap;
};

Also: given you're running this on a Mac: you can also replace your app.icns with the one in this zip to make the app a bit more aesthetic.
 
  • Like
Reactions: milkfaps

milkfaps

New Member
Apr 17, 2020
10
3
The issue with this one is in the rpg_managers.js plugin (which you'll find in folder: app.nw -> js).
Open it with a text editor (I use CotEditor):

Find this line (Quickest way is to Command+f decode):

ImageManager.loadNormalBitmap = function(path, hue) {
// キャッシュの中に画像が存在しているか否か?
var key = this._generateCacheKey(path, hue);
var bitmap = this._imageCache.get(key);
// 存在していない場合?
if (!bitmap) {
bitmap = Bitmap.load(path);
bitmap.addLoadListener(function() {
bitmap.rotateHue(hue);
});
this._imageCache.add(key, bitmap);
// 描画準備が整っていない場合?
}else if(!bitmap.isReady()){
bitmap.decode();
}

return bitmap;
};

and replace it with:

ImageManager.loadNormalBitmap = function(path, hue) {
// キャッシュの中に画像が存在しているか否か?
var key = this._generateCacheKey(path, hue);
var bitmap = this._imageCache.get(key);
// 存在していない場合?
if (!bitmap) {
bitmap = Bitmap.load(decodeURIComponent(path));
bitmap.addLoadListener(function() {
bitmap.rotateHue(hue);
});
this._imageCache.add(key, bitmap);
// 描画準備が整っていない場合?
}else if(!bitmap.isReady()){
bitmap.decode();
}

return bitmap;
};

Also: given you're running this on a Mac: you can also replace your app.icns with the one in this zip to make the app a bit more aesthetic.
holy shit thank you so much, it works like a charm
 
4.60 star(s) 72 Votes