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
Regular
Joined
May 3, 2012
Messages
1,367
Reaction score
990
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

Regular
Regular
Joined
Feb 18, 2018
Messages
504
Reaction score
728
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
Regular
Joined
May 3, 2012
Messages
1,367
Reaction score
990
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
Regular
Joined
May 3, 2012
Messages
1,367
Reaction score
990
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,562
Reaction score
6,885
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 Posts

Latest Profile Posts

Time for the next chance for y'all to affect my advent calendar! Where should Day 7's sprite come from: land, sea, or demon realm? :rwink:
Throné's final boss is weird. He is a guy holding a baby while fighting off attackers. I think his name was Santos. I might be thinking of someone else.
I think I've just about finished fighting the fight with the tileset I was most intimidated by for game jam. No pictures yet, the map isn't presentable, but I think the tileset will work! I'm very relieved XD
Twitch! At it again with more gamedev for a couple hours, followed by some Valheim with my friend. Feel free to drop by~
these 80+ gb updates on several years old games are the absolute worst. I just want to play for an hour or so before bed to unwind. Sorry, gotta spend that time downloading an update. Then my mods will be broken so I'll have to start over or wait for those to be updated to. Is a complete game within three years of the pay to be a beta tester period really to much to ask?

Forum statistics

Threads
136,781
Messages
1,269,869
Members
180,522
Latest member
Reniawan
Top