Kingdom Hearts 1.5 Porting Thread (HD assets in PCSX2: A Discussion)

Discussion in 'Code Vault' started by Jadentheman, Jun 24, 2013.

  1. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Ok thanks! Will activate it.
     
  2. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    You think anyone on here could also try out PCSX2 3D GSDX plugin? I always wanted to see gameplay of KH in 3D on youtube :p
     
  3. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Okay well dailymotion converted it to 30FPS for some reason and i dont know why!
     
  4. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Vimeo and Twitchtv can do 60fps. You can use the HTML5 exploit for youtube, but sound will be crappy.

    If not use Dropbox. Their video plays at 60fps and people can download it if they want
     
  5. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112
    Dropbox is very handy because all you have to do is drag the file into the folder on your computer, and it automatically starts uploading.
     
  6. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    I heard VIMEO doesnt. I need a half speed go for KH1FM for HTML5. I doesnt work anyway because YT weirdly converts the half speed 60FPS to 30FPS and when you double it goes to noraml 30FPS instead of 60FPS.
     
  7. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Well I guess Dropbox is the only thing left. It's okay I can download the video and watch on my pc :p

    Either that or Twitchtv
     
  8. Soraoscuro Kingdom Keeper

    Joined:
    Jun 27, 2007
    Gender:
    Male
    Location:
    Spain, Ibiza
    29
    810
    KH1FM, not KH2FM and it's a real game function, it's not making the game speed double or anything, it just removes the 30 FPS lock. The game internally runs at 60 FPS (FMVs play at double speed though).
     
  9. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
  10. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112
    The 60fps is extremely smooth, i've been playing with it and it makes everything feel more fluid.
     
  11. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Hey also is it possible to find it for KH1 or KH2FM? or was that pure luck running into it?
     
  12. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112
    It was pure luck (he was trying to find the location of the value that tells the game whether or not you succesfully hit a target so we could hack Combo Master), but i'll hack it in regular KH1 for you (or at least, i'll try.)
    I'll post here again when i finish it.

    EDIT:

    [DOUBLEPOST=1372803768][/DOUBLEPOST]patch=1,EE,002B624C,extended,00000000

    Here you go, 60 FPS for NTSC U/C Kingdom Hearts 1
     
  13. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Wow everything looks totally better. Might go on Neogaf and share it with the world lol
     
  14. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Dang dude you are on fire!!! Really!! If you can do 2FM that would be even cooler or maybe com but that can be for another time.
    Great work man!
     
  15. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112
    Yeah i can probably hack it for KH2 and KH2FM pretty quickly. I'll update this post when it's done.
     
  16. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Youre blowing my mind man! When need people like you! Where have you been! lol Also you doing this, can this be done with most games the same way you are doing it?
     
  17. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Thanks dude. Yeah we need more people like you indeed. This gives me totally another reason to play through the PS2 version yet again unless you can also do this for 1.5 HD too :p

    BTW The video you posted Miles, that is using the widescreen hack with the cutscenes cropped like 1.5 HD remix right? I love that style. Think you can give the code?
     
  18. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112
    // 60 FPS Kingdom Hearts 2 Final Mix
    patch=1,EE,00349E1C,extended,00000000

    // 60 FPS Kingdom Hearts 1 NTSC U/C
    patch=1,EE,002B624C,extended,00000000

    // 60 FPS Kingdom Hearts 1 Final Mix
    patch=1,EE,002BBE0C,extended,00000000

    // 60 FPS Kingdom Hearts 2 NTSC U/C
    patch=1,EE,00356F4C,extended,00000000


    I'm going to do regular KH2 now.[DOUBLEPOST=1372806410][/DOUBLEPOST]
    Widescreen hack doesn't crop cutscenes, it actually extends your view. This does cause some odd stuff though, like being able to see sora standing on the right side of the screen during the dragon maleficent battle.


    EDIT: Lost my kh2 disc, i'll have to find it in my house somewhere. As soon as i find it, i'll hack 60fps for it.

    EDIT 2:


    NOTE: These are FPS halving addresses. They are set to 1 by default which halves the FPS to 30. This value can be increased beyond 1 to enable perfect internal frameskipping without losing animation speed.[DOUBLEPOST=1372808713][/DOUBLEPOST]Found my disc, one 60FPS hack coming up in a minute or so.

    EDIT: Alright, the 60fps hack is above.
     
  19. VIRGIN KLM Merlin's Housekeeper

    Joined:
    Jun 16, 2012
    Gender:
    Male
    1
    40
    It's like it removes the framecap. It looks like some stuff are dependent on the framecap (music speed and FMV speed) but the rest are OK. Music gets fixed on PCSX2 with async mix, though FMVs play at double speed. I bet you can fix both of those though with an ELF hack.

    It's intresting to see that PS2 is not really capable to handle Kingdom Hearts 2 at 60fps. It will stay at 50-60fps on very simplistic places like the White Room (because of the textureless walls) on the cutscenes with Namine and Roxas but on battles and normal gameplay it very rarely goes over 35-ish FPS, if that since it goes most of the times under 30 fps. Here is where PS2 overclocking is needed. Also the jumps from 60fps to 30-ish are really noticable, it can get to some people irritating.

    I really like that hack though, opens up a new path to PS2 gaming and shoots a kick on Square Enix's face for thinking they know best about their choices. It's nearly a reason to skip KH2.5 completely. It's that "can't unsee" thing after using that hack, you don't want to settle with anything less than 60fps.[DOUBLEPOST=1372888548][/DOUBLEPOST]
    I bet you could port those codes to other PS2 games, what instruction on the ELF does it modify?
    I wonder how FFX, FFX-2 AND FFXII look with those.
    Also do you mind finding the code that modifies the ADSR system of the music files and the FMV flow speed to half speed? I bet there are instructions for that, there are a couple of games that you can modify them from in-game too.
     
  20. Enzineda Traverse Town Homebody

    Joined:
    Jul 2, 2013
    23
    112

    The audio works fine with timestretch too, you don't have to do anything to it.

    And this is less of a 60FPS hack, and more of a removal of the 30fps hack. That code is actually a framerate divider, and it's set to 1 by default. Increasing it decreases the framerate even further.

    This means that you can increase it to 2 (about the highest playable value) to be able to play it on weaker systems without losing animation speed.


    I have no idea. I do all my coding in real time with pcsx2ramdump. The first 60fps code for KHFM was pure luck, and i just used some intuition to port it to the other KH games because they follow the same locational patterning.

    Music doesn't need to be changed, it doesn't speed up with this code.
    As for FMVs, i think it would be easier to make a conditional that just reverts the value to 1 whenever an FMV plays. Or you can use PCSX2's Slomo during them,


    EDIT: Since the guy who dumped the pal versions for me keeps went afk for like an hour, can somebody test this?

    // Kingdom Hearts 2 PAL Possible 60FPS Code
    patch=1,EE,003796AB,extended,00000000

    Load the game normally, press F4 to disable framelimiter, make sure cheats are OFF. Write down the framerate.

    Load the game with cheats, make sure framelimiter is disabled, make sure cheats are ON. Enter a new room, and then back to the one you were originall in in the SAME spot. Write down the framerate.

    If the framerate takes a hit and the game looks smoother, this code works. PAL KH2 is the one outlier that seems to be structured slightly differently.