[WIP English Translation] Conception: Ore no Kodomo wo Unde Kure!

Discussion in 'PSP - Hacking & Homebrew' started by master801, Sep 19, 2016.

  1. master801
    OP

    master801 GBAtemp Fan

    Member
    363
    86
    Feb 24, 2011
    United States
    My CFI program now works, it currently only extracts. I am now working on how to create a CFI file.

    I do understand how a CFI file is structured now at the very least.

    There is now a GitHub repository for the project, but there is nothing on it yet as I have no intention of releasing my program without it be able to create a CFI file.

    GitHub: https://github.com/master801/Conception-Ore-no-Kodomo-wo-Unde-Kure-English-Translation

    Dev screen-shot(s):
    Warning: Spoilers inside!

    Credits:
    chrrox for the CFI extraction script [src]
    Darthlink9 for the translation request [src]
     
    Last edited by master801, Sep 30, 2016 - Reason: Update 1
    Raylight likes this.
  2. Abu_Senpai

    Abu_Senpai The Red King

    Member
    1,518
    779
    Jul 13, 2014
    United Kingdom
    Tokyo
    Wasnt traduko soft working on this?
     
    Pablitox likes this.
  3. master801
    OP

    master801 GBAtemp Fan

    Member
    363
    86
    Feb 24, 2011
    United States
    Yes, that was the team I was talking about.
     
    Abu_Senpai likes this.
  4. Abu_Senpai

    Abu_Senpai The Red King

    Member
    1,518
    779
    Jul 13, 2014
    United Kingdom
    Tokyo

    Think you can pull it off?
     
  5. flame1234

    flame1234 GBAtemp Advanced Fan

    Member
    727
    409
    May 17, 2009
    United States
    Unpack GAMEDATA.CFI (Python 3): http://pastebin.com/29fZNQqU
    This is based on the BMS script.

    The first script file is \script\main_00_01.rtz
    The first text is this:
    NPJH50583_00000.jpg

    Text is encoded in UTF16-LE and this text appears at 0xE6BC.
    I am finding all text is preceded by a byte with the length divided by 2. UTF16-LE encodes every character in 2 bytes, 'that's why it has 16 in the name.
    Another pattern I am seeing: After the text, there's 4 bytes (unknown) after that is the length byte for the next text and then the next text. Maybe offsets of some kind? We need to know where are the jumps.

    I guess you'll need to do some debugging to figure this one out.
     
    Last edited by flame1234, Sep 21, 2016
  6. master801
    OP

    master801 GBAtemp Fan

    Member
    363
    86
    Feb 24, 2011
    United States
    Thanks for the script documentation, I'll take a deeper look at it later when I have time.