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

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

  1. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Whatever route we take it's fine. Personally I am surprised you are going after this crazycat. lol
     
  2. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Yes. BDs are heardless. The HDs are the Headers.
     
  3. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Ahhh... man. Seems BD\HD's are a bit less related then I hoped. In addition, even in the Sony docs I see no specs for these things; it just says "they are made by JAM"; I can't find JAM anywhere... I don't think it was ever leaked.

    I did use VGMTrans to get some of the WD format though. A lot more stuff I don't understand from that though: "ADSR" (2 of them), "fine Tuning", "unity Keys", key and velocity highs...

    [Edit: Soundfonts have me stumped. DLS and SF2 need a lot more information then a WD has, afaik.]

    On a more positive note though, BGM+WD files from KH2 work fine, I'd expect any other game using these too. Playing "Rage Awakened" as my title screen music. :p
    And I got a amusic dat extractor\packer, as well. (Some of the dats are a BGM+WD in one file; this tool only works on them)
     
  4. Miles Cull a Duty 2 : Electric Boogaloo

    Joined:
    Jul 31, 2011
    Gender:
    Male
    Location:
    Ohio
    258
    Yea like I said the wd is pretty much a custom bd. most ps2 games also use custom SQ. also I did notice the the dats contain dup. tracks. I wonder why?
     
  5. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Well, I got something to work in-game:

    I did use a bit of hackery here, though. I divided all the delta times by 16, making the song play 16 times normal speed. In VGMTrans, for example, this song lasts like 6 seconds. I don't know why I had to do this for KH1.....

    Also, on the term of making a WD contain a whole song and playing it with one note: Even if it would work, it would take way too much RAM. Not worth pursuing any further imo, since we can't really go over ~1MB. That means for stereo audio 500KB a channel, which is pretty darn short\bad quality.

    If someone wants to try making custom soundfonts for the game, I might get a basic packer together. You'll need to know what you're doing, though, in addition to a way to convert the samples into VAG format files.
    Otherwise, I don't really want to touch WDs anymore. (I'll still try to get BGM files working right though)
     
  6. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    I still think getting Genesiskeys would be awesome.

    Get on it Sora665
     
  7. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Fixed the slow-playing issue. MIDI conversion works properly now, and I also added MIDI->BGM loop point support. A few more compatibility things I want to do, but it's working fine now.

    I does seem KH has some restrictions not on "normal" MIDI hardware, though. For example, in KH some notes cut off when the next plays, while on the computer they don't. I'm not sure if they're on the same track or not (this is sorta important), though.
    Also, we\I don't know the whole BGM format still... so some stuff won't convert. But for most songs it's fine.
    Latest test: http://youtu.be/0-vbexo2IH4
     
  8. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    what do u mean Genesiskeys ?
     
  9. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
  10. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    ok lol , something to do with 1.5 HD Files ?
     
  11. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Nah it doesn't. Just an idea. I rather prefer if we could use that music, but the game won't allow it
     
  12. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    crazycatt said that he is still trying , hopefully i can get the HD files the first of next month
     
  13. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    But Sora you won't be able to with your PS3. You can't put CFW on it
     
  14. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    my cuzions he has a older phat and he wants cfw and he has 3.55
     
  15. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Getting those connections huh Sora?:p

    You are determined I like that.
     
  16. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    Ya. He told me that if he can put it on there and when I buy the game I can get the files from his ps3[DOUBLEPOST=1378945410][/DOUBLEPOST]
    oh Jaden . when u where tanslating Travesre town. Did u notice that the Location strings are differnt place then the usa verison ? i redoing them for my selft . and i am learning how to do it
     
  17. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    My script is given to Trilix now. It's up in the drive and in his hands now.
     
  18. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    i know , i am giving mine a try . i think i know how to do it now .
    because i fixed one of the location strings .
     
  19. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
  20. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Some progress with an EVT fontfix. I found values that work, but it ends up getting too thin.
    EVTCompare.png

    Edit: Ok, found a way to not shrink the text like that. The text matches up really well, just a few more bugs for me to work-around.

    Note-to-self:
    Code:
    // a0 = input width; s2 = output width
    addiu s3, zero, $0003
    multu a0, a0, s3
    srl s2, a0, 2
    Edit 2: And there's no room to add this in, so I need to find somewhere I can make a hook..... great.
    Edit 3: That won't work. I still got a lead, but this is just getting annoying now.

    Edit 4: Ya, I can't get this. I can make the text the right width, but it always gets too thin (I think the game is running AA on it or something). In addition, there's always an offset that wrong. This text engine really is weird, imo...
    I have one more trick I want to try, but I'll do that tomorrow.