Persona 4 Upscaling

Share, discover or contribute to mods for Persona 4 for the PS2.
User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Persona 4 Upscaling

Post by pigeonpoet » Sat May 02, 2020 12:34 pm

Hello,

I hope everyone is well.

I've been delving into modding Persona 4, with the primary intention of upscaling bustups and possibly some UI elements.

Now please bare in mind that I have got it working, with 2x upscaling. The game doesn't seem to like 4x, unless I'm missing something.
The upscaling can do with some tweaking, but I'm fairly happy with the result. That's the easy part if I'm honest.

Primary issue that I'm faced with is time consumption. As you can imagine there are a lot of bustups/portraits. The current workflow is inefficient, this involves using the Amicitia tool and exporting/importing in the individual tmx files, not to mention the upscaling process inbetween.
Is there a faster way of doing this? Can I mass export and import?

In regards to the tmx files, is there some kind on limitation on file size/resolution? Would be handy to know so I can push upscaling to its limit.
And with text, particularly within conversation windows, is there anyway to upscale this? I understand there is a font file, which can be changed, but to my brief investigation it looks quite restricted in terms of resolution.

I think that's it for now.
Many thanks in advance for your replies, and please remember I am a total layman when it comes to this kind of stuff.

User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Re: Persona 4 Upscaling

Post by pigeonpoet » Sat May 02, 2020 12:35 pm

Sorry, it might be worth mentioning that I am using ESRGAN for upscaling. Cheers!

User avatar
DniweTamp
Posts: 148
Joined: Sun Dec 22, 2019 7:50 am
Location: Russia
Has thanked: 26 times
Been thanked: 57 times
Contact:

Re: Persona 4 Upscaling

Post by DniweTamp » Sat May 02, 2020 6:00 pm

Please also consider using waifu2x for upscaling.

Here's how it looks like with it.

Image

User avatar
Alan3D
Posts: 56
Joined: Tue Oct 08, 2019 5:57 am
Has thanked: 34 times
Been thanked: 19 times

Re: Persona 4 Upscaling

Post by Alan3D » Sat May 02, 2020 6:06 pm

Portraits and model textures are one of the few things that you can actually upscale on the PS2 Atlus RPGs, and the .TMX seems to have a limit of 512 or 1024 before corrupting but that's the least of your problems as the UI textures cannot be upscaled without them getting off-centered onscreen due the size as they don't get scaled down by the engine (so stuff would go off screen, look too big, etc) and the fact that'd you run out of memory too fast. What you could do is wait for Rexis to publicly release his PCSX2 hack that allows texture dumping and replacement a la PPSSPP or Dolphin. As for the dumping batching Shrinefox made a tool that can extract most of the textures except for field's but he hasn't publicly shared it yet either. I can provide you with a P4 vanilla and Golden texture dumps if you wish.

User avatar
Alan3D
Posts: 56
Joined: Tue Oct 08, 2019 5:57 am
Has thanked: 34 times
Been thanked: 19 times

Re: Persona 4 Upscaling

Post by Alan3D » Sat May 02, 2020 6:07 pm

I personally think Waifu2x is too smeary, ESGARN's Digital Frames model does wonders with persona portraits, i recomend also using dedithering.

User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Re: Persona 4 Upscaling

Post by pigeonpoet » Sun May 03, 2020 2:55 am

A texture dump of Vanilla would be great, thank you.
Yes, I had experimented with some UI elements and found issues.
Can anything be done about text?

I will continue to trial different upscaling methods.

User avatar
Alan3D
Posts: 56
Joined: Tue Oct 08, 2019 5:57 am
Has thanked: 34 times
Been thanked: 19 times

Re: Persona 4 Upscaling

Post by Alan3D » Sun May 03, 2020 7:18 pm

Here is a dump of Vanilla and Golden textures (Exept for fields, excluding props that did get extracted), which i recomend in case theres more bigger assets (Like the portraits) to have a better source for upscaling. Nothing can be done about text or UI element issues unleess you use Rexis' PCSX2 build which is not currently public. https://www.mediafire.com/file/wumn1887 ... mp.7z/file

User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Re: Persona 4 Upscaling

Post by pigeonpoet » Mon May 04, 2020 1:38 am

Thanks, much appreciated.

User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Re: Persona 4 Upscaling

Post by pigeonpoet » Mon May 04, 2020 2:55 am

Hi Alan, sorry to be a pain. Do you have the bustups for vanilla?
It seems that the Golden bustups are of a different aspect ratio and size, which make it tricky to align.

User avatar
pigeonpoet
Posts: 11
Joined: Sat May 02, 2020 11:36 am
Has thanked: 2 times
Been thanked: 5 times

Re: Persona 4 Upscaling

Post by pigeonpoet » Mon May 04, 2020 5:41 am

Not to worry Alan! I've managed to get hold of them
Cheers.

Post Reply