Kingdom Hearts II Multiplayer Hack

Discussion in 'Code Vault' started by zhanj, May 16, 2016.

  1. zhanj Moogle Assistant

    Joined:
    May 16, 2016
    Gender:
    Male
    5
    5


    Here is a multiplayer hack for the PAL version of Kingdom Hearts II. Players can move, jump and attack independently. I have also created a semi functioning version for Final Mix (only individual movement works well). Camera controls are currently locked to Controller 1 so could be confusing moving the camera around. I do plan to fix this at some point. The code needs to be used in conjunction with a Party or Character modifier to have 2 playable characters in your party.

    It works by running a custom subroutine in which it assigns different controllers for each playable character. You can watch it in action in the video below. Ignore the screwed up run animation at the start.

    INSTRUCTIONS

    1. Grab PCSX2 and have a PAL version of Kingdom Hearts II
    2. Create a file called C398F477.pnach inside the Cheats folder in the PCSX2 directory
    3. Use a code converter such as PCSX2CE to convert the raw codes (bottom of this post) into pnach format.
    4. Use a code converter again to convert the following party modifier into pnach
    4034119C 00130001
    NNDDWWMM 00000000

    NN = Slot 4
    DD = Slot 3
    WW = Slot 2
    MM = Slot 1 (Main slot Sora/Micky)

    00= Roxas/Sora
    01= Donald
    02= Goofy
    03= World Character
    04= Valor Sora/ Double Keybladed Roxas
    05= Wisdom Sora
    06= Master Sora
    07= Final Sora
    08= Anti Sora
    09= Mickey
    10= Empty Slot
    11= Something wierd, it's different in every world
    5. Start emulating and make sure cheats are enabled. You should now have two playable Soras/Roxas' when you start a new game or load a save file.

    In the end, your pnach file should look like this:
    // Party modifier to have two Soras
    patch=1,EE,4034119C,extended,00130001
    patch=1,EE,101000,extended,00000000

    // Multiplayer
    patch=1,EE,201BB8BC,extended,0803F400
    patch=1,EE,200FD000,extended,3C0E000F
    patch=1,EE,200FD004,extended,35CECFF0
    patch=1,EE,200FD008,extended,8DCF0000
    patch=1,EE,200FD00C,extended,15E0000A
    patch=1,EE,200FD010,extended,00000000
    patch=1,EE,200FD014,extended,25EF0001
    patch=1,EE,200FD018,extended,ADCF0000
    patch=1,EE,200FD01C,extended,3C0E01C8
    patch=1,EE,200FD020,extended,35CE92A0
    patch=1,EE,200FD024,extended,3C0F0035
    patch=1,EE,200FD028,extended,35EFBCC0
    patch=1,EE,200FD02C,extended,ADCF0000
    patch=1,EE,200FD030,extended,0806EE31
    patch=1,EE,200FD034,extended,260E09C0
    patch=1,EE,200FD038,extended,00007821
    patch=1,EE,200FD03C,extended,ADCF0000
    patch=1,EE,200FD040,extended,3C0E01C8
    patch=1,EE,200FD044,extended,35CE92A0
    patch=1,EE,200FD048,extended,3C0F0035
    patch=1,EE,200FD04C,extended,35EFBD20
    patch=1,EE,200FD050,extended,ADCF0000
    patch=1,EE,200FD054,extended,0806EE31
    patch=1,EE,200FD058,extended,260E09C0

    RAW CODES

    PAL
    201BB8BC 0803F400
    200FD000 3C0E000F
    200FD004 35CECFF0
    200FD008 8DCF0000
    200FD00C 15E0000A
    200FD010 00000000
    200FD014 25EF0001
    200FD018 ADCF0000
    200FD01C 3C0E01C8
    200FD020 35CE92A0
    200FD024 3C0F0035
    200FD028 35EFBCC0
    200FD02C ADCF0000
    200FD030 0806EE31
    200FD034 260E09C0
    200FD038 00007821
    200FD03C ADCF0000
    200FD040 3C0E01C8
    200FD044 35CE92A0
    200FD048 3C0F0035
    200FD04C 35EFBD20
    200FD050 ADCF0000
    200FD054 0806EE31
    200FD058 260E09C0

    Final Mix
    201BD774 0803F400
    200FD000 3C0E000F
    200FD004 35CECFF0
    200FD008 8DCF0000
    200FD00C 15E0000A
    200FD010 00000000
    200FD014 25EF0001
    200FD018 ADCF0000
    200FD01C 3C0E01C8
    200FD020 35CE92A0
    200FD024 3C0F0034
    200FD028 35EFD6C0
    200FD02C ADCF0000
    200FD030 0806F5DF
    200FD034 260E0A30
    200FD038 00007821
    200FD03C ADCF0000
    200FD040 3C0E01C8
    200FD044 35CE92A0
    200FD048 3C0F0034
    200FD04C 35EFD720
    200FD050 ADCF0000
    200FD054 0806F5DF
    200FD058 260E0A30
     
    Last edited: Aug 21, 2018
  2. 1Timestones38n Traverse Town Homebody

    Joined:
    Apr 19, 2015
    Gender:
    Male
    2
    100
    THat's actually pretty impressive. Had something similar happen with a Luxord hack happen to me, but it was a glitch fest.
     
  3. Champion_Red Moogle Assistant

    Joined:
    May 22, 2016
    Gender:
    Male
    0
    1
    This is just a question, but later in development, will you add a support to up to four players (Multi-tap support)? or have separate health bars? etc. I understand how difficult this type of thing is and I don't wanna be the guy that asks ridiculous questions for trolling. I love your work and I am doing my best to become someone that can do amazing things like this. I am using pal regular, not FM.
     
  4. 1Timestones38n Traverse Town Homebody

    Joined:
    Apr 19, 2015
    Gender:
    Male
    2
    100
    Health Bars, out of personal opinion, totally think that is possible.
    Just change his status to another player and voice and such to match normal Sora.
    the limit may be three though, since even trying to make 3 party member result in a instacrash.
    But could be wrong.

    On my end, doing some Sephidos, making him into well, and actual boss.
    And Drive Lion Sora.
     
  5. zhanj Moogle Assistant

    Joined:
    May 16, 2016
    Gender:
    Male
    5
    5
    From a quick look, it doesn't seem like KH2 supports multitap so it's probably not possible without some massive code rewrites.

    Separate health bars would be possible but I don't have the time to implement it at the moment.

    If you want to learn how I made the hack, I've updated the original post with a link to how I did it.
     
  6. RaXZerGamingZ Merlin's Housekeeper

    Joined:
    Mar 2, 2016
    Gender:
    Flashbang
    1
    47
    this is amazing , i see that there is a code aswel but how is it used ? do both people put it in and go to a specific area ??
     
  7. zhanj Moogle Assistant

    Joined:
    May 16, 2016
    Gender:
    Male
    5
    5
    You'll need to use an emulator to enable the cheat code from the main post. You'll then need to use a party modifier code to have two Soras in your party. Once that's done, start a new game or load a save file. You'll have two Soras that are controlled by independent inputs.
     
  8. RaXZerGamingZ Merlin's Housekeeper

    Joined:
    Mar 2, 2016
    Gender:
    Flashbang
    1
    47
    alright thanks , also , would it be possible to make it splitscreen ?
     
  9. zhanj Moogle Assistant

    Joined:
    May 16, 2016
    Gender:
    Male
    5
    5
    No way to make it splitscreen as of writing. It'd be very hard to implement
     
  10. Tetsuoryu Moogle Assistant

    Joined:
    Mar 4, 2008
    1
    7
    First things first, this is incredible. You just gave me a damn good reason to play kingdom hearts again and sign into this website. It's been years since i last came here but the day i come back i see this ****... damn. Good work son.
    Next.

    Also:
    which party modifier exactly? I've tried a ton and none seem to activate....
    this goes for universal modifiers and party modifiers. If there's even a difference haha.

    Edit: Scratch that! I've just got it working ooooo baby
    however it seems that p2 controls p1 attacks and both characters jump simultaneously.
    So there's that. Not sure if that's an issue on my end or just cause the development of said project is not far along enough yet for full control.

    Edit 2: So I went to the doctors and it's official. I'm dumb.
    Got so excited I forgot to read "I have also created a semi functioning version for Final Mix (only individual movement works well)"
    Rip
     
    Last edited: Jul 16, 2016
  11. zhanj Moogle Assistant

    Joined:
    May 16, 2016
    Gender:
    Male
    5
    5
    Haha yeah the mod is really only functional for the PAL version at this point in time. I should move it to FInal Mix but currently too busy to work on this mod.

    I've updated the original post with instructions for anyone else wondering.
     
  12. Champ10n_Red Moogle Assistant

    Joined:
    Dec 18, 2016
    Gender:
    Man
    0
    1
    Boi is this project dead? You better not be giving up on me, I had to create a new account and everything. You got your whole 1 fan xD.

    By the way I found out that the game registers both as Sora, and I tried to modify the slot to Roxas and what I got is 2 Sora, and a Roxas and they move and attack with the same button In the sense that they take turns, but jumping is fine, should consider doing a hotfix to register attack cooldown is calculated by model and not entity.

    Edit: My dude you should consider having both the players be able to take on different models. For example KH2 Sora and KH1 Sora or even Roxas with a Sora moveset modifier (If you to give the ability for different models, I'll post the codes for Roxas and moveset modifiers to allow playability.

    Really don't want this to die, so I wish you luck my dude
     
    Last edited: Dec 18, 2016
  13. ZakThePower Moogle Assistant

    Joined:
    Apr 16, 2017
    Gender:
    Male
    0
    1
    (P.S. I'm very new to this)
    Hi, I have a problem. I tried it in Twilight Town after the part where they all gather 5,000 munny. (I loaded a save in the usual spot) It gave me Riku as a party member and when I tried to go out to the Back Alley, The game froze. Does this have to do with Twilight Town? Whatever it is, please help.

    EDIT: I progressed more until I got to Sunset Station and saved there with cheats disabled. I exit the VM and enabled cheats. Then I went back into the game and loaded the previously mentioned save file. The game froze at a black screen and in the log this appeared:
    # Syscall: undefined (0)
    Help please.

    EDIT(2): I've tried everything I can think of. It always shows # Syscall: undefined (0) in the log. Someone, please. Does anyone even go on here anymore? I'm just here because I'm a new fan of Kingdom Hearts and I've been playing the games. I looked everywhere for a mod like this so I can enjoy the experience with someone. The only thing I dislike about the Kingdom Hearts series is the fact that it's single player. *Sigh* C'mon.

    EDIT (3):I tried the one thing I didn't think of (Reinstalling PCSX2) and then this appeared in the log.

    (EE pc:0016918C) TLB Miss, addr=0x6 [load]
    (EE pc:0016918C) TLB Miss, addr=0x24 [load]
    # Syscall: undefined (0)

    Again, will anyone please help?
     
    Last edited: Apr 17, 2017
  14. barnack Moogle Assistant

    Joined:
    Oct 19, 2018
    0
    1
    hi, any chance of letting the second player attack, jump and parry independently?
    can you explain me how to map a button from second controller to a certain action so one can map the third button (triangle) to some spell?
    Right now both soras react to parry and jump from the main controller and the second doesn't even attack (final mix version, maybe pal one works?)
     
  15. Blayz Mods Set The World A Blayz

    Joined:
    Feb 20, 2010
    Gender:
    Male
    Location:
    Washington State
    72
    This mod as far as I am aware is incomplete, so certain options are not functional rn, so unless rahnj makes an updated version, the current one is all there is rn.