Hiya.
So I'm using a credits plugin that can only get images from the Title1 folder.
and as far as I know I can only show images from the Pictures folder.
and when things from plugins aren't used in the game, they don't get deployed. Like Yanfly's ATB plugin using Decision1 SE, it's nowhere else in my game so it didn't get deployed.
so what I need:
EITHER:
a way to get access to show the title cards I need for the credits so they get deployed.
OR
a way to get "deploy" working with stuff used only by the plugins.
Can anyone help me with this, please? It is a major obstacle and I need it fixed before this project gets too big. 🙁
I was hoping to find a script call thing to let me summon title cards but no luck. 🙁
The only solution is to not use remove unused resources, and manually remove the resources you are not using.
You MUST be joking. the opposite would surely be less work. ... right?
but i'm looking and looking and LOOKING and there's a boss fight that used "cure4" animation. I didn't tell it to. it must be a plugin but ... where? which one? >_< this is bananas. there must be some way to include stuff in deployment. otherwise every time i deploy a test run i'm gonna have to hand-pick everything?
that's nuts. that's utter nuts. :s
There is a way for plugins to tell the engine to include the resources in a deployment. Do you have a link to the credits plugin?
I am really confused about what the title of the thread has to do with your issue though. I was expecting something about allowing the player to choose the gender of their PC and then having the dialogue boxes use him/her, his/hers, he/she correctly according to their choice.
The problem is remove unused resources was added partway when MV was made, and plug-ins made before then are not set up to check for it. That is the crux of the problem. Plus, it requires special code for it to work, which some writers haven't had time or resources to add in (or even know how to add in).
I did ask you for a link to the credits plugin. That is the one that needs to have the code added. If you want to have a go yourself, the instructions are in the help file (F1) under Documentation > (Exclude unused files) Plugin Configuration.
The method differs depending on whether the image names are hardcoded or parameters.
If you don't exclude unused resources, you will not get the error. That doesn't mean the problem's fixed - it just means you've replaced one problem with a different one.
The help file tells you how to make plugins include the required resources. Fixing a problem is better than a workaround that just leaves you with a different problem.
My method works for me, in two parts...
1 - I start my Projects completely empty (that's to say, I don't use 'New' to create a Project, but copy into a now folder a pre-prepared Empty Project which contains no resources at all...). By doing this, I can be sure that any resources needed have been put into the Project manually, by myself, as and when they are needed for the Project. There is therefore no need to 'exclude unused files', as all are used, or I wouldn't have put them there.
2 - I'm not an Oracle expert, and learn at (almost...) human speed, and managed to insert the relevant code into the few Plug-ins I use so that the System would, in fact, know that their files were required, and where they were to be found. The method was easy enough to read through in the 'Help' file, and once I found one Plug-in which worked, it was simple enough to modify others. It's not rocket surgery; most literate folks should be able to do it for most cases (and it's especially useful to know how to do if there are custom file names that the original Plug-in could not know about...).
I'm perhaps slightly spoiled in that I don't use tons of Plug-ins, and my Projects are modest, but the same principles apply to most folks wanting to 'master' their Projects, I'd have thought. It's not difficult, given a bit of willing.
Just my tuppence-worth.
wait. I think i'm missing something since my last post.
What's this help file you're talking about? does it have the code i need to make the plugins take their resources with them when deployed?
i can has plz? :3
Just create a new js file that ONLY has the list of resources needed by all the plugins. Add it to your plugin list so it'll be recognized. Then there's only one file - your own - that you have to modify, which can handle ALL the resources.
btw - I gave you all the details of the F1 and where to go in the documentation several posts ago. I guess you didn't read it.
Though I have to say, I also use your approach. I create a new project and go through ALL the folders and delete everything so there's only a shell left. Got to add the basic UI and SE so the game can be played without crashing. Then as I add stuff, I know that the project ONLY contains the things that will be used. That way, there's no need to exclude unused resources.