Mana Khemia 2 Portable - Anyone familiar with this game engine?

Discussion in 'PSP - Games & Content' started by Rintalie, May 26, 2013.

  1. Rintalie
    OP

    Rintalie Member

    Newcomer
    18
    1
    Apr 14, 2013
    Thailand
    Again, this game uses CPK container to store its content. The game scripts, having EVD extension, are compressed with CRILAYLA signature and can be identified by TOC header inside (no ITOC). Repeated and constant dummy padding is used between aligned data.

    The script itself has a problem with pointer (again+_+), only clue I found is, there are always string length, 24 byte before the actual string itself.

    [​IMG]

    This is how the above script appeared in game.

    [​IMG]

    I tried adding longer string and edit string length accordingly but the game just crash so I assume there should be another pointer somewhere. By the way, every character in the string is fixed to 16 byte, is there anyway to fix this rather than using full width character ?

    [​IMG]

    Raw script can be found here if anyone may have a look. I guess there should be another pointer other than string length. There are also unreadable part near the end of the file too.
     
  2. Rintalie
    OP

    Rintalie Member

    Newcomer
    18
    1
    Apr 14, 2013
    Thailand
    Got it ! Every command set are aligned by 32 bytes and another padding (again!!) is added between data. Actual starting of the next set can be noticed by x02, followed by another 160 bytes (for action script?) then its length and text.

    [​IMG]

    Can put longer text string now but font just looks really bad, the script won't accept ASCII character.
     
  3. Omegadark

    Omegadark Advanced Member

    Newcomer
    59
    4
    Feb 12, 2013
    United States
    You are amazing
     
    GamerzHell9137 likes this.
  4. alib8811
    This message by alib8811 has been removed from public view by p1ngpong, May 27, 2013.
    May 27, 2013
  5. Rintalie
    OP

    Rintalie Member

    Newcomer
    18
    1
    Apr 14, 2013
    Thailand
    I'm still a newcomer ;), see how I even mistook the word 'bit' for 'byte'... but thanks !
     
  6. StorMyu

    StorMyu "I'm too old for this"

    Member
    896
    437
    Jan 2, 2010
    France
    adding a variable-width font is something really too high for your level, especially on PSP... Mana Khemia 2 psp will stay in japanese for a while ^^

    Edit: if you didn't know, my Avatar is actually from Mana Khemia 2, I love this game.
     
  7. Rintalie
    OP

    Rintalie Member

    Newcomer
    18
    1
    Apr 14, 2013
    Thailand
    True ^^
    I guess it is hard coded by the game anyway and probably the way to fix is to modify game's system instruction code.

    And yep, this game is nice !