Phantasy Star Portable 2 Infinity - English Translation

Discussion in 'PSP - Hacking & Homebrew' started by JamRules, Jul 5, 2014.

Loading...
  1. arnautg2002

    arnautg2002 Newbie

    Newcomer
    2
    Apr 17, 2019
    Spain
    As a Newcomer I cant sent PM's until I get 10xp, and right now I only have 3xp
     
    RikuNoctis and JamRules like this.
  2. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    Yeah I tried recently making an HD texture pack for Valkyria Chronicles 3 and it dumped almost a million textures by the time I was done the game. So many of them were repeats. There's a way to avert this but I haven't found much info on it, would need inside info from someone else who's made an HD texture pack for a PSP game. I was using AI Gigapixel and it looked pretty good with the textures I did but there was way too many to process and the pack would've been near 100gb upscaled cause of the repeats with different addresses.

    Sent from my PH-1 using Tapatalk
     
    JamRules likes this.
  3. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Yeah, I expect Phantasy Star to be a unwieldy too.
    Thanks for the info :)

    FYI, [Unknown] explains the hashing here
    https://forums.ppsspp.org/showthread.php?tid=18963
     
  4. Weyu

    Weyu GBAtemp Regular

    Member
    6
    Jul 31, 2014
    Netherlands
    We got what we needed, but thanks for offering.
     
  5. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    I just found a method to get rid of most of the duplicates when dumping the textures.

    In textures.ini under [options] add hash = xxh64 and ignoreAddress = true

    The textures will only work on 64 bit systems and executables of PPSSPP. The textures also will only work on the newer versions of PPSSPP. I'm about half way through VC3 again and this time I think it will be under 150k textures at the end. It's 10% as much as it used to be so it's way more viable. If you're looking into upscaling try ESRGAN if you have a Linux installation (it runs way slower on Windows) and a NVIDIA card. You can also buy AI Gigapixel and it works on almost anything, it's what I'm using. I think ESRGAN with the manga model would look way better than Gigapixel it just takes more work.

    Update: Ended up with 270k textures about 25% of what I was before the tweak. Still some repeats but they are small enough dimension wise that they can just be deleted. If anyone is looking into upscaling PSP textures this is what you'll end up dealing with. Majority is repeats still as it appears it dumps every time a color changes on things like lights. I'll update with the file count after I delete all of the useless stuff.

    Sent from my PH-1 using Tapatalk
     
    Last edited by HomeShineBrew, Apr 18, 2019
    JamRules, SCOTT0852 and DarkSynopsis like this.
  6. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Nice, thanks for the extra info.
    The ignore address flag is useful, so you have to manually edit the hashes then.
    For the colour changes, I wonder if there is something similar for ignoring the CLUT or if that would even work, depends on how colours are applied I guess.
     
  7. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    Yeah that would be nice. Luckily most of the color changes textures a so small (32x32 and lower) that I'm just going to delete them. Currently over 100k I can delete. I'll deal with it in the morning.

    Sent from my PH-1 using Tapatalk
     
    JamRules likes this.
  8. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Just as well probably, I guess it would be too much of an ask for it to apply the original CLUT to the replacement considering the colours and format could be different.
     
  9. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    After deleting the small repeat images from VC3 I'm left with 20k images to upscale. When it's done I'll post screenshots of before and after. It'll let you know how much of a difference it can make to the image of the game. Things like small icons were ignored but I think it'll look fine.

    Sent from my PH-1 using Tapatalk
     
    IilliI and JamRules like this.
  10. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Thanks, might be interesting to see.
    Unlikely that I’ll do anything for PSP2i anytime soon. I think upscaled HUD and menu elements might be cool, actual textures is harder since their isn’t the original detail. I think PPSSPP has some different upscale options as it is, could be wrong though.
     
  11. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    Alright here's the post of the comparison images. As you can see some textures like the sky would need manual upgrading as they're too noisy. It works great on the ground and other textures. UI would also need manual upgrading. If you know how to access the textures from PSP2I through the ISO manually instead of dumping through PPSSPP it would save a lot of time. This took days and still missed some textures and I'm sure if you could get into them through the ISO it would have much less repeat textures than dumping them. Ended up with 20k textures and lots of repeats still. Just to give you an idea of what can be done.

    Sent from my PH-1 using Tapatalk
    [​IMG][​IMG][​IMG][​IMG][​IMG][​IMG][​IMG][​IMG]
     
    Last edited by HomeShineBrew, Apr 19, 2019
    Fefo, IilliI and JamRules like this.
  12. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Thanks for the examples, a little confusing since they don't seem to be in a consistent order e.g. some images have the new one on top, and others on the bottom. I guess that the ones where the UI in the bottom right is messed up are the new ones.

    Given the number of possible weapons, costumes, etc. you would probably want to dump the files as you say.
    However you would have to program a way to output the files in a format to edit, as previously mentioned the textures are composed at runtime so you would need to mimic this for all possibilities.
    You'll also have to be able to compose it as if the game was doing it and generate a hash to match PPSSPP's.
    And then you'll still have to modify the 1000s of textures...
    Not sure if the difference is going to be worth the effort, especially if higher detail textures aren't available.

    Admittedly it would be very nice to have high quality textures, since PPSSPP scales the rendering itself nicely, just seems like it would take ages to get it right.
     
    Last edited by JamRules, Apr 19, 2019
  13. HomeShineBrew

    HomeShineBrew Member

    Newcomer
    2
    Apr 15, 2018
    Canada
    Yeah. I tried to re upload them in order but it might not have worked. It'd be nice if the PSP textures dumped like dolphin but the PSP used a lot of tricks to get their textures to work so it isn't that easy. It'd be nice to have a way to just rip then from the ISO but each game uses different formats, encryptions, etc that it's nearly impossible. You'd have to visit every possible UI combination and every possible location in game that uses the UI to get all of them. As I said I played the whole game and I still didn't get everything, in some levels textures will be missing.


    Really this just proves it would be a pain in the butt unless you have a tool for PSP2I's ISO to get textures.

    Sent from my PH-1 using Tapatalk
     
    JamRules likes this.
  14. THOMI

    THOMI Member

    Newcomer
    1
    Apr 24, 2019
    United States
    Now, I'm just spitballing ideas here and could be way off the mark and possibly in dreamland but what do you think about this?

    https://www.reddit.com/r/PSP/wiki/pro_online

    If and when the patch arrives could it be possible to play PSP2i (and other titles) online with others using this method or would there be variables in place that would prevent it from being so?
     
  15. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    Haven’t tried it personally but PPSSPP has features for multiplayer built in that use this I believe. There are other methods too I think. There is a discord for PSP2 and PSP2i somewhere which has a guide for how to start playing online and finding others to play with.
     
    Jeffiroi likes this.
  16. THOMI

    THOMI Member

    Newcomer
    1
    Apr 24, 2019
    United States
    Ah I see. I play on actual hardware so I'm unfamiliar with PPSSPP and its functions. I'll have to test this out. You were right though I did come across this via the PSP2 discord:

    https://sites.google.com/site/psp2iguide/playing-online

    Kinda surprised me that there are still people actively playing this game. I discovered PSO very late and didn't think anyone still touched the psp game. Very exciting!
     
    Last edited by THOMI, Apr 27, 2019
    JamRules likes this.
  17. xBladeM6x

    xBladeM6x Advanced Member

    Newcomer
    3
    Nov 23, 2014
    United States
    Just curious, but is it possible to mod the game to allow

    - Trading of A and S ranks at the trading post.
    - Scaling the the UI smaller
     
    JamRules likes this.
  18. NiamhNyx

    NiamhNyx Newbie

    Newcomer
    1
    Mar 6, 2017
    United States
    I feel like that might be out of their view scope.
     
    SCOTT0852 and JamRules like this.
  19. xBladeM6x

    xBladeM6x Advanced Member

    Newcomer
    3
    Nov 23, 2014
    United States
    To be clear, I'm not asking them to do this, only asking if it's possible. :P
     
  20. JamRules
    OP

    JamRules .....

    Member
    7
    Jan 9, 2014
    United States
    To be honest I've never used the trade feature before this but I put the following cwcheat together that will hopefully work to extend the range items that can be traded.
    Both people will need the cheat active.

    _C1 Extended Trading
    _L 0x2002023C 0x34020000
    _L 0x200724F4 0x34020001

    No guarantees, and of course I would both take a backup of your savedata first.

    It doesn't cover everything I think, for example weapons that have extend codes applied.
    I haven't comprehensively tested if it breaks anything or not so you maybe check it out and see.
    I only did a quick test, as below:

    Screen 1) S rank item in P1 inventory
    [​IMG]

    Screen 2) S rank item selected for trade by P1
    [​IMG]

    Screen 3) S rank item can be seen by P2
    [​IMG]

    Screen 4) S rank item as part of a trade as seen by P2
    [​IMG]

    Screen 5) S rank item in P2 inventory - level, stats, element etc. seem to be ok
    [​IMG]
    (I had one already with different stats, also tried trading Steel Hearts IV too)

    As for the UI, I think everything has hardcoded positions and sizes so it would take ages.
    Unlikely to happen.
    Out of interest what specifically is too large? Presumably your playing at high resolution?
     
    Last edited by JamRules, May 6, 2019
    swosho, arnautg2002, Fefo and 3 others like this.
Quick Reply
Draft saved Draft deleted
Loading...