MVStripper - remove unused assets from your MV project

Is there any chance you could write a programm that does the opposite? 🙂  I would like to check if all resources referenced are there. Sometimes you change resources, move them around, rename them and so on, and you forget to adjust a reference or two to them. MV then throws you an error when playtesting that this and that isn't there, but maybe this can be avoided?
Is there any chance you could write a programm that does the opposite? 🙂  I would like to check if all resources referenced are there. Sometimes you change resources, move them around, rename them and so on, and you forget to adjust a reference or two to them. MV then throws you an error when playtesting that this and that isn't there, but maybe this can be avoided?



That's a great idea!


Unfortunately I'm very pressed for time at the moment, which is why there haven't been any updates to this or my other program (MVFU) recently 🙁


I'll see if I can find time to modify MVStripper to do something like that. Half of the work is done, in that it builds a list of files referenced from your project - I'd just need to make it then run a file existence check for each ref. Will PM you to let you know if I find time to do this!


That sounds like something MV should really do when opening a project!
Thanks a lot! 🙂
Seems that sometimes the opposites complete well a very good idea.  😉
thanks
This is so great, thank you Ultima!


Word of warning for those deploying to Mac: this program strips the folder img/overlays when deploying for Mac, but not PC. 


So it was said earlier up this thread (but without the Mac-specific direction), make sure you re-copy the img/overlay folder manually into the newly deployed game, or you'll get the warning, 'file not found' when playing the game. 
All the functionality of the "removed unused files" from the deployment process with none of the downsides (plugin-related woes)? Sign me up.


This thing has been tremendously useful. I'll be re-releasing my (super short) game after putting it through this baby. Thumbs up! 🙂
All the functionality of the "removed unused files" from the deployment process with none of the downsides (plugin-related woes)? Sign me up.


This thing has been tremendously useful. I'll be re-releasing my (super short) game after putting it through this baby. Thumbs up! 🙂



Great to hear it! 🙂
It gives me an error of missing animations when i export it and make the apk.. when i run the apk i cannot enter any battle whitout having animation missing problem, how do i solve it? Olso it continuosly gives me this kind of errors to:

Immagine.png
I was to type... Danky, your picture is not loading; I see a black screen on my side.  Then realized it was a MV screenshot *facepalm*
The tool works by stripping anything that is not referenced in the project database. This can be problematic if your animations are e.g only referenced in scripts. In this case, make sure to add any of those animations to your database.


If all else fails, make a note of which files are being erroneously 'stripped' out, copy them into a separate folder structure yourself and then paste that back over (re-merge the files) after running MVStripper. This will restore the required files.
The tool works by stripping anything that is not referenced in the project database. This can be problematic if your animations are e.g only referenced in scripts. In this case, make sure to add any of those animations to your database.


If all else fails, make a note of which files are being erroneously 'stripped' out, copy them into a separate folder structure yourself and then paste that back over (re-merge the files) after running MVStripper. This will restore the required files.

Question? Do you think it would be possible to add the check an animation or image is not referenced in Notetag or in script & plugin of the project? 


This would be really awesome 🙂


Thanks in advance!
This is pretty cool and helpful! I'll be giving it a test run when I release my demo. c: Thanks!
Hey I know this is old but how do you use it?


If i select my project folder, it says it is not an MV Project?


🤔
Is this still active? and up to date?

My whole problem right now is a 2gb game that should only be 500 mb lol
Is this still active? and up to date?

My whole problem right now is a 2gb game that should only be 500 mb lol

Give it a try - it hasn't really been maintained, but afaik it should still work.
This is very useful! Good job man, really need this.
Hey all,

I've made a quick'n'dirty tool to strip unused files from MV projects to get the filesize down.

http://www.kickbackgames.com/public/files/MVStripper-Win.zip (Windows)

http://www.kickbackgames.com/public/files/MVStripper-OSX.zip (Mac)

It's just a simple nwjs app. If you open the package.nw you can check out the code, improve it or whatever. I'll add a license later on if I find time -- probably MIT or BSD.

It errs on the side of safety, so if a file is referenced from anywhere in your project it is kept. That means that even a barebones project will include over half of the files in the 'RTP' -- but you can get this down yourself by removing unused animations and such from the database. That said, it still helps a lot 😛

It brings the filesize of an empty project down from 400mb to around 100mb out of the box, and only takes a few seconds.

Feedback and bug reports are welcomed - please let me know if you use it! Also if you want to thank me, make a donation to http://www.childsplaycharity.org/

EDIT: Updated to fix a bug on Windows version.


------------------------------------------------------------------------------
Hiiii, i find your MVSTRIPPER recently. I have downloaded the file BUT i had a problem. When i put my project file into your software, it says that my file is not a RMMV project... HELP ME PLEASE!!!! 🙂
Hey!
Quick question: Is there a version of this for VX ACE?
Thank you 🙂
Hey!
Quick question: Is there a version of this for VX ACE?
Thank you 🙂

Great idea! Unfortunately not, though. Maybe something someone else can do? 🙂

Original thread: https://forums.rpgmakerweb.com/threads/mvstripper-remove-unused-assets-from-your-mv-project.47985/