Preload Manager

Allan Bays

Veteran
Veteran
Joined
Oct 24, 2017
Messages
42
Reaction score
82
First Language
English
Primarily Uses
RMMV
Maybe you accidentally deleted a file?
Nothing like that it is doing it on every map with whichever file that particular map happens to try to load first. When I turn off the plugin the game runs fine. I've tried moving it up on the list but no luck there either.
 

Rozel

Villager
Member
Joined
Apr 30, 2016
Messages
27
Reaction score
30
First Language
English
Primarily Uses
Nothing like that it is doing it on every map with whichever file that particular map happens to try to load first. When I turn off the plugin the game runs fine. I've tried moving it up on the list but no luck there either.
On steam, the 1.6 update was recently reverted. You need to use an older version of this plugin if so. It's back to 1.5.2 right now.
 

Allan Bays

Veteran
Veteran
Joined
Oct 24, 2017
Messages
42
Reaction score
82
First Language
English
Primarily Uses
RMMV
On steam, the 1.6 update was recently reverted. You need to use an older version of this plugin if so. It's back to 1.5.2 right now.
Thank you! I just needed the older version it's working fine again.
 

belatucadrus

Veteran
Veteran
Joined
Mar 6, 2017
Messages
93
Reaction score
14
First Language
french
Primarily Uses
RMMV
Is there any fix for 1.6.1 ? Or I should definitely revert to 1.5.2 ?
 

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
11
First Language
Filipino
Primarily Uses
RMMV
Is there any fix for 1.6.1 ? Or I should definitely revert to 1.5.2 ?
You need to revert back since Galenmereth haven't updated this plugin for it to work on 1.6.1. Pretty sad coz I can't use the new plugins for 1.6.1 but preloader manager is more important in my game lol.
 

jakr8911

Veteran
Veteran
Joined
Feb 18, 2017
Messages
34
Reaction score
1
First Language
english
Primarily Uses
Other
You need to revert back since Galenmereth haven't updated this plugin for it to work on 1.6.1. Pretty sad coz I can't use the new plugins for 1.6.1 but preloader manager is more important in my game lol.
Is there really no other option?
 

jakr8911

Veteran
Veteran
Joined
Feb 18, 2017
Messages
34
Reaction score
1
First Language
english
Primarily Uses
Other
Somebody please make a new version, I have a lot of plugins in 1.6.1 I can't just revert back now.
 

LTN Games

Veteran
Veteran
Joined
Jun 25, 2015
Messages
647
Reaction score
509
First Language
English
Primarily Uses
RMMV
@jakr8911 You really shouldn't even need a preload manager but if you absolutely need one then I remember seeing a paid preload plugin on itch.io that works with 1.6.1.
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
107
Reaction score
96
First Language
Russian
Primarily Uses
RMMV
Somebody please make a new version, I have a lot of plugins in 1.6.1 I can't just revert back now.
You can try using the DKTools plugin which has a preload function and works with version 1.6+
 

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
I'm now working on updating this plugin to the latest version of MV, but considering a lot has changed, I'll be doing a full rewrite of many parts of it. I don't know how much time it'll take, but I thought I'd let you know that I'm working on it again.

I know there are alternatives out there now, which is good! I'll still be rewriting this for my own use, as I'll also be integrating it with another upcoming plugin for showing custom loading scenes, with customisable loading indicators, bars, etc :)
 
Last edited:

Ringtale Games

Veteran
Veteran
Joined
Oct 13, 2014
Messages
82
Reaction score
18
First Language
english
Primarily Uses
Excited to see what you come up with for this once it's done being updated!
 

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
11
First Language
Filipino
Primarily Uses
RMMV
Nice, take your time no pressure
 

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
Some sneak peeks:

New plugin settings:
Due to the new structure possible in MV 1.5.0 and upwards, the settings can be a lot more user friendly now.



Cache fetch speed:
I'm now storing and encoding the cached data in "arraybuffers" for audio and byte64 encoded data for images, resulting in blazing fast RAM load speeds. Compare the first row (disk cache) load speed of 22ms with the bottom row (RAM cache) load speed of 1ms.



A difference of 21ms might seem insignificant, but that's almost 1.5 frames at 60 fps, so it quickly adds up when you swap into maps and can fetch from memory cache like this. This cache is separate from MV's internal bitmap cache.

I've also found ways to integrate the cache system with MV's core that is far less intrusive, which should make the plugin more compatible with other plugins than before.

Still some work remaining, but good progress has been made so far :uhappy:
 

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
11
First Language
Filipino
Primarily Uses
RMMV
Keep up the good work, I'm sure it's gonna be amazing when you finished it. Massive help for game makers
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
Please support more mobile devices in the future
 

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
Please support more mobile devices in the future
I’ll do my best, but mobile device deployment can sometimes be really hard to debug if I don’t have the device and OS version on hand myself.

Still, with help from other people’s testing I hope we can solve any issues we encounter.
 

Donti59

Warper
Member
Joined
May 8, 2019
Messages
2
Reaction score
0
First Language
Hungarian
Primarily Uses
RMMV
The previous version was by far the best preloader, I hope the new version will be even better! :D Keep up the good work!
 

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
Another progress update. It's going very well now, and I'm very happy with where the code is at the moment.

But that's boring, so here are some new features:

Deployment profiles
Different platforms might need different settings tweaked for them, but manually changing these each time before deploying your game is not only tedious, it's error prone as well. To solve that I implemented deployment profiles. Take a look:



Deployment profiles currently allow you to tweak concurrent downloads, as well as image and audio cache sizes per platform, if you so wish. For any environment not specifically defined by you, the "Default" profile will be picked.

There's a list of built-in profiles: Desktop, Mobile Safari (iOS), Android Chrome, and generic Mobile Device detection. Should these not be specific enough, you can create custom profiles that evaluate a script:



I will provide some helpful shorthand methods to fetch things like url parameters and other useful tidbits easily, but you can of course write any script you want here. This should cover common and advanced deployment profile needs.

As I progress, I may add more options to the environment specific configurations.


Common Event preloading - Parallel Process and Autorun
Common Events specified in Events on a map will of course be preloaded, but you may also specify that you want to preload Common Events in general -- parallel processing, or all of them -- on map load:




Battle data
You may choose to preload battle data -- whether only Encounters configured on the map itself, or also Battle Process events:



Battle data preloading preloads not only the battlers and music involved, but also the event pages inside the Troop configurations.

You may notice tin the above image that it mentions "direct designation events only); this is because variable designation and random encounter are unpredictable at map start, so it makes no sense to preload these within the context of events, as their value is impossible to determine.

Battle Scenes will of course trigger their own preloading for unique assets when they start; this feature is simply to frontload most of that waiting time to the map load if you want to, so that the majority of encounters load much faster for the player.


Recursive preloading
Preloading things like events is recursive. Say an event calls a Common Event that calls another Common Event that calls a Battle Process. They'll all get resolved and preloaded.

Oh and in the case your Common Event calls itself -- a very bad idea -- the plugin knows which Common Events it's handled during its preloading process and won't cause an infinite loop to occur ;)


Avoids unnecessary map parsing
Maps that have had their assets already preloaded will completely skip parsing by the preloader when revisited. Due to a smarter cache solution, the plugin detects if its cache has remained untouched by memory restraints since last time the player visited that map.

While parsing a map for assets to preload is generally very fast, the more events and event pages exist on a map, the longer it'll take to figure out which assets need preloading on that map. But if nothing's been removed from the cache since last time this map was visited, the plugin skips that workload entirely.


Thank you for your encouragement everybody!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

BCj
Ew, why does my blogpost on the rpgmaker.net site look like a garbled mess? Are html codes disabled or something?
I feel that I should cut down on my order queue so I can get some more time for my projects, its been quite a longggg while since I worked on them LOL
I friend of mine insisted on practicing dubbing things with him... and its quite funny, yet, it really takes a huge amount of practice!
Gotta save this for my next thread later...
Finsh all of the walking dead game in a week, such an amazing emotional trip

Forum statistics

Threads
97,877
Messages
947,572
Members
129,111
Latest member
mariominestrone
Top