Page 1 of 2

Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 9:14 am
by RubyX_Coded
I have a problem where my Mod.cpk does not load, i checked if its not corrupted and if its in the right folder and if its the right eboot and everything.

My Mod is just a simple Test Mod where i changed the German String of "The story is a work of fiction" and changed it to a random sentence.

The Mod doesn't load and when i change my PS4 System Language to English this doesn't work either.

My guess is, that i need to specify the Mods Language or something like that, but idk why it doesn't work or what to do to fix it. Hope someone can help me, please

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 9:16 am
by Maegix
could you send your mod.cpk so I could check it out?
might just be a wrong file name or something

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 9:28 am
by Ikuzu
My guess is because you're modding the German version (dataR_G.CPK) of the game, mod.cpk doesn't apply to it. You modded an event file that's not in dataR.cpk where mod.cpk is looking.

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 10:25 am
by RubyX_Coded
Here are the files i modded:
These are Flow Scripts/Message Scripts where i just change text.

Here is the mod.cpk:

I just used some files from the patch2R_G.cpk / dataR_G.cpk

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 10:26 am
by RubyX_Coded
And its the right folder structure and correct filenames. i didn't even changed them.

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 12:47 pm
by Ikuzu
Try changing 'data' to 'ps4R' in your mod folder. Because both data and ps4R have a 'field' folder in them.

I might be wrong, but I think mod.cpk only checks for files in the base directories (dataR.cpk, ps4R.cpk, etc.). Not the language or patch directories (patch2R_G.cpk, dataR_G.cpk). You might have the file names a structure right but mod.cpk isn't coded to replace files from those CPKs.

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 2:10 pm
by RubyX_Coded
What do you mean with "Change "data" to ps4R"? You mean rename the "Data" Folder to "ps4R" in ModCompendium?

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 2:10 pm
by RubyX_Coded
What do you mean with "Change "data" to ps4R"? You mean rename the "Data" Folder to "ps4R" in ModCompendium?

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 2:21 pm
by Ikuzu
Yeah, rename the 'data' folder in your Mod Compendium > Mods > Test Mod GERMAN to ps4R. If that doesn't work then try renaming it to patch2R_G or dataR_G. If none of these things work then I don't know what else to suggest. It could be that patch2R_G.cpk / dataR_G.cpk overrides whatever changes mod.cpk applies by loading on top of it.

Re: P5R - Problems with Mod Loading and Language Files

Posted: Mon Jan 17, 2022 2:40 pm
by RubyX_Coded
Ikuzu wrote: Mon Jan 17, 2022 2:21 pm Yeah, rename the 'data' folder in your Mod Compendium > Mods > Test Mod GERMAN to ps4R. If that doesn't work then try renaming it to patch2R_G or dataR_G. If none of these things work then I don't know what else to suggest. It could be that patch2R_G.cpk / dataR_G.cpk overrides whatever changes mod.cpk applies by loading on top of it.
Already tried that, ModCompendium then says "Data Directory not found"
Should i try to extract the "patch2R_G.cpk" replace every file with my modded files and then load the modded Patch.cpk?