RPG Maker MV v1.3.1: Fixes

Status
Not open for further replies.

The MM

Villager
Member
Joined
Feb 28, 2016
Messages
21
Reaction score
4
First Language
French
Primarily Uses
I just went to pay a glance. Dark grass and forests, plus the B-layer mountains on my world map seem to have the problem.


I back this up.
 

Ralph

Retired Badass
Restaff Lead
Joined
Mar 8, 2013
Messages
329
Reaction score
230
First Language
Fantasy Heroics
So we can't report the memory leak because it can't be proberbly visualized with only 90 mb projects. Smart move.
Are you telling me that you have like for example two parallaxed map of yours amounting close to 90mb? Because if so something is terribly wrong. I do not see how 90 mb will fail to deliver the issue to the devs if there really is a memory leak. (How about loading the same image multiple times to break it? Something? Anything?)
 
Last edited by a moderator:

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
Here's the project I created for this bug if someone is interested in seeing the memory leak:  https://mega.nz/#!zYtwSCAZ!RuzTMpbXkSGIKcCYICheKsv3jZqZ01wdvh6DI_xaUz8


While you click on the characters to travel through six map watch the game.exe go from 400 mb to 1,1 gb within seconds and never going back to 400 mb because the engine simply doesn't clean parallax maps.


Before 1.3 we at least had  ImageManager.cache.clear(); which decreased the game.exe back to its origin size of ram usage but of course it is not working anymore with 1.3 or 1.3.1 
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
207
Reaction score
116
First Language
Gibberish
Primarily Uses
Here's the project I created for this bug if someone is interested in seeing the memory leak:  https://mega.nz/#!zYtwSCAZ!RuzTMpbXkSGIKcCYICheKsv3jZqZ01wdvh6DI_xaUz8


While you click on the characters to travel through six map watch the game.exe go from 400 mb to 1,1 gb within seconds and never going back to 400 mb because the engine simply doesn't clean parallax maps.


Before 1.3 we at least had  ImageManager.cache.clear(); which decreased the game.exe back to its origin size of ram usage but of course it is not working anymore with 1.3 or 1.3.1 
WHY is this project 500+ MB? Strip the project down to the BARE essentials to demonstrate the memory leak. 

I also have the same problem concerning the blending. For exemple, water plants appear with a with contour.
Yea I've seen this, definitely a confirmed bug.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
WHY is this project 500+ MB? Strip the project down to the BARE essentials to demonstrate the memory leak. 


Yea I've seen this, definitely a confirmed bug.


For a more dramatic effect, as long this memory leak exists games that feature multiple parallax layers per map are not possible and to be honest I won't stop asking for a fix until memory leak is the first word that appears when you google rpg maker mv. ^^
 

Ralph

Retired Badass
Restaff Lead
Joined
Mar 8, 2013
Messages
329
Reaction score
230
First Language
Fantasy Heroics
You are not supposed to load 5k images! The recommended limit for mobile game dev is 2048 and even that is not ideal. In 3d programs that is the same and 4096 is as asking for performance issues. No wonder you are getting issues!
 
Last edited by a moderator:

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
207
Reaction score
116
First Language
Gibberish
Primarily Uses
For a more dramatic effect, as long this memory leak exists games that feature multiple parallax layers per map are not possible and to be honest I won't stop asking for a fix until memory leak is the first word that appears when you google rpg maker mv. ^^
OK I get it, you wan't the bug fixed, I support fixing bugs 100% what I don't support is people blatantly ignoring procedures to get themselves seen. Archeia has given us a bug reporting template. Dramatic effect is pointless. I love helping fellow RM devs with their projects, but I'm not willing to fill my HDD up by downloading every one of their half gig projects full of most of the same resources that I already have on my compouter and can EASILY push into the folders needed. Can EASILY strip a project down to under 90 MBs including only your custom images and just have a note to put the RTP stuff in to make the project work. It's not rocket science.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
566
First Language
English
Primarily Uses
RMMV
OK I get it, you wan't the bug fixed, I support fixing bugs 100% what I don't support is people blatantly ignoring procedures to get themselves seen. Archeia has given us a bug reporting template. Dramatic effect is pointless. I love helping fellow RM devs with their projects, but I'm not willing to fill my HDD up by downloading every one of their half gig projects full of most of the same resources that I already have on my compouter and can EASILY push into the folders needed. Can EASILY strip a project down to under 90 MBs including only your custom images and just have a note to put the RTP stuff in to make the project work. It's not rocket science.
I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
I'm pointing out to this bug for months, i've paid people so they would try to fix it and meanwhile I have the feeling that this is something which can't be fixed and tries to be ignored by the developers. Best part is how I got a fix for it but 1.3 made it no longer working. ^^


@Ralph



The problem also appears with smaller parallax maps below 2048
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
207
Reaction score
116
First Language
Gibberish
Primarily Uses
I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.
I think I just turned into a basic White Girl, because I cant even...
 

Ralph

Retired Badass
Restaff Lead
Joined
Mar 8, 2013
Messages
329
Reaction score
230
First Language
Fantasy Heroics
@Ralph



The problem also appears with smaller parallax maps below 2048
If what you are saying is true with less than 2048 then show that demo not 50 mb parallax each. That tells us nothing!
 
Last edited by a moderator:

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.


ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache
 

Crimson Dragon Inc.

Crimson Dragon
Veteran
Joined
Aug 8, 2012
Messages
925
Reaction score
135
First Language
english
Primarily Uses
RMMV
D: all my plugin settings got removed and replaced with some splash screen plug in.....and i followed the instructions completely
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,389
Reaction score
7,217
First Language
German
Primarily Uses
RMMV
ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache
there is nothing forgotten - the problem here is that cache management isn't as easy as you make it sound, and using unoptimized ridicilously large images only increases the problems that can't be avoided. make your maps smaller and send your parallaxes through image optimizers, then talk again.
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
207
Reaction score
116
First Language
Gibberish
Primarily Uses
D: all my plugin settings got removed and replaced with some splash screen plug in.....and i followed the instructions completely
You were not supposed to copy over the plugin.js file, that file is the one that had all your plugin settings D:

ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache
If the bug can be shown with smaller paralax, why not just use one of the included RTP paralax? Be reasonable with the community and it will be reasonable with you.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
566
First Language
English
Primarily Uses
RMMV
ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache
I didn't create the engine :') I was hired to fix the issues, with the editor mind you. Me fixing issues with the actual core JS files is just something I do out of the kindness of my heart. You aren't wrong in that MV is not fully optimized, but we are working on it. You are being unreasonable and expecting a $70 engine to solve all the problems for you, when the only reason it is getting continued support and updates anyway is because of us. Otherwise JPN would not be doing it. You are being unreasonable in that no developer in their right mind, even AAA developers would use a 50mb 5k image, or multiple on the same map even, for a parallax.  You are being unreasonable by actively harassing the developers into fixing a bug they are well aware of, that isn't necessarily just their fault (NodeJS is at fault too). I would appreciate it if you let us do our jobs in peace and when we get to the complicated process that is adding a proper cache system, you will be the first to know.
 

Dalph

Nega Ralph™ (Retired Overlord of Memes)
Veteran
Joined
Jul 15, 2013
Messages
7,731
Reaction score
19,554
First Language
Italian Curses
Primarily Uses
RMMV
I knew it.




Just for your information, the memory is stable at 25% to me (like it should be) after resizing your images at 2048x1365.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
there is nothing forgotten - the problem here is that cache management isn't as easy as you make it sound, and using unoptimized ridicilously large images only increases the problems that can't be avoided. make your maps smaller and send your parallaxes through image optimizers, then talk again.


Actually it took only one page of coding to have a fluid gameplay experience  With this script game.exe goes back to it's original size after 10 map transitions, the perfect solution but 1.3 made it no longer working because people decided to change stuff for no reason.

Code:
/*:
* @param Save File Index
* @desc The temporary index of the save file pre-saved and preloaded per transfer.
* @default 1
*/

var mapTransferredCounts = 0;

var params = PluginManager.parameters('X_MapSaveFix');
var saveFileIndex = Number(params['Save File Index']);

var x_sceneMap_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
    x_sceneMap_update.call(this);
    if (mapTransferredCounts >= 10) {
	    $gameSystem.onBeforeSave();
	    if (DataManager.saveGame(saveFileIndex)) {
	    	mapTransferredCounts = 0;
	    	StorageManager.cleanBackup(saveFileIndex);

	    	this.reloadMapIfUpdated();
	    	$gameSystem.onAfterLoad();
	    	SceneManager.goto(Scene_Map);
	    	ImageManager.clear();
	    }

    }
};

Scene_Map.prototype.reloadMapIfUpdated = function() {
    if ($gameSystem.versionId() !== $dataSystem.versionId) {
        $gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
        $gamePlayer.requestMapReload();
    }
};

var x_gameInterpreter_command201 = Game_Interpreter.prototype.command201;
Game_Interpreter.prototype.command201 = function() {
	mapTransferredCounts += 1;
    x_gameInterpreter_command201.call(this);
};
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
207
Reaction score
116
First Language
Gibberish
Primarily Uses
Anyways, Thank you Liquidize and your fellow Devs have been doing awesome. <3 random runnaway bugs aside I'm glad we have a dedicated group working on the engine.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just got a better look at the MZ RTP. I'm very happy with it, especially the sci-fi tiles and sprites. Glad I pre-ordered.
I've just checked the VisuStella Plugins for MZ and there are already 11 plugins. The Yanfly team(perhaps a big one?) really works so effectively and efficiently that some MZ users can likely use tons of Yanfly plugins right after MZ's released (still 13 days from now). I wonder if any other plugin developer(or team) will try to compete with Yanfly this time, no matter how slim the chance to win is :)
Hello! :kaopride:I am new to RPG Maker, though I have been lurking the forums for a while. :kaoswt: Hope to make some friends and learn some stuff here! :kaothx:
And now since I've got the whole game parts working, the *contents* await.

I've invented a cheap way to manipulate weather. Should I get it patented?
It's change from frikin' hot to beautiful at the cost of only 4 beers.

Forum statistics

Threads
100,592
Messages
977,573
Members
132,189
Latest member
akshpatil
Top