How to convert PC mods for Persona 4 Golden to work with switch?

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
I have seen that some people have been able to do this but have not been able to find a guide of exactly how. I was hoping someone could point me to a step by step guide of some sort that I can follow.
 

Apistogramma

Member
Newcomer
Joined
Jun 3, 2020
Messages
6
Trophies
0
Age
36
XP
1,229
Country
United States
I dont have personal experience with this exact game. I did have success with modding P5R and I was planning on modding P3 before I learned of the remake.

From what ive read the three games should be pretty similar to mod. I would try using this guide but use the tittle id for P4G : 010062B01525C000

https://gamebanana.com/tuts/15787
 
  • Like
Reactions: baobao43

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
I dont have personal experience with this exact game. I did have success with modding P5R and I was planning on modding P3 before I learned of the remake.

From what ive read the three games should be pretty similar to mod. I would try using this guide but use the tittle id for P4G : 010062B01525C000

https://gamebanana.com/tuts/15787
Thanks, that worked perfectly. I only used the classroom cheat sheet and social link cheat sheet mods but they both work. I am going to play around and see what other mods will work.


Also if anyone else tries, make sure you rebuild the cpk using the slower CriPackedFileMaker.exe method. I tired the other way and it would crash the game. Also, you can easily dump the romfs using DBI so you don't need to use YUZU. And lastly, I used the 64 bit PC mods not 32 bit. I am not certain but I am guessing only the 64 bit mods will work.


So what I ended up doing was:
1. Go into DBI and dumped the rofms to MY PC. (Just drag and drop)
2. Located and extracted data_e.cpk with crifilesystem
3. Extracted the relevant Persona 4 Golden (64 bit) PC mods to the extracted data_e.cpk folder. (overwrite and replace)
4. Repacked using CriPackedFileMaker.exe
5. Go to Atmosphere/Contents/010062B01525C000 and put the edited and repacked data_e.cpk in the romfs folder. (create it if it isn't there yet)

 
Last edited by baobao43,

rr8400

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
32
Trophies
0
Age
39
XP
99
Country
Brazil
Hi, I'm sorry but I'm getting a bit confused here. I'm trying to add the P4D Specialist over specialist mod. I already extracted the content files from the cpk and now I'm with a lot of folders. At step 3, you said "Extracted the relevant Persona 4 Golden (64 bit) PC mods to the extracted data_e.cpk folder. (overwrite and replace)" and that's where you lost me. Which folder should I extract it to? and the mod that I downloaded came with 2 files called ModConfig.json and Sewer56.Update.Metadata.json and a folder called "FEmulator". Which of these should I extract and where should I extract it to?
 
  • Like
Reactions: baobao43

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
Hi, I'm sorry but I'm getting a bit confused here. I'm trying to add the P4D Specialist over specialist mod. I already extracted the content files from the cpk and now I'm with a lot of folders. At step 3, you said "Extracted the relevant Persona 4 Golden (64 bit) PC mods to the extracted data_e.cpk folder. (overwrite and replace)" and that's where you lost me. Which folder should I extract it to? and the mod that I downloaded came with 2 files called ModConfig.json and Sewer56.Update.Metadata.json and a folder called "FEmulator". Which of these should I extract and where should I extract it to

Hey, I looked at the mod you are trying to convert and see it is not located in the data_e.cpk folder. It has a different structure so I am guessing it must be placed in a different area that corresponds. I am having a coffee right now and bored anyway so I will try to see if I can get it to work. I am not really that knowledgeable with this stuff but just do it for fun so I might not be able to get it working but I will try. I'll let you know in a couple hours. I think that you can safely ignore the ModCongif.json and Sewer56.Update files. I think we just need to take the "00046_streaming.hca" file from inside the FEmulator/AWB/snd00_bgm.awbfolder and swap it in where it belongs and overwrite. I am a dummy tho lol but I will update you soon.

Also it seems like a different tool may be needed than CriPackedFileMaker because I think that is just for .cpk files. To do the swap might need different tool but I will check.
 
Last edited by baobao43,
  • Like
Reactions: rr8400

blashy101

Well-Known Member
Newcomer
Joined
Sep 12, 2023
Messages
79
Trophies
0
Age
31
XP
436
Country
United States
Hey, so I spent some time working on this myself and any mods that don't involve .bf/.flow merging via Reloaded II can be ported to Switch. You just have to pack them into your data_e.cpk, I made an example mod with some instructions: here

If a mod changes something that isn't IN data_e.cpk, it's likely in data.cpk as that's the base Japanese game with data_e being the English localization files. You can put anything in data_e.cpk and it will load at a higher priority.
Post automatically merged:

Hi, I'm sorry but I'm getting a bit confused here. I'm trying to add the P4D Specialist over specialist mod. I already extracted the content files from the cpk and now I'm with a lot of folders. At step 3, you said "Extracted the relevant Persona 4 Golden (64 bit) PC mods to the extracted data_e.cpk folder. (overwrite and replace)" and that's where you lost me. Which folder should I extract it to? and the mod that I downloaded came with 2 files called ModConfig.json and Sewer56.Update.Metadata.json and a folder called "FEmulator". Which of these should I extract and where should I extract it to?

Those .json files are for Reloaded II mod loader, and are not relevant to this process. FEmulator is part of a folder structure for the mod loader to introduce files. It depends on the type of mod but generally speaking if the mod just replaces a file without any changes via bf/flow merging or executable altering, you can just throw everything into your unpacked data_e.cpk and repack it via CRI file manager.

For example, this mod for Floating Shadows works fine (I did an entire playthrough with it running) because it's just a file replacement, where as something like Dungeon Save Points would not work because it uses bf/flow merging. I'm sure it would be possible to get Reloaded II to work with the Switch version but that's a little out of my scope of possibilities right now.
 
Last edited by blashy101,
  • Like
Reactions: rr8400 and baobao43

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
Hey, so I spent some time working on this myself and any mods that don't involve .bf/.flow merging via Reloaded II can be ported to Switch. You just have to pack them into your data_e.cpk, I made an example mod with some instructions: here

If a mod changes something that isn't IN data_e.cpk, it's likely in data.cpk as that's the base Japanese game with data_e being the English localization files. You can put anything in data_e.cpk and it will load at a higher priority.
Post automatically merged:



Those .json files are for Reloaded II mod loader, and are not relevant to this process. FEmulator is part of a folder structure for the mod loader to introduce files. It depends on the type of mod but generally speaking if the mod just replaces a file without any changes via bf/flow merging or executable altering, you can just throw everything into your unpacked data_e.cpk and repack it via CRI file manager.

For example, this mod for Floating Shadows works fine (I did an entire playthrough with it running) because it's just a file replacement, where as something like Dungeon Save Points would not work because it uses bf/flow merging. I'm sure it would be possible to get Reloaded II to work with the Switch version but that's a little out of my scope of possibilities right now.
Great thanks for the help. So the only issue is I don't know where to put the mod files inside the extracted data_e.cpk . Like, do I just copy the FEmulator folder and paste it inside anywhere? Because it isn't in there so do I check in data.cpk to see if it is there?
 
  • Like
Reactions: rr8400

blashy101

Well-Known Member
Newcomer
Joined
Sep 12, 2023
Messages
79
Trophies
0
Age
31
XP
436
Country
United States
Great thanks for the help. So the only issue is I don't know where to put the mod files inside the extracted data_e.cpk . Like, do I just copy the FEmulator folder and paste it inside anywhere? Because it isn't in there so do I check in data.cpk to see if it is there?

So let's use this mod as an example this has an FEmulator folder and inside there's AWB -> snd00_bgm.awb (folder) -> 00046_streaming.hca. So, snd00_bgm.awb as a file exists in data.cpk under the directory data.cpk -> sound -> adx2 -> bgm -> snd00_bgm.awb (file),

So if we make those directories in our data_e.cpk unpacked folder, we can replace the snd00_bgm.awb file by putting it in our data_e.cpk.

pic1.png


But in order to use that mod, we have to unpack and repack our .awb file. Information on how to do that is located here.

I hope this helps, lemme know if you have any questions!

If you have a specific mod you are trying to port to Switch, could you link it here and I can help you with it?
 
  • Like
Reactions: rr8400 and baobao43

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
Thanks again for the information. I don't actually have any specific mod I want I just like doing this for fun. I was able to port the PC versions of 2 other mods for persona 4 Golden PC over to switch and they worked but then I could not help with the other persons request. As you saw he wanted the P4D Specialist over "specialist" mod but I could not advise him exactly how to proceed as it had different file structure and type than the mods I ported over. All of your information was very helpful, especially with how to unpack and repack the .awb file. I was able to do this and then repack the cpk. But somewhere along the line I must have made a mistake because the resulting cpk was like 15gb lol. I actually think I know what I did wrong now but am fed up with this for now lol so i will try again tomorrow. Might have to pester you with some questions again but I think I already know my mistake. Thanks again!
 
  • Like
Reactions: rr8400

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,270
Trophies
1
XP
4,537
Country
United States
I have seen that some people have been able to do this but have not been able to find a guide of exactly how. I was hoping someone could point me to a step by step guide of some sort that I can follow.
If the mods are just simple drag and drop and the Switch version uses the same file structure then you could just have it replace game files and such using LayeredFS.
 

blashy101

Well-Known Member
Newcomer
Joined
Sep 12, 2023
Messages
79
Trophies
0
Age
31
XP
436
Country
United States
Thanks again for the information. I don't actually have any specific mod I want I just like doing this for fun. I was able to port the PC versions of 2 other mods for persona 4 Golden PC over to switch and they worked but then I could not help with the other persons request. As you saw he wanted the P4D Specialist over "specialist" mod but I could not advise him exactly how to proceed as it had different file structure and type than the mods I ported over. All of your information was very helpful, especially with how to unpack and repack the .awb file. I was able to do this and then repack the cpk. But somewhere along the line I must have made a mistake because the resulting cpk was like 15gb lol. I actually think I know what I did wrong now but am fed up with this for now lol so i will try again tomorrow. Might have to pester you with some questions again but I think I already know my mistake. Thanks again!
So the data.cpk is really heavy but data_e.cpk shouldn't be more than 1gb.
Post automatically merged:

If the mods are just simple drag and drop and the Switch version uses the same file structure then you could just have it replace game files and such using LayeredFS.
The mods are drag and drop for the PC version since there's a mod loader that deals with unpacking/repacking files on the fly, the Switch version doesn't have that, so you have to repack your main .cpk file every time you want to run a mod.
 
  • Like
Reactions: baobao43

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
So the data.cpk is really heavy but data_e.cpk shouldn't be more than 1gb.
Post automatically merged:


The mods are drag and drop for the PC version since there's a mod loader that deals with unpacking/repacking files on the fly, the Switch version doesn't have that, so you have to repack your main .cpk file every time you want to run a mod.
Yea, that is exactly what I did wrong lol. I placed the modified files in the data.cpk rather than creating a folder for them in the data_e.cpk. I know I kind of babbled and asked tons of questions but now hopefully other people with this problem can follow your steps here. Thanks for the help! It is kind of hard to find a neat guide that goes step by step for people who aren't great with computers like me.
 

blashy101

Well-Known Member
Newcomer
Joined
Sep 12, 2023
Messages
79
Trophies
0
Age
31
XP
436
Country
United States
Yea, that is exactly what I did wrong lol. I placed the modified files in the data.cpk rather than creating a folder for them in the data_e.cpk. I know I kind of babbled and asked tons of questions but now hopefully other people with this problem can follow your steps here. Thanks for the help! It is kind of hard to find a neat guide that goes step by step for people who aren't great with computers like me.
No worries! Glad you got it figured out!
 
  • Like
Reactions: baobao43

lid46848

New Member
Newbie
Joined
Dec 1, 2020
Messages
1
Trophies
0
Age
33
XP
9
Country
Guatemala
how are you guys... sorry for the inconvenience... I know it has nothing to do with persona 4, but maybe one of you could help me... Do you know how I can use the Mortal Kombat 1 mods on Nintendo Switch? or how can I convert them so that they work?
 

adriankian

New Member
Newbie
Joined
Feb 18, 2024
Messages
2
Trophies
0
Age
22
XP
6
Country
Spain
Thanks, that worked perfectly. I only used the classroom cheat sheet and social link cheat sheet mods but they both work. I am going to play around and see what other mods will work.


Also if anyone else tries, make sure you rebuild the cpk using the slower CriPackedFileMaker.exe method. I tired the other way and it would crash the game. Also, you can easily dump the romfs using DBI so you don't need to use YUZU. And lastly, I used the 64 bit PC mods not 32 bit. I am not certain but I am guessing only the 64 bit mods will work.


So what I ended up doing was:
1. Go into DBI and dumped the rofms to MY PC. (Just drag and drop)
2. Located and extracted data_e.cpk with crifilesystem
3. Extracted the relevant Persona 4 Golden (64 bit) PC mods to the extracted data_e.cpk folder. (overwrite and replace)
4. Repacked using CriPackedFileMaker.exe
5. Go to Atmosphere/Contents/010062B01525C000 and put the edited and repacked data_e.cpk in the romfs folder. (create it if it isn't there yet)

hello sorry to bother but how did you exactly use crifilesstymem to extract date_e.cpk from the DBI folder? i dowloaed it but i cant figure out which tool i need to use in my DBI Persona 4 Golden folder I only have the nsp and an empty folder there
 

DavCortez

New Member
Newbie
Joined
Feb 20, 2024
Messages
1
Trophies
0
Age
19
XP
8
Country
Mexico
hello sorry to bother but how did you exactly use crifilesstymem to extract date_e.cpk from the DBI folder? i dowloaed it but i cant figure out which tool i need to use in my DBI Persona 4 Golden folder I only have the nsp and an empty folder there
First of all, excuse my English, I'm not very good at it.To extract the romFS in my case use nxdumptool, it will leave them in the root/switch/nxdumptool/romfs/ folder. Then you just open Crifilessystem, drag the date_e.cpk file into the program and you will get a notice asking if you want to extract it.To pack again just drag all the files into the program and then click the button above to pack.I hope I make myself understood, sorry if not.
 

adriankian

New Member
Newbie
Joined
Feb 18, 2024
Messages
2
Trophies
0
Age
22
XP
6
Country
Spain
First of all, excuse my English, I'm not very good at it.To extract the romFS in my case use nxdumptool, it will leave them in the root/switch/nxdumptool/romfs/ folder. Then you just open Crifilessystem, drag the date_e.cpk file into the program and you will get a notice asking if you want to extract it.To pack again just drag all the files into the program and then click the button above to pack.I hope I make myself understood, sorry if not.
Dont worry your english is fine thank you so much! Mi problema es que no puedo usar nxdumptool porque no tengo las keys necesarias para que funcione ya que tengo usar Lockpick_RCM pero ahora mismo no puedo acceder a la tarjeta sd desde mi ordenador. Por eso solo puedo usar DBI para acceder a los romFS pero no me aperecen en las carpetas,pero muchas gracias igualmente intentare arreglar el nxdump y seguire tu guia cuando pueda
 

baobao43

Active Member
OP
Newcomer
Joined
Nov 2, 2022
Messages
41
Trophies
0
Age
40
XP
240
Country
Canada
hello sorry to bother but how did you exactly use crifilesstymem to extract date_e.cpk from the DBI folder? i dowloaed it but i cant figure out which tool i need to use in my DBI Persona 4 Golden folder I only have the nsp and an empty folder there
Sorry for the late reply, I haven't been on here much.
1. Open DBI with your switch connected to your PC
2. Select Browse installed applications
3. Highlight Persona 4 and press the + button to bring up the menu
4. Select "Expose contents via MTP"
5. Now you can browse the Persona 4 files on your switch on your PC. So select data_e.cpk and copy it to your desktop
6. Use Cripakgui.exe to unpack the data_e.cpk you just copied onto your desktop
7. To do this use Cripakgui.exe select File then "Open CPK" and select your data_e.cpk
8. Click "Extract Files" and it will save a new folder called "data_e.cpk_unpacked"
9. Then you can copy the mods files you want over to that folder and afterwards you need to repack it using "CriPackedFileMaker.exe"
10. Take the resulting file and put it in a folder called "romfs"
11. Put that romfs folder in atmosphere/contents and the proper titleID. For Persona 4 this is 010062B01525C000


Like the other guy said you could also use NXdumptool. For me using DBI seems easier. I just expose the game through MTP so I can browse it on my computer and like I mentioned I just copy the data_e.cpk over.


Here is CriPakGUI.
https://shrinefox.com/browse?post=cripakgui

And here is Cripackedfilemaker.exe and other various tools- https://docs.google.com/file/d/0B4p...YTg/edit?resourcekey=0-g3hFUwiLWuYX10uEuZc1xg
 
Last edited by baobao43,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ZeroT21 @ ZeroT21: sounds like everyone has some great imaginary friends