Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
Hi guys,
I need some help.
I am not an expert in codes, so I ask you to be patient.
I need to necessarily change the RPG Maker MV internal directory.
I need that the .png images I choose should not be taken from the "Pictures" folder but from the "Titles 1" folder.

Can you tell me how I can do it?
Thank you so much
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,367
Reaction score
982
First Language
Javascript
Primarily Uses
RMMZ
Hi guys,
I need some help.
I am not an expert in codes, so I ask you to be patient.
I need to necessarily change the RPG Maker MV internal directory.
I need that the .png images I choose should not be taken from the "Pictures" folder but from the "Titles 1" folder.

Can you tell me how I can do it?
Thank you so much
Code:
ImageManager.loadTitle1(filename, hue)
That would load from "titles1"

Are you saying you just want all pictures to be taken from "titles1" when using the Show Picture command?
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
504
Reaction score
712
First Language
French, German
Primarily Uses
RMMZ
I need that the .png images I choose should not be taken from the "Pictures" folder but from the "Titles 1" folder.
Sounds like an XY problem. Why do you need this? We might be able to give you a much better solution instead.
 

Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
Code:
ImageManager.loadTitle1(filename, hue)
That would load from "titles1"

Are you saying you just want all pictures to be taken from "titles1" when using the Show Picture command?

hi CT_Bold,
Thank you for answers,

that's right, I want the show image command to take the "titles1" directory.
as well as to set a parallax background it must also take from the "titles1" folder.

I did not understand, however, where this command should be dictated, I thought one of the .js files should be modified.

Sounds like an XY problem. Why do you need this? We might be able to give you a much better solution instead.

as with iOS 14, there is a problem with the "Picture" folder, in practice once converted on iOS they are no longer read, while the files in "title1" are.

I believe there is a directory conflict, which Xcode does not provide access to the device library.
after trying everything, I came up with this latest idea..
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,367
Reaction score
982
First Language
Javascript
Primarily Uses
RMMZ
that's right, I want the show image command to take the "titles1" directory.
as well as to set a parallax background it must also take from the "titles1" folder.

I did not understand, however, where this command should be dictated, I thought one of the .js files should be modified.
Sure I can make a plugin for this but in the editor it still won't show the files in "Pictures" unless you have a duplicate image in both directories at the time of using the "Show Picture" command. would that be ok?
as with iOS 14, there is a problem with the "Picture" folder, in practice once converted on iOS they are no longer read, while the files in "title1" are.

I believe there is a directory conflict, which Xcode does not provide access to the device library.
after trying everything, I came up with this latest idea..

To solve that issue you could try renaming "Pictures" to "pictures" as it's most likely an issue with "case sensitivity"
Also make sure it really is saved with the lowercase "p" by renaming to something different first like "pic" then change it to "picture"
 

Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
Sure I can make a plugin for this but in the editor it still won't show the files in "Picture" unless you have a duplicate image in both directories at the time of using the "Show Picture" command. would that be ok?
I would be very grateful to you!
At this point it suits me as the project is already complete but I just have to update it to solve this problem.
At this point I would prefer to change the background parallax image directory from "parallaxes" to "titles1".
Is it possible then?

Sure I can make a plugin for this but in the editor it still won't show the files in "Pictures" unless you have a duplicate image in both directories at the time of using the "Show Picture" command. would that be ok?


To solve that issue you could try renaming "Pictures" to "pictures" as it's most likely an issue with "case sensitivity"
Also make sure it really is saved with the lowercase "p" by renaming to something different first like "pic" then change it to "picture"

mmm...I try immediately,
thank you.

UPDATE:
I was wrong, the folder already has a lowercase "P".

@ct_bolt
reflecting, it is not possible to change the name of the folder from which it refers?
So instead of "Pictures / pictures" I call it another way such as "storyboard"?
 

Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
This help? CTB_ChangePictureDirectory.js
View attachment 161398

You can also show pictures via the script call:
Code:
$gameScreen.showPicture(pictureId, name, origin, x, y, scaleX, scaleY, opacity, blendMode)

This would avoid the need to have the pictures also in the "Pictures" folder.

thank you very much, could you also me for the "Parallaxes" folder?
so that it always takes from titles1?
* I will insert duplicates as you indicated.
 

Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
Now does both pictures and parallax folders :)

v1.10 - CTB_ChangePictureDirectory.js

Should work as needed :popcorn:

ok, I'll try now and I'll tell you.
One question, so I leave my PNGs and duplicate them in the "titles1" folder and then also put them in the "parallaxes" folder for example.
But when I go to select them in the map settings, the "parallaxes" source will appear anyway, right?
after that your plugin should take the file from the titles1 folder though.

Am I saying good?
Thanks again!

Now does both pictures and parallax folders :)

Edit: v1.20 Change Picture & Parallax Directory: Click Here to Download


Should work as needed :popcorn:
excuse me @ct_bolt I can't download the file, it tells me "Oops! We ran into some problems" error
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,367
Reaction score
982
First Language
Javascript
Primarily Uses
RMMZ
One question, so I leave my PNGs and duplicate them in the "titles1" folder and then also put them in the "parallaxes" folder for example.
But when I go to select them in the map settings, the "parallaxes" source will appear anyway, right?
after that your plugin should take the file from the titles1 folder though.
Yep sounds right to me :)
Only on editing will you need to have the duplicate files though.
The final export you won't need duplicate files.

Version 1.20 now has separate parameters now
1600701678645.png

Edit:
excuse me @ct_bolt I can't download the file, it tells me "Oops! We ran into some problems" error
@Jollyvideos
I removed v1.10, please try v1.20 :)
v1.20 Change Picture & Parallax Directory: Click Here to Download

That should work exactly as needed now. Let me know how it goes :popcorn:
 
Last edited:

Jollyvideos

Villager
Member
Joined
May 13, 2019
Messages
29
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
Yep sounds right to me :)
Only on editing will you need to have the duplicate files though.
The final export you won't need duplicate files.

Version 1.20 now has separate parameters now
View attachment 161401

Edit:

@Jollyvideos
I removed v1.10. Please try v1.20 :)
v1.20 Change Picture & Parallax Directory: Click Here to Download

That should work exactly as needed now. Let me know how it goes :popcorn:

thank you so much.

I've tried with this alternative too but nothing I can't figure out why it doesn't work on iOS 14.x.
My all PNG images are not displaying properly, the screen flashes black and white.
While for example if I start a battle as an example so to test, the image loads correctly as it is also PNG!

A mistery.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
10,224
Reaction score
6,440
First Language
Dutch
Primarily Uses
RMXP

@Jollyvideos , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


I've merged them all together.
 

Latest Threads

Latest Profile Posts

How did no one realise my plugin had a bug for over half a year until today :kaoswt2:
My children thought this would be a funny shirt for me.
Bad Sign 2.jpg
Trying something out. Is this too many words to read?Profile_Arwen.png
totally-saved-2.gif
Save/Load complete. Kind of. There should be trinkets or medals that fit in the empty space of the bookmarks to show progression. Was gonna post it earlier, but I couldn't link GIFs. Don't mind all of them having a style level of 000, it just means they're all nakey and don't have anything equipped.

Forum statistics

Threads
131,565
Messages
1,221,093
Members
173,258
Latest member
hahadori
Top