Preload Manager

● ARCHIVED · READ-ONLY
Started by Galenmereth 289 posts Page 7 of 15 View original ↗
  1. removed
  2. Which is precisely the reason for the configurable memory limits on the asset cache ;)  
  3. removed
  4. Hmm, that is a good point, and currently you could possibly end up with assets on the map being unloaded when a battle starts if the memory limit is reached, but only then. Seeing as the map resources will be the freshest used, it's only likely if the map is significantly large in terms of assets used and the memory limit is low. I'm going to add a feature (possibly as an optional addon) that lets you see the memory footprint (based on all assets indexed on the map) when testing, making it easier to spot problems like that.
  5. removed
  6. Hello everybody. I don't understand everything, it's very interesting but a bit technical for me. :/
    But, there is a solution?
  7. Galenmereth said:
    Spoiler
    Update: Here's a preview of a simple loading screen I made using the public methods of the Preload Manager. I plan to release a configurable plugin addon for showing loading indicators like this:



    This is so awesome!! I hope we'll can customize it. You improved this a lot since the last time I saw, congrats and thanks!  :popcorn:
  8. Preload Manager v2 - RC6


    I've updated the v2 repository with a new release candidate: https://raw.githubusercontent.com/TorD/rmmv-preload-manager/master/TDDP_PreloadManager.js


    This should fix the issue with being unable to load the index file. When exporting your game to other targets than Windows and web, the previous index filename was ignored and never exported. For a full overview of releases, go here: https://github.com/TorD/rmmv-preload-manager/releases
  9. Galenmereth said:
    Preload Manager v2 - RC6


    I've updated the v2 repository with a new release candidate: https://raw.githubusercontent.com/TorD/rmmv-preload-manager/master/TDDP_PreloadManager.js


    This should fix the issue with being unable to load the index file. When exporting your game to other targets than Windows and web, the previous index filename was ignored and never exported. For a full overview of releases, go here: https://github.com/TorD/rmmv-preload-manager/releases

    Ok, :D so it no longer gives the error but now is showing this: 


    error.png


    Any ideas? :D
  10. I'll need to see the console printout; this could be anything, and from my plugin or any another. There is a way to bring up the console even in deployed games.


    Windows

    1. Open the file "package.json" in your deployed game's folder in notepad.
    2. Change the line that says

      "toolbar": false,


      into


      "toolbar": true,


      and save the documen.

    3. Open Game.exe and click the three horizontal bars in the top-right corner of the window, left of the "reload" icon.

    4. Show a screenshot of the error backtrace

    Mac

    1. Right-click and click "Show Package Contents"
    2. Open "Contents > Resources > app.nw > package.json" with TextEdit
    3. Perform step 2. from the Windows directions above.
    4. Launch the Game app, and perform steps 3. and 4. from the Windows directions above.
  11. Galenmereth said:
    I'll need to see the console printout; this could be anything, and from my plugin or any another. There is a way to bring up the console even in deployed games.



    Hi again :D sorry, I even tested with no plugins besides Preload Manager and still the same error, this happens only on Android so I can't get a console output, Windows, Web browsers work with no trouble.
  12. ThomasHarris said:
    Hi again :D sorry, I even tested with no plugins besides Preload Manager and still the same error, this happens only on Android so I can't get a console output, Windows, Web browsers work with no trouble.

    I tried to use the plugin on Android too, same error. Turned off only the Preload Manager and there was no error popping up anymore.
  13. ThomasHarris said:
    Hi again :D sorry, I even tested with no plugins besides Preload Manager and still the same error, this happens only on Android so I can't get a console output, Windows, Web browsers work with no trouble.



    It's possible through Intel XDK using the Android emulator, I will grab the logs (console output) for you tonight. :)
  14. @Galenmereth I've grabbed RC6 and tried to reproduce ThomasHarris's issue on Android. I ended up with a missing TDDP_PM.index file on my side.


    Please refer to my debug output below:


    ErrorAndroid.png
  15. darkelite said:
    @Galenmereth I've grabbed RC6 and tried to reproduce ThomasHarris's issue on Android. I ended up with a missing TDDP_PM.index file on my side.


    Please refer to my debug output below:


    ErrorAndroid.png

    Thanks for trying :D  Was this a new project? or did it have the previous version of Preload Manager? This was the error we had until RC6 came out, could be that the plugin didn't update properly :D
  16. I'm on my current project, I've overwritten the old version with the new one. It shows as RC6 in my plugin manager.


    @Galenmereth I think I've found the problem. It seeks TDDP_PM.index in my www folder, but the only file present in that folder is .PM_Index


    Do we have to manually create that file? It looks that it wasn't automatically created when I exported the game for Android.


    AndroidMissingFile.png
  17. darkelite said:
    I'm on my current project, I've overwritten the old version with the new one. It shows as RC6 in my plugin manager.

    Strange, mine has it....

    error.png
  18. ThomasHarris said:
    Strange, mine has it....


    View attachment 38775



    @ThomasHarris Strange indeed. Do you know when that file is created? I have the feeling it's not created on export, but created the first time the game is ran in test mode (from the editor). I'll also try changing the location of my project folder (it's in a synched google drive folder) so maybe there's a write permission issue at the moment the plugin is attempting to create the file.
  19. darkelite said:
    @ThomasHarris Strange indeed. Do you know when that file is created? I have the feeling it's not created on export, but created the first time the game is ran in test mode (from the editor). I'll also try changing the location of my project folder (it's in a synched google drive folder) so maybe there's a write permission issue at the moment the plugin is attempting to create the file.

    Hi, just tested with the project and after testing it created the file.
  20. Yeah, I've completely forgotten to mention that, but the plugin creates / updates the index file on play test; so after adding the plugin, changing (add/remove) assets or changing the index file name in its settings, you need to test the game first before you deploy for it to update it.