[Multiplatform] HD2x Persona 5

Share, discover, or contribute to mods for Persona 5 for PS3 and PS4.
User avatar
Zelkin
Posts: 29
Joined: Fri Oct 11, 2019 2:32 pm
Location: France
Has thanked: 4 times
Been thanked: 5 times

[Multiplatform] HD2x Persona 5

Post by Zelkin » Thu Jul 23, 2020 9:07 am

Hi folks!

I present to you an AI upscaled texture mod of all the environment textures for Persona 5.
All textures have been upscaled using the waifu2x caffe software, increasing the dimension by 2 times in width and length. Pixel count is increased 4 times. As a side effect, many baked light sources and shadows have been upscaled as well.

Here is the link: https://drive.google.com/file/d/1daC-Hz ... sp=sharing

The archive size is 2.4 GB.
After decompressing, there is 8.8 GB of textures. Atlus is using a lot of duplicates...

Use the mod compendium to install. It takes about 1min30s to build with a SSD.
Here are some screenshots for comparison.
https://ibb.co/BnW1tXd
https://ibb.co/0nzVycN
https://ibb.co/61qxZNg
https://ibb.co/g3V38BH
https://ibb.co/0qgtxTx
https://ibb.co/qdVy990

This mod has better mipmaps for all textures, and also fixes some game bugs, such as wrong reflections
https://ibb.co/D96dDBN
https://ibb.co/NV4pBGL
https://ibb.co/WDnmKvS
https://ibb.co/s3cLHtf

There are some texture bugs in a few area of the game. As a temporary fix, remove the files tex053_110_00_00.bin, tex054_000_00_00.bin and tex054_032_00_00.bin from the mod archive and build it with the mod compendium. This should fix the bugs in Kaneshiro's palace. I'll upload a proper fix later.
Kudos to E25!

Feel free to take comparative screenshots and post them here!

Update: fixed bugged textures in Velvet room and on some trains, removed some unnecessary large files. Should fix the infinite load screen issue.
Last edited by Zelkin on Wed Aug 05, 2020 4:17 am, edited 14 times in total.

User avatar
E25
Posts: 9
Joined: Mon Jul 06, 2020 10:22 am
Has thanked: 1 time

Re: HD2x Persona 5

Post by E25 » Thu Jul 23, 2020 6:11 pm

Excellent work!
Tried the mod when it was still WIP, glad to see you got around to finish it.

There is a subtle, but certainly noticable increase in sharpness on pretty much everything in the world, most noticable on objects that have writing or other intricate details. Does make it a bit harder to run and inital loadtimes are a bit longer, but certainly worth it imo.

However I did noticed that textures with english writing/textures that were localised seem to be unaffected, now I don't know wheter this is simply an oversight or they are low res beyond saving (I'll check the files when I have the time). They stood out quite a bit in the unmodded and definitely stand out now. Found a few other textures that didn't have any/much text on them yet were still quite low res.

Example:
Map found in the Underground Walkway in Shobuya, og version:
Image
https://ibb.co/X51w4bc
Seemingly the same in modded ver.:
Image
https://ibb.co/WHxtv6W

If they are still this blurry with upscaling, I might get around to just fix them up manually; provided you'd be up for pathcing it in.

Or all of this could be just on my end, but everything else seems to work fine.
Thanks again for the mod.
Jack of all trades, master of none.
Taking life at the speed of 20Gb of mods compiling on a HDD.

User avatar
Zelkin
Posts: 29
Joined: Fri Oct 11, 2019 2:32 pm
Location: France
Has thanked: 4 times
Been thanked: 5 times

Re: HD2x Persona 5

Post by Zelkin » Fri Jul 24, 2020 2:22 am

Thanks for trying out the mod!
Yes, I am aware of this issue. As you said, some of the game textures are very low quality and hard to recover even with AI. I am working on a fix. On my side the textures are not as blurry however:
with the mod: https://ibb.co/g3V38BH
without : https://ibb.co/61qxZNg
Are you sure you didn't mix up something in your installation ? I'm playing with the BLUS31604 version of the game.
As for fixing manually the textures, it might become a huge undertaking: many textures are in a disastrous state in the vanilla game. Also, there are many duplicates, meaning that the same texture can be used in different files, and need to be modified everywhere as there is no way (I didn't find any) to quickly tell which one is applied where.
Feel free to send them to me if you wish, just tell me the name, original compression level (DXT1, 3 or 5) and from which file you extracted it.

User avatar
E25
Posts: 9
Joined: Mon Jul 06, 2020 10:22 am
Has thanked: 1 time

Re: HD2x Persona 5

Post by E25 » Fri Jul 24, 2020 4:07 pm

Zelkin wrote:
Fri Jul 24, 2020 2:22 am
Thanks for trying out the mod!
Yes, I am aware of this issue. As you said, some of the game textures are very low quality and hard to recover even with AI. I am working on a fix. On my side the textures are not as blurry however:
with the mod: https://ibb.co/g3V38BH
without : https://ibb.co/61qxZNg
Are you sure you didn't mix up something in your installation ? I'm playing with the BLUS31604 version of the game.
As for fixing manually the textures, it might become a huge undertaking: many textures are in a disastrous state in the vanilla game. Also, there are many duplicates, meaning that the same texture can be used in different files, and need to be modified everywhere as there is no way (I didn't find any) to quickly tell which one is applied where.
Feel free to send them to me if you wish, just tell me the name, original compression level (DXT1, 3 or 5) and from which file you extracted it.
Playing on the BLUS31604 version as well, running mods with mod compendium (4k xbox controller prompts, HD2x, Full 4k UI upscale; in that order) with compression, on the extra Vram RPCS3 fork. I'll try to see if changing the order or turning off compression does anything as I can't get the xbox prompts working either.
Jack of all trades, master of none.
Taking life at the speed of 20Gb of mods compiling on a HDD.

User avatar
Zelkin
Posts: 29
Joined: Fri Oct 11, 2019 2:32 pm
Location: France
Has thanked: 4 times
Been thanked: 5 times

Re: HD2x Persona 5

Post by Zelkin » Fri Jul 24, 2020 4:26 pm

You need to decompress the .rar archive before building with the mod compendium. Also, the extra Vram RPCS3 build is not needed to run this mod. You still need it for 4k Ui however

User avatar
E25
Posts: 9
Joined: Mon Jul 06, 2020 10:22 am
Has thanked: 1 time

Re: HD2x Persona 5

Post by E25 » Fri Jul 24, 2020 4:45 pm

Zelkin wrote:
Fri Jul 24, 2020 4:26 pm
You need to decompress the .rar archive before building with the mod compendium. Also, the extra Vram RPCS3 build is not needed to run this mod. You still need it for 4k Ui however
Naturally the archive has been extracted. While it's true that the vram fork is not needed for this mod, the 4k UI mod requires it. Tried it with xbox/hd2x/4k ui and compression off, refused to work at all. I'll look into it more, maybe the xbox mod is the one interfering.
Jack of all trades, master of none.
Taking life at the speed of 20Gb of mods compiling on a HDD.

User avatar
E25
Posts: 9
Joined: Mon Jul 06, 2020 10:22 am
Has thanked: 1 time

Re: HD2x Persona 5

Post by E25 » Fri Jul 24, 2020 7:56 pm

Got it working, seems like there was an issue on mod compendium's part.

Running two versions of the games side by side it's clear just how much the upscale helped:
https://ibb.co/Y7jVvsK

But it's also clear that there is a lot of visual information missing due to the low res that cannot be interpeted even by ai. I'll look into a couple of algorithms to see if there's one that excells at text, as it seems those suffered the most from the low res. Doubt I could redo every one of them as I seem to have an incomplete cache, but that's beside the point.

On an another note I do woner if it'd be possible/worthwhile to rip textures for text and such from P5R, but I don't know what res those are in and nor do I have access to the files.

Btw really impressed with the lack of distortions, thanks again!
Jack of all trades, master of none.
Taking life at the speed of 20Gb of mods compiling on a HDD.

User avatar
creeper88-boy
Posts: 2
Joined: Wed Jul 29, 2020 1:11 pm

Re: [Multiplatform] HD2x Persona 5

Post by creeper88-boy » Sun Aug 02, 2020 10:37 am

hi does this mod work with a lower pc?

User avatar
Zelkin
Posts: 29
Joined: Fri Oct 11, 2019 2:32 pm
Location: France
Has thanked: 4 times
Been thanked: 5 times

Re: [Multiplatform] HD2x Persona 5

Post by Zelkin » Sun Aug 02, 2020 5:04 pm

Try it and tell me

User avatar
E25
Posts: 9
Joined: Mon Jul 06, 2020 10:22 am
Has thanked: 1 time

Re: [Multiplatform] HD2x Persona 5

Post by E25 » Mon Aug 03, 2020 9:12 am

Looked into the textures, image for the metor map on the wall can be found in

Code: Select all

tex001_001_00_01.bin
, under

Code: Select all

f001_001_b1_sign.dds
. https://ibb.co/xzYCfdr
Sadly the texture file is only 128*256, and it's part of multiple sign textures, so there's little can be done to improve upon your upscaling due to how little data there is to work with.

Only possibility/next step I see is ripping textures from P5R, as those seem to be of much higher resolution, 2-3x I'd imagine. Far as I know the tools haven't been updated yet to work with the files that the PS4 version uses, but I might be wrong on that (couldn't even try as I don't have the files).


creeper88-boy wrote:
Sun Aug 02, 2020 10:37 am
hi does this mod work with a lower pc?
Provided you have the Vram for it, it should, however you will see a performance impact. It's most prelevant in areas where you don't already hit the fps cap (regardless of whether it's 30 or 60), such as in city streets or large open areas in castles. Unless you're struggling to run the game at 30fps at whatever 720 or 1080p, I'd recommend that you try it out and see if the performance impact is worth it for you.
Jack of all trades, master of none.
Taking life at the speed of 20Gb of mods compiling on a HDD.

Post Reply