[HELP] How do I edit text for Corpse Party Blood Covered - Repeated Fear

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by TheGrayShow1467, Aug 3, 2015.

  1. TheGrayShow1467
    OP

    TheGrayShow1467 屈折

    Member
    936
    1,205
    Oct 12, 2014
    United States
    So... It's gonna be a year until the people at XSEED decide to translate CPBCRF. So I'm wanting to translate 'Most' of the story, since it's been translated already. (Only part that hasn't is the exclusive new extra chapters. But those will be for another time...)
    I know NOTHING about ROM Hacking. I DO know what the translated story is. Can anyone help me figure out how to edit the text?
     
  2. dfsa3fdvc1

    dfsa3fdvc1 GBAtemp Regular

    Member
    215
    94
    Jan 3, 2015
    Albania
    Preface: Attached image shows text editting and results and should be viewed before reading this.

    So all the text is in Japanese Shift-JIS format and stored in plaintext and can be read with anything that supports Shift-JIS.
    The very first line of the game "チャプター1のオープニングを見ますか?" is stored at the beginning of /romfs/data/chap1/chap1_scriptlist.MSG
    From there you can open the chap1_scriptlist.MSG in a hex editor. It's actually really easy to replace text. You can actually overwrite the Japanese text with normal English ASCII right in the editor which is really cool. As you can see in the screen cap, new screens of text fairly consistently come at 128 character intrevals. So I guess so long as you fit the English text under 128 characters you wouldn't have to worry about offsets.
    So along with the chap1_scriptlist.MSG which contains actual game text is
    chap1_scriptlist.BIN
    chap1_scriptlist.DAT
    chap1_scriptlist.LST
    I guess one of these contains the offsets.

    Few details about text inputting, fortunately, unlike other games I've taken a look at, the game will automatically format text to the text box. For example the line

    "It was a rainy evening after school just like this one"

    becomes

    "It was a rainy evening after school just like
    this one"

    because the game handles the text so it doesn't go off screen.

    Manual linebreaks can be done with NULL (0x00)

    And then I just used LayeredFS to get the editted cap_scriptlist.MSG into the game.

    EDIT: Has it been confirmed that the 3DS version is coming stateside?
    EDIT2: Attached the compiled layerFS plugin and the altered script for Chapter 1. Just put the 'plugin' and 'CPLayer' on the root of your SD and launch game with NTR.
    EDIT3: So going off the assumption that each line takes up 128 characaters (0x80). My hex editor says that the entire text file for chapter 1 is 0x2A500 long. So it appears that Chapter 1 has 1354 lines of text that would need to be inputted.

    EDIT4: HexWorkshop handles editting way better.
     

    Attached Files:

    Last edited by dfsa3fdvc1, Aug 25, 2015
    SoyAlexPop likes this.
  3. TheGrayShow1467
    OP

    TheGrayShow1467 屈折

    Member
    936
    1,205
    Oct 12, 2014
    United States
    XSEED said they would consider it. They most likely will, because of some new extra chapters.
     
  4. dfsa3fdvc1

    dfsa3fdvc1 GBAtemp Regular

    Member
    215
    94
    Jan 3, 2015
    Albania
    Cool, think you'll manage to get the game translated before then? lol
     
  5. dfsa3fdvc1

    dfsa3fdvc1 GBAtemp Regular

    Member
    215
    94
    Jan 3, 2015
    Albania
    Really cool thing I found, CorpseParty_Tool

    What this does is extract all the assets from the PSP version image.bin and give you the PSP English script.
    Unfortunately, the formatting of the script is very different than the 3DS version. Actually the 3DS script is much easier to comprehend compared to this PSP script.
    So I guesss would at least save you the time of having to transcribe the entire game. Could just copy paste from this into the 3DS script.
     
    TheGrayShow1467 likes this.
  6. dfsa3fdvc1

    dfsa3fdvc1 GBAtemp Regular

    Member
    215
    94
    Jan 3, 2015
    Albania
    So semi-related to this thread, I started a thread on the PSP hacking board to try and replace the awful sprites in the PSP version with the new 3DS sprites.

    I found an old tool which theoretically allows the replacement of sprites and there have been users in the past who said that it does work but I can't seem to get it working. If anyone is at all intersted in this project please give it a shot.
    Details are in the thread.

    Once it's confirmed that the tool does work I can begin the process of replacing sprites.
     
    TheGrayShow1467 likes this.
  7. Zander1995

    Zander1995 GBAtemp Regular

    Member
    276
    74
    Nov 11, 2015
    United States
    Edit: Whoops, replied to the wrong thread.
     
    Last edited by Zander1995, Nov 11, 2015
  8. Abcdfv

    Abcdfv What comes around goes around.

    Member
    1,458
    592
    Dec 24, 2013
    United States
    Any progress on this? I love this game and want to play the updated version.
     
    Lycanroc likes this.
  9. TheGrayShow1467
    OP

    TheGrayShow1467 屈折

    Member
    936
    1,205
    Oct 12, 2014
    United States
    ;-; I failed. Mostly because of my lack of knowledge on how to edit the ROM's text properly. Also, at the moment, I'm out of a 3DS. A friend is repairing it. I have the 5 main chapters translation *cough "Thanks XSEED" cough* but I don't know how to get it into the game.
     
    Last edited by TheGrayShow1467, Nov 11, 2015
    Lycanroc likes this.
  10. Zander1995

    Zander1995 GBAtemp Regular

    Member
    276
    74
    Nov 11, 2015
    United States
    I have a Hex editor that allows me to view it in Shift JIS so I could help with text insertion. Of course I have an up-to-date USA 3DS so I can't test it lol
     
    Last edited by Zander1995, Nov 11, 2015
  11. Abcdfv

    Abcdfv What comes around goes around.

    Member
    1,458
    592
    Dec 24, 2013
    United States
    I'd be more than happy to do testing, I'm on 4.x with gateway/rxtools
     
  12. Zander1995

    Zander1995 GBAtemp Regular

    Member
    276
    74
    Nov 11, 2015
    United States
    This is basically just an edited version of chap1_scriptlist.MSG from one of the earlier posts, but I started to insert the English text just to see. Some of the lines definitely do not fit, so I had to shorten them a bit, but for the most part, the whole opening monologue is there, and part of the scene where Ms Yui enters.
     

    Attached Files:

  13. TheGrayShow1467
    OP

    TheGrayShow1467 屈折

    Member
    936
    1,205
    Oct 12, 2014
    United States
    Alright... Time to say it... I've given up. If anyone was hyped, I am sorry. My lack of experience, time, and patience seems to have caught up to me. If anyone would like to take over, have at it. I apologize for failing you all. I can only hope for your forgiveness.
     
  14. rimmyjustles

    rimmyjustles Member

    Newcomer
    34
    11
    Feb 1, 2016
    Canada
    I'll do it. dfsa3fdvc1 gave an amazing explanation for this. I've got HANS and a 64gb MicroSD card ready for testing.
     
    TheGrayShow1467 and Abcdfv like this.
  15. Abcdfv

    Abcdfv What comes around goes around.

    Member
    1,458
    592
    Dec 24, 2013
    United States
    Any luck? I'm still eagerly awaiting this.
     
  16. MisterPantsEyes

    MisterPantsEyes GBAtemp Fan

    Member
    344
    223
    Jan 10, 2015
    Laos
    Progress?
     
  17. rimmyjustles

    rimmyjustles Member

    Newcomer
    34
    11
    Feb 1, 2016
    Canada
    Guys, I dropped doing this at all. XSEED is bringing us the game.
     
  18. dfsa3fdvc1

    dfsa3fdvc1 GBAtemp Regular

    Member
    215
    94
    Jan 3, 2015
    Albania
    "Dropped" or "never started"? :P
     
  19. rimmyjustles

    rimmyjustles Member

    Newcomer
    34
    11
    Feb 1, 2016
    Canada
    I'll admit, I lol'd.