Announcement

Collapse
No announcement yet.

[Daminz] Sexaloid Girlfriend - Translation Mod

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Mod Release] [Daminz] Sexaloid Girlfriend - Translation Mod

    Intro:
    So I was playing this game and its pretty good right, but even with the guides some people have made its really difficult to understand whats going on so, i decided to try and do
    something about it.

    Given my knowledge of unity and knowing this game used unity i got some clever ideas for a quick fix to this problem.

    How it works:
    What I did was basically implement google translate api into the game to automatically translate text on the fly, into whatever language you desire.
    This uses the illusion plugin architecture. Even though the game isnt by illusion, we can still use the IPA because IPA is not actually illusion specific, just Unity specific.
    From what i understand it can be used to mod any Unity game. (dont quote me on this)

    Limitations:
    Obviously this is an automatic translation so its gonna be a bit garbled and hard to understand.
    This method also doesnt translate certain menu items (because i guess they dont use the Unity UI text component), such as the main menu.
    But there are guides to tell you what those mean.
    Also this hasnt been tested extensively so, try it with a grain of salt, though, it shouldnt hurt the game even if it doesnt work.

    This will require an active internet connection as well, as it translates the text on the fly, using google translate api.
    It aint perfect, but its better than nothing at all imo.

    Download and Installation:
    1. First you must install the illusion plugin architecture.
    2. Download the mod here.
    3. Extract it into your game folder making sure that the plugins folder goes into the root folder of the game. (next to the game .exe)

    That should be it, run the game and you should be good to go.
    If you wish to use a language other than english, you can modify the language in the included .ini file


    Notes:
    You should see the japanese text first and then quickly change to whatever language you have selected, this is normal as it
    is translating on the fly, it must translate the items as they become available. The speed at which it happens probably will be related
    to your internet speed as it must connect to google for the translation. Hopefully it isnt too bad on speed or performance, It isnt for me but, you never know.
    I made the actual translation calls which are the slow part be run in another thread so hopefully it wont impact game performance at all.

    Please feel free to contact me about this if you have questions or reply with feedback.
    Also feel free to share this around if you desire.

    Theoretically, this mod should also work on any Unity game that you have IPA installed on...

    Please, enjoy.


    Screenshots:
    Spoiler






  • #2
    The update will be a new patch?

    Comment


    • #3
      It's not working for me. Maaybe because of version 1.21?

      Comment


      • #4
        Thanks it's work for me (VR1.00)

        Comment


        • #5
          How install this not working for me

          Comment


          • #6
            Could u give an advice how to install that translation-plugin? I am really dump in such things and can't figure it out to let this game run with translation :/

            Comment


            • #7
              This no longer works after Google's recent change to their Cloud Translation API, so I decompiled this (using dotPeek), updated it with an offline cache and implemented Google's new Cloud Translation API. I also added line-breaks for long textareas.

              Download the updated Translation.dll from here. Copy this to your Plugins folder, overwriting the original mod's version, then run the (Patch & Launch) version of the game.

              This will generate a cache file for your selected language and add to it whenever a string that has not yet been translated is encountered. You can also edit this cache to add some better translations. Here is a copy of my English.cache file, with some translations slightly edited. Copy this into the Plugins folder, beside the Translation.dll file.


              What I was seeing with the original version of this mod, was that it worked for about a minute, then translations stopped coming through from Google and text was simply removed and not replaced. The cause was that we were running into the new rate-limits on the translation API. I implemented Google's new API (v2) then discovered that it had sent over 7000 requests to Google Translate within a few minutes of gameplay. This led me to implement the offline caching of translated strings to a file, rather than re-translating the same strings every few seconds.

              If you run in to issues this with the new version of the mod, you can enable the new API by adding your Google Cloud API key to the TranslationConfig.ini file as Key=abcd123 (replacing the key with your API Key, from: https://cloud.google.com/translate/ ). If the key is not set it will attempt to use the original API - since we are caching translations to a file now we shouldn't run into rate-limits any more, but I left the code just-in-case.


              The new installation process is:
              1. Download the illusion plugin architecture. and extract it to the root folder of the game (beside the exe file).
              2. Download the original Mod by ScriptyCat and extract to the root folder of the game.
              3. You should now have an additional IPA and Plugins folder in the game directory, as well as an IPA.exe file.
              4. Download my revised version of the mod and optionally my modified English.cache file and add these into the Plugins folder, replacing the original dll.
              5. Drag & Drop the game exe file onto the IPA.exe file. This will generate a (Patch & Launch) version of the game.
              6. Run that Patch & Launch version (note, you only need to run this version the first time you launch).

              Final note: should the original mod ever disappear, the only change to the above process to bypass it is to create a Plugins folder in your game directory, then create a TranslationConfig.ini file and add the content:
              Language = English
              Last edited by bobbobkinson; 09-21-2018, 08:54 PM. Reason: Updated Mod to better support multi-line strings.

              Comment

              Working...
              X