Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A

Introduction

TDDP - PreloadManager lets you preload resources on both map load (in between map transfers) and/or upon starting the game to ensure resources such as pictures, music and sound effects are preloaded and guaranteed ready to go for player interaction.

Before asking for help, please read the documentation page to see if it might already be covered there. That page will be updated over time and always be the most current documentation available for the plugin.

Features

  • Preload all resources found on a map upon loading the map. Cache is used so reloading the same map will be near-instant
  • Preload specified resources on game boot using the advanced configuration options
How to use

Add the plugin to your game and check the documentation page for help. The Help section contains general information and a link the plugin's documentation page.

Last updated

2015-12-03 - 1.1.1

Documentation

Official documentation page and changelog

Download

GitHub
1.5.0 compatible by Archeia and Yami

Dependencies

None

FAQ

No items yet

Credit

Tor Damian Design

Terms of use

Free for non-commercial and commercial use. See terms of use for the full terms.

A big thank you to Degica for making this plugin free for commercial use for everyone!
 
Last edited by a moderator:

Rex Tenebris

Regular
Regular
Joined
Mar 9, 2013
Messages
407
Reaction score
109
First Language
Spanish
Primarily Uses
RMMZ
Github's link is down, can you fix it? Thank you :)
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
My apologies, it was still set to private. Github link should work now :)
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
New version: 1.0.1

A new version of this plugin has now been released. The changes are:
 

Bugfixes for Android publishing and general improvements. Local testplay check of file existence instead of extending audio objects to check for errors (not reliable for Html5Audio). Better load speed by keeping track of already requested images so an image isn’t checked against cache multiple times per map load. Better debugging print of map name and loaded resources.
Be sure to check the documentation page for a full changelog and most up-to-date help files.
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
I apologize for the double bump but this is pretty important:

New version: 1.0.2

A new version of this plugin has now been released. The changes are:
 

Fixes Html5Audio problems in MV's defaults so that it actually loads the data and thus fires off events properly too.
Be sure to check the documentation page for a full changelog and most up-to-date help files.
 

Tuomo L

Oldbie
Regular
Joined
Aug 6, 2012
Messages
2,505
Reaction score
1,418
First Language
Finnish
Primarily Uses
RMMV
When I have it in my game it loads forever.
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
Did you download the latest version (1.0.2)? Please also check the debug console (F8) to see if there's any files it can't find :) They'll be in red letters if so.
 

Tuomo L

Oldbie
Regular
Joined
Aug 6, 2012
Messages
2,505
Reaction score
1,418
First Language
Finnish
Primarily Uses
RMMV
Yes nothing happens and nothing logs into the console.  I am running 1.0.2 version.
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
Hmm, I'm not sure what might be going on then. What OS are you running, and have you got any other plugins activated?
 

Tuomo L

Oldbie
Regular
Joined
Aug 6, 2012
Messages
2,505
Reaction score
1,418
First Language
Finnish
Primarily Uses
RMMV
Hmm, I'm not sure what might be going on then. What OS are you running, and have you got any other plugins activated?
Windows 10. I have most of  the plugins included within the Pre order thing, this was inlucded with it too but I did update it.
 

abreyer3

Villager
Member
Joined
Oct 26, 2015
Messages
12
Reaction score
2
First Language
English
Sorry in advance if this is a stupid question, but is there a way to load all the files from within a folder rather than manually typing every name? My game is going to have hundreds of pictures, and I don't want to have to type every single file name.
 

Kane Hart

Elmlor.com
Regular
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
wow I will have to try this out on mobile. I wonder if this will help performance at all. Though Map transferring I assume a lot I always wondered moving around the map performance caching would help at all. 
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
@Tuomo L: I am not able to reproduce the problem here. Could you try using the plugin in a completely fresh project and then see if you still have that problem? I'm sorry I can't offer any direct help but there's a lot of variables involved, so I have to exclude the bigger issues first.

@abreyer3: That is actually a good idea for a feature and I'm going to implement that :) But do also remember that all assets found on a map will be preloaded on map start by default, including pictures shown using Show Picture.

@Kane Heart: It is possible, since streaming in larger resources as you go could potentially easily cause slowdowns on mobile devices where asset acquisition is often slower due to sandboxing. Let me know if you test it out :)
 
Last edited by a moderator:

Jenza

Regular
Regular
Joined
Oct 25, 2015
Messages
40
Reaction score
7
First Language
English
Would it also be possible to add some kind of loading bar or text to show what is being loaded just to show that the game hasn't frozen or something :p
 

Tuomo L

Oldbie
Regular
Joined
Aug 6, 2012
Messages
2,505
Reaction score
1,418
First Language
Finnish
Primarily Uses
RMMV
@Tuomo L: I am not able to reproduce the problem here. Could you try using the plugin in a completely fresh project and then see if you still have that problem? I'm sorry I can't offer any direct help but there's a lot of variables involved, so I have to exclude the bigger issues first.
It works on a totally fresh project but not the project with the other scripts that came in the DLC folder.
 

abreyer3

Villager
Member
Joined
Oct 26, 2015
Messages
12
Reaction score
2
First Language
English
@abreyer3: That is actually a good idea for a feature and I'm going to implement that :) But do also remember that all assets found on a map will be preloaded on map start by default, including pictures shown using Show Picture.
Thanks for your help! Yeah, the show picture would be mainly used for in-battle events, so having that pre-load manager script will be very helpful. ;)
 

Kane Hart

Elmlor.com
Regular
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
I will have to look through this more later. I tried testing by 100% default but had sound missing issues but they had no extensions and I did not enabled any the options.

GBr1FuJ.png
 

Galenmereth

Semi-retired
Regular
Joined
May 15, 2013
Messages
2,249
Reaction score
2,206
First Language
English
Primarily Uses
N/A
@Kane Hart: It doesn't report the file extension because it checks if either .ogg or .m4a formats exist for the given sound file. The reason for this is that the preloader can't know (and shouldn't care about) what audio format your target platform requires, so it checks if either of those are there. If the sound file is in another format it assumes it doesn't exist because other formats are not officially supported. Is the Move sound effect there in either .ogg or .m4a format? :)

@abreyer3: Hmm I actually haven't considered battles. I'll see about implementing support for preloading all battle assets too, in addition to the folder preloading I mentioned.

@Tuomo L: It would help me a lot if you could send me a screenshot of the other plugins you have enabled, to narrow down what might be incompatible. Or is it every single one from the dlc folder?
 

Kane Hart

Elmlor.com
Regular
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
@Kane Hart: It doesn't report the file extension because it checks if either .ogg or .m4a formats exist for the given sound file. The reason for this is that the preloader can't know (and shouldn't care about) what audio format your target platform requires, so it checks if either of those are there. If the sound file is in another format it assumes it doesn't exist because other formats are not officially supported. Is the Move sound effect there in either .ogg or .m4a format? :)
Derp I had a old Ace Import I guess and it was calling for the move file :) I was like but I swore Move does not exist only 1+ Does hehe.

Thanks for the info also :)
 

Kane Hart

Elmlor.com
Regular
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
Just tried it on the phone.

Seems to work for moving from map to map and not having as much of a slowdown. Sadly the way the tiles render in the game it's going to always be slow till it's changed but works nicer at least crossing maps :)
 

Latest Threads

Latest Posts

Latest Profile Posts

Ho, ho, ho and mwah, ha, ha. It appears that I will be getting a leg up on the inclusion of Krampus in the 2023 Game Jam. We arrived in Orlando, FL yesterday and my wife found a Krampus Festival for us to attend tonight! Maybe I will be going home with a Krampus!
I was planning on getting new character management feature into Character Generator, but my recent illness has delayed this somewhat. I will try and get it done today (which would be a miracle) but if not, I will have to complete the whole lot by Tuesday. This should hopefully be fine and all other feature updates should not have their target dates affected.
Everybody: "Hey, weren't you supposed to be making a game"?

Me. "MUST MAKE MOAR CUTSCENES!!1"
I've been watching videos about the videogame streamer Open Hand charity scandal, and the rabbit hole keeps getting deeper. At first it was just a lot of donated money being grossly neglected for years, and now there's a lot of money unaccounted for, which could turn this into a legitimate IRS crackdown.

Forum statistics

Threads
136,704
Messages
1,268,952
Members
180,424
Latest member
Naix73
Top