Post Reply 
 
Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Persona 3 Portable HD Texture Pack Community Expansion (WIP) [Updated 12/16/2021]
10-21-2020, 07:14 PM
Post: #31
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Made an account just to say, thank you so much. This will be incredibly useful for my second playthrough, it's one of my favourite games and while the older HD texture packs helped it was still a bit weird with the blinking glitch and some people looking more HD than others. Thank you!
Find all posts by this user
Quote this message in a reply
10-22-2020, 06:44 PM
Post: #32
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(10-14-2020 04:50 AM)Lane0 Wrote:  I tried to extract or open 3x Version 2.0 (1 GB) in order to apply the textures but I keep telling me this is not a zip file and if try to open it shows being empty.

Is there something I'm doing wrong???

I just redownloaded the file (to make sure it isn't an issue with the upload) and extracted it just fine. Have you tried redownloading it? If you still have an issue, then could you tell me what platform you are trying to run this on (Windows 10, Linux, MacOS X, Android, etc.)?
Find all posts by this user
Quote this message in a reply
10-24-2020, 03:44 PM
Post: #33
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(10-21-2020 07:14 PM)Dorkstrike Wrote:  Made an account just to say, thank you so much. This will be incredibly useful for my second playthrough, it's one of my favourite games and while the older HD texture packs helped it was still a bit weird with the blinking glitch and some people looking more HD than others. Thank you!

Glad you enjoyed! It's comments like this that motivate me to continue working on this.

Additionally, for those interested, I'm currently looking into alternate upscaling methods and textures that can be upscaled easily (like the blood or the remaining personas).
Find all posts by this user
Quote this message in a reply
10-28-2020, 03:37 PM
Post: #34
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(10-10-2020 06:45 PM)BanhCanh Wrote:  
(10-10-2020 01:34 PM)TridentOfTheAbyss Wrote:  ...

I used it too, for quick test, but I like the command line better. Allow me to just start it and it split/merge alpha, waifu2xcaffe, esrgan, move around files with one command. It makes life easier imo. I'm a bit new to it but it's similar enough to Linux's terminal. You probably can make it so it auto-detect any change in a folder and automate the whole thing ?
I'd like to add that I believe the color of my upscaled textures are different from vanilla (if I remember correctly) so you might want to keep that in mind if you want to use it or do something similar! (feel free to do whatever you want with it btw)

So I know exactly what the issue is with the alpha channels. The model used (as well as many other models) tends to make the white in the images more light gray. This is also applied to the alpha channels, resulting in the non-transparent areas of the image becoming slightly transparent. Using waifu2x for the alpha channels, this doesn't happen, but the images don't always line up correctly, resulting in some transparent edges or white/black edges. Thankfully, Image Enhancement Utility (IEU) has an option for image postprocessing to make the image or the alpha channel pure white within a threshold, which would help a lot for the less complex alpha channels. Sadly, this doesn't work for just the alpha channel, only for the image alone or image and alpha channel combined. However, a similar operation exists in ImageMagick -white-threshold value{%} but I can't figure out how to use it to turn the alpha channel images in the results folder into pure black and pure white. Do you have any idea of how this would work?
Find all posts by this user
Quote this message in a reply
10-28-2020, 09:28 PM (This post was last modified: 10-31-2020 08:33 PM by BanhCanh.)
Post: #35
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(10-28-2020 03:37 PM)TridentOfTheAbyss Wrote:  So I know exactly what the issue is with the alpha channels. The model used (as well as many other models) tends to make the white in the images more light gray. This is also applied to the alpha channels, resulting in the non-transparent areas of the image becoming slightly transparent. Using waifu2x for the alpha channels, this doesn't happen, but the images don't always line up correctly, resulting in some transparent edges or white/black edges. Thankfully, Image Enhancement Utility (IEU) has an option for image postprocessing to make the image or the alpha channel pure white within a threshold, which would help a lot for the less complex alpha channels. Sadly, this doesn't work for just the alpha channel, only for the image alone or image and alpha channel combined. However, a similar operation exists in ImageMagick -white-threshold value{%} but I can't figure out how to use it to turn the alpha channel images in the results folder into pure black and pure white. Do you have any idea of how this would work?

I tried what you said but no matter what I can't make the white part of the alpha channel be -more- white, for some reason it stays near rgb(244,244,244) which is why the transparency goes wrong, I guess.

You can try this with imagemagick: magick convert "D:\input.png" -fuzz 50% -fill white -opaque white "D:\result.png"

I was successfully able to make it pure white with it.
-fuzz is similar to the threshold I think? so you might need to play with it.

I didn't remerge the alpha channel after and I can't fully test everything yet but I would be interested if you can share your result or any new methods. Thanks!

EDIT: I did my test with the alpha channel of an Aegis's portrait, fuzz 7% should be enough in most case
EDIT2: NEVERMIND that, it creates artifact and it looks weird on some textures, it was expected but it can work on some textures.
Find all posts by this user
Quote this message in a reply
10-29-2020, 11:16 AM (This post was last modified: 10-29-2020 01:30 PM by ArcEnCiel.)
Post: #36
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Hello, sometime ago I was working on extracting PS2 textures for Shadows, Personas and Tartarus and working on implementing them to prior 3x texture pack. I am not particularly interested in maintaining my own separate branch, but I am willing to post the work I have done so far and will be OK with it added to this project.

Example Screenshots:
Sarasvati: https://imgur.com/7DnMvzS , https://imgur.com/XtHE6AO
Nebiros: https://imgur.com/mQgHgUH , https://i.imgur.com/gqobz04.png
Norn: https://imgur.com/cA3v3zC , https://imgur.com/xzdz2DG
Find all posts by this user
Quote this message in a reply
10-30-2020, 12:14 PM
Post: #37
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(10-29-2020 11:16 AM)ArcEnCiel Wrote:  Hello, sometime ago I was working on extracting PS2 textures for Shadows, Personas and Tartarus and working on implementing them to prior 3x texture pack. I am not particularly interested in maintaining my own separate branch, but I am willing to post the work I have done so far and will be OK with it added to this project.

Example Screenshots:
Sarasvati: https://imgur.com/7DnMvzS , https://imgur.com/XtHE6AO
Nebiros: https://imgur.com/mQgHgUH , https://i.imgur.com/gqobz04.png
Norn: https://imgur.com/cA3v3zC , https://imgur.com/xzdz2DG

Consider me completely impressed! I would be very interested in taking those off your hands!
Find all posts by this user
Quote this message in a reply
10-30-2020, 01:57 PM
Post: #38
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Not every Persona and Shadow is finished, since some PSP textures were modified comparing to PS2 ones and my photoshop skills are lacking, but it should still be a good chunk of them.

Also one more thing I did yesterday was take existing font and modify colors and apply it to credits roll, it doesn't look too great with some letter combinations but I'll include it anyway.
Credits Font Example: https://i.imgur.com/bADq4ff.png

And Download link for textures: https://mega.nz/file/Bw1lBIzT#aIn4fOIvDn...B1rjOn4T0M

Note: textures.ini file only includes my hashed texture folders, so that it can be applied separately to your project. I also included unupscaled textures from credits roll so that you may mess with them.
Find all posts by this user
Quote this message in a reply
11-01-2020, 07:37 PM
Post: #39
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Hiya Trident, I just made an account to say thanks! Seeing Portable in such a beautiful way has been amazing. I've dabbled a little bit with additions/edits, although i'm sure a fair few things I did come down to personal preference. Please let me know if youre interested in anything. (I'm starting to sense a theme in this thread's replies lol, and I don't wanna clog it per se.) As an example, here's a theoretically more consistent Margaret Cut In. (Which is legit just one of her Ultimax cutins edited to fit in with the others, admittedly).


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
11-01-2020, 08:02 PM
Post: #40
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
There is one thing I would like to know Trident. Do you have saves that are at Full Moon Bosses? More specifically for Love Hotel and Bunker. I think I might be able to apply some of PS2 textures for those areas, but I would need saves for them. Another saves I would like is one where Fuuka is using her Persona for both forms.

Another thing I am wondering is if it would be possible to apply image compression to 6x file to trim the size. I am currently using PNGauntlet on 3x version of 2.0 and think it would be possible to get it about 200 MB smaller.
Find all posts by this user
Quote this message in a reply
11-02-2020, 06:24 PM
Post: #41
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(11-01-2020 08:02 PM)ArcEnCiel Wrote:  There is one thing I would like to know Trident. Do you have saves that are at Full Moon Bosses? More specifically for Love Hotel and Bunker. I think I might be able to apply some of PS2 textures for those areas, but I would need saves for them. Another saves I would like is one where Fuuka is using her Persona for both forms.

Another thing I am wondering is if it would be possible to apply image compression to 6x file to trim the size. I am currently using PNGauntlet on 3x version of 2.0 and think it would be possible to get it about 200 MB smaller.

In regards to the save, I'll send you a message with a 1/31 save so you can encounter the bosses through the door in Margaret's Realm. I don't believe I have a save for Fuuka, but I could check later (maybe later today or later this week, I don't know).

In regards to the compression, I'm not very familiar with PNG compression and only simply ran the images through a 1x scale on waifu2x. I'm sure they could go lower, but I'm not too worried about that at the moment. I'd like to get the textures upscaled first and reach a point in the pack that I am satisfied with.
Find all posts by this user
Quote this message in a reply
11-03-2020, 11:20 AM
Post: #42
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Thank you for work. I have a bug - faces are somewhat slightly blurred with weird shadows (like broken ambient oclusion) and they flicker while blinking. Looked up on web for solutions but without success. Is this a problem from my part or it's unfixable?
Find all posts by this user
Quote this message in a reply
11-05-2020, 07:31 AM
Post: #43
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Hey Trident,

I managed to get rid of the blinking artifact by doing the following:

Quote:-- UPSCALING TEST TEST --

Creating necessary folders... done
Moving texture dump... done
REDOFULL enabled, using dump from backup... done
Upscaling x2 then downscaling back to 1.0 with waifu2xcaffe... done
SPLIT enabled, splitting Alpha and rgb channels with ImageMagick... done

Upscaling RGB and Alpha Separately with ESRGAN
ARG: --skip_existing
MODEL: 1x_BC1-smooth2.pth>1x_SSAntiAlias9x.pth>4x_fatal_Anime_500000_G_4x_FatalPixels_340000_G_interp_075.pth

Upscaled RGB : 32 / 32
Upscaled Alpha channels : 32 / 32

ALPHAFIX, enabled
Merging upscaled RGB and Alpha... done
Installing textures... done

This is my script.bat log. The alpha fix mentionned is changing the color of near black or white of the alpha channel to black and white (mentionned on the previous post). The downscale/scale back to x1 is an attempt to get rid of the artifacts and it works well so far (not too much new artifacts or details loss). I'm still tweaking values and all but my gpu is a bit slow sometimes.

Results (with a different model but I also just tested with fatalanime/fatalpixel075 and no issue so far) :

https://i.imgur.com/G5IzUhZ.png
https://i.imgur.com/rtavT73.png
https://imgur.com/8068chZ

Models used on the screenshots are:
1x_BC1-smooth2.pth>1x_SSAntiAlias9x.pth>4x_NMKD-UltraYandere_300k.pth
but like I said, it seems like I can get rid of the artifact on the other model too but I didn't upscale my P3P dump with it yet, just some test samples.
Find all posts by this user
Quote this message in a reply
11-08-2020, 02:14 PM
Post: #44
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
(11-05-2020 07:31 AM)BanhCanh Wrote:  Hey Trident,

I managed to get rid of the blinking artifact by doing the following:

Quote:-- UPSCALING TEST TEST --

Creating necessary folders... done
Moving texture dump... done
REDOFULL enabled, using dump from backup... done
Upscaling x2 then downscaling back to 1.0 with waifu2xcaffe... done
SPLIT enabled, splitting Alpha and rgb channels with ImageMagick... done

Upscaling RGB and Alpha Separately with ESRGAN
ARG: --skip_existing
MODEL: 1x_BC1-smooth2.pth>1x_SSAntiAlias9x.pth>4x_fatal_Anime_500000_G_4x_FatalPixels_340000_G_interp_075.pth

Upscaled RGB : 32 / 32
Upscaled Alpha channels : 32 / 32

ALPHAFIX, enabled
Merging upscaled RGB and Alpha... done
Installing textures... done

This is my script.bat log. The alpha fix mentionned is changing the color of near black or white of the alpha channel to black and white (mentionned on the previous post). The downscale/scale back to x1 is an attempt to get rid of the artifacts and it works well so far (not too much new artifacts or details loss). I'm still tweaking values and all but my gpu is a bit slow sometimes.

Results (with a different model but I also just tested with fatalanime/fatalpixel075 and no issue so far) :

https://i.imgur.com/G5IzUhZ.png
https://i.imgur.com/rtavT73.png
https://imgur.com/8068chZ

Models used on the screenshots are:
1x_BC1-smooth2.pth>1x_SSAntiAlias9x.pth>4x_NMKD-UltraYandere_300k.pth
but like I said, it seems like I can get rid of the artifact on the other model too but I didn't upscale my P3P dump with it yet, just some test samples.

Holy crap, that looks amazing. It's almost as if being able to trim some pixels off the edge would make it look near perfect! I'm excited to see how it turns out.
Find all posts by this user
Quote this message in a reply
11-19-2020, 02:24 PM
Post: #45
RE: Persona 3 Portable HD Texture Pack Expansion Using AI (WIP) [Updated 09/26/2020]
Having that jitter fixed would be amazing! :O
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: