Page 1 of 5 123 ... LastLast
Results 1 to 20 of 98

Thread: Realta Nua Mobile

  1. #1
    HSTP 500 Internal S ervant  Error aldeayeah's Avatar
    Join Date
    Mar 2011
    Posts
    8,104
    Blog Entries
    6

    Realta Nua Mobile

    This thread is for discussing the hacking and hopefully translation of Realta Nua Mobile.

    Inspired by Hintay's posts in the Realta Nua PC thread, particularly this:

    Quote Originally Posted by Hintay View Post



    This is a English test patch for iOS Fate: https://mega.co.nz/#!CUMFBTzT!1GvG-j...BS3swyGde8IGm0
    You should uncompress zip file and put it in Document folder of your iOS Fate, also only translate '2 Days Ago - Prologue'. And I think the original linebreak function for English is unfriendly.

    Here are a Python script written by myself to pack dat file of patch and generate fileinfo.txt:
    Code:
    # -*- coding: utf-8 -*-
    # Copyright (c) 2015 Hintay <hintay(at)me.com>
    
    import os, codecs, hashlib, sys
    reload(sys)
    sys.setdefaultencoding('utf8')
    
    def main(startdir):
        # Change dat filename you want in here.
        container_name = 'en.dat'
        with open(container_name , 'wb') as datwr:
            fileinfo = codecs.open('fileinfo.txt' , 'w', 'utf-8')
            os.chdir(startdir)
            offset = 0
            n = 1024*4
    
            for obj in os.listdir(os.curdir):
                print(obj)
                m = hashlib.md5()
    
                size = os.path.getsize(obj)
    
                dat = open(obj, 'rb')
                while True:
                    buf = dat.read(n)
                    if buf:
                        m.update(buf)
                        datwr.write(buf)
                    else:
                        break
                dat.close()
    
                md5 = m.hexdigest()
                print(md5)
    
                name, ftype = obj.split('.')[:2]
                # Maybe you should decode filename.
                #fileinfo.write(u'%s::%s::sys/%s::%s::%s::%s::0\n'%(name.decode("GBK"), ftype, container_name, offset, size, md5))
                fileinfo.write(u'%s::%s::sys/%s::%s::%s::%s::0\n'%(name, ftype, container_name, offset, size, md5))
    
                offset += size
            datwr.close()
            fileinfo.close()
    
    if __name__ == '__main__':
        startdir = raw_input('Please input startdir: ')
        main(startdir)
    I don't know how to patch GUI, maybe jailbreak is required if want translate GUI.
    (NOTE: This thread is not about porting the HD assets of the mobile version to the PC version; use the Realta Nua PC thread for that.)
    don't quote me on this

  2. #2
    Sleeping in the Akasha... Riku Noctis's Avatar
    Join Date
    Jul 2014
    Location
    Nasuverse
    Gender
    Male
    Posts
    344
    Quote Originally Posted by Odinyp View Post
    Sorry if I'm being daft, but what's stopping someone from applying the rest of the patch just like Hintay did?
    Maybe the fact that not all of the current "features" of the patch work correctly for this version?

    True, we could have another event like that "hollowgate" from some months ago, but I think that someone who makes the effort to do a pretty decent job wouldn't bother to do a messed up patch where not even linebreaks work correctly.

    I could be wrong, tough.


    Kingdom Hearts III: The End of Evangelion
    The Movie


    Quote Originally Posted by Cyber Angel View Post
    "Time to start learning Japanese."
    Five timeless words. ;.;

  3. #3
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    There's a version of the patch that doesn't need those features, just throwing that out there!

    (well i mean it does need linebreaks but that's basic functionality rather than a feature)

  4. #4
    Sleeping in the Akasha... Riku Noctis's Avatar
    Join Date
    Jul 2014
    Location
    Nasuverse
    Gender
    Male
    Posts
    344
    Quote Originally Posted by Kotonoha View Post
    There's a version of the patch that doesn't need those features, just throwing that out there!
    The Wakame patch? Right, there is that too.
    Well, there you have it then.


    Kingdom Hearts III: The End of Evangelion
    The Movie


    Quote Originally Posted by Cyber Angel View Post
    "Time to start learning Japanese."
    Five timeless words. ;.;

  5. #5
    Switch on the Holy Night Quibi's Avatar
    Join Date
    Mar 2012
    Gender
    Male
    Posts
    1,382
    Blog Entries
    1
    Basically for a partial patch (meaning script translation only) we need a couple of things:
    1) I saw mobile scripts had a new scroll text tag every now and then. Dunno what it does but if it's necessary then we need to insert those to the English script as well.
    2) Apply word wrapping script. There are no tjs files so we need to somehow inject one.
    3) add some other custom English tags like edoublecolon
    Last edited by Quibi; June 10th, 2015 at 11:52 PM.

  6. #6
    How many changes to the scripts were there other than translation of text?
    It would take more time to copy the English text onto the Japanese mobile scripts, right?

    Word wrapping is a pain because you need to either buffer characters until there's a space or be able to erase characters, both of which would require major changes to the text processing system.
    Also with a variable width font we have to find a way to measure the width of the characters.
    The brute force way is to insert line wrapping manually, which will work but it will require a lot of work.
    Another thing is that the current game wraps at 26 characters, which is a bit short.
    At the moment, the first page is like this:
    Code:
      It was a thrust like lig
    htning.
      A spearhead thrust to pi
    erce my heart.
      Trying to dodge it would
     be useless.
      Being lightning, it's in
    visible to the human eye.
    With manual line breaks it would be like this:
    Code:
      It was a thrust like
    lightning.
      A spearhead thrust to
    pierce my heart.
      Trying to dodge it would
     be useless.
      Being lightning, it's
    invisible to the human
    eye.
    Since the lines are so short, it could be that all the text doesn't fit on one page. We can add a extra pages though (we might have to re-number all the pages).

    Edit: Landscape mode can fit 10 lines.
    Last edited by ニサンカタンソ; June 11th, 2015 at 03:36 AM.

  7. #7
    Switch on the Holy Night Quibi's Avatar
    Join Date
    Mar 2012
    Gender
    Male
    Posts
    1,382
    Blog Entries
    1
    I have faith we could inject the word wrapping using the ks files. We just need to define the word wrapping tag and then override the message layer.

    I'm not in favor of manually editing the scripts, but if worse comes to worse we should use MM method of inserting the wrap tag before every word. It could be done fairly easily with a script.

    The Japanese scripts seem pretty much the same side from the new scroll text tag, which we'll probably need to insert to the English scripts (when we find out what it does).
    Last edited by Quibi; June 11th, 2015 at 04:19 AM.

  8. #8
    HSTP 500 Internal S ervant  Error aldeayeah's Avatar
    Join Date
    Mar 2011
    Posts
    8,104
    Blog Entries
    6
    Quote Originally Posted by ニサンカタンソ View Post
    Also with a variable width font we have to find a way to measure the width of the characters.
    I know this isn't really a solution, but wouldn't using a monospaced font be an option?
    don't quote me on this

  9. #9
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    So do we have the graphics and stuff extracted yet?

  10. #10
    Switch on the Holy Night Quibi's Avatar
    Join Date
    Mar 2012
    Gender
    Male
    Posts
    1,382
    Blog Entries
    1
    Quote Originally Posted by Kotonoha View Post
    So do we have the graphics and stuff extracted yet?
    Even more.

  11. #11
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    Cool.

    Also for the sake of my sanity if anyone's going to patch the PC translation onto the mobile version then start with these scripts instead of journeying through the labyrinth of switches.
    Last edited by Kotonoha; June 11th, 2015 at 03:18 PM.

  12. #12
    Κυρία Ἐλέησον Seika's Avatar
    Join Date
    Jun 2011
    Location
    Perilous Hall
    Age
    30
    Posts
    12,736
    Blog Entries
    44
    Uploaded today?

    I must scrutinise them for translation updates!
    Beast's Lair: Useful Notes
    (Lightweight | PDF)
    Updated 01/01/15

    If posts are off-topic, trolling, terrible or offensive, please allow me to do my job. Reporting keeps your forum healthy.
    Seika moderates: modly clarifications, explanations, Q&A, and the British conspiracy to de-codify BL's constitution.

    Democracy on Beast's Lair

  13. #13
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    Nah there's no updates, it's just the unpacked version of the files that are already in the patch.

  14. #14
    Κυρία Ἐλέησον Seika's Avatar
    Join Date
    Jun 2011
    Location
    Perilous Hall
    Age
    30
    Posts
    12,736
    Blog Entries
    44
    Alas for the dashing of my hopes.

    I kind of wonder - how many people here would end up with FSN on their mobile anyway, and really using it? I just feel a bit sceptical about the audience for this.
    Beast's Lair: Useful Notes
    (Lightweight | PDF)
    Updated 01/01/15

    If posts are off-topic, trolling, terrible or offensive, please allow me to do my job. Reporting keeps your forum healthy.
    Seika moderates: modly clarifications, explanations, Q&A, and the British conspiracy to de-codify BL's constitution.

    Democracy on Beast's Lair

  15. #15
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    Personally I like VNs on portable devices better than having to sit in front of my computer for 100 hours.

  16. #16
    僕はね、ヒマワリになりたかったんだ mewarmo990's Avatar
    Join Date
    Mar 2011
    Location
    Space Battleship Aoko
    Posts
    15,734
    JP Friend Code
    お林
    Blog Entries
    46
    I would download/buy this in an instant, if not for the stupid device/region restrictions on Android.

    these days if I have time to sit down in front of the computer, I have better things to do than read a VN.

  17. #17
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    Spoiler:


    They've been developing it for that long and it still only runs on like 5 types of phone?

  18. #18
    僕はね、ヒマワリになりたかったんだ mewarmo990's Avatar
    Join Date
    Mar 2011
    Location
    Space Battleship Aoko
    Posts
    15,734
    JP Friend Code
    お林
    Blog Entries
    46
    Quote Originally Posted by Kotonoha View Post

    They've been developing it for that long
    Imma stop you right here.

  19. #19
    Fuckin' chicken grill!!! Kotonoha's Avatar
    Join Date
    Mar 2011
    Posts
    29,299
    Blog Entries
    25
    MAYBE LONGER

  20. #20
    Quote Originally Posted by Kotonoha View Post
    They've been developing it for that long
    Ah that explains how they managed to rewrite the whole engine in C++.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •