Jump to content
  • 0

Translation Fails


Craven

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  03/08/20
  • Last Seen:  

Thought I could handle it myself, albeit with a ton of headaches, but alas.. I'm at a dead end here and decide to create an account after all.

I've been trying to get the client translated for about 2 days now with the use of zackdreaver's ROenglishRO translation files, in combination with the basic translation patch as found in NEMO.

I understand a couple of people have had similar issues as I, though applying the solutions they were given, they sadly didn't work out for me.

Performed 'Download, Update & Extraction' Steps

  1. Downloaded the 2017-07-05 kRO client from https://rathena.org/board/topic/102572-kro-full-client-last-update-2017-07-05/
  2. Extracted the kRO client into a generic Ragnarok Online folder.
  3. Downloaded the Ai4rei's RO Patcher Lite from https://rathena.org/board/topic/62758-ro-patcher-lite-v2424806-last-updated-20191229/
  4. Used RO Patcher Lite to update the client, which ended somewhere around 2018-06.
  5. Downloaded the ROenglishRO translation files from https://github.com/zackdreaver/ROenglishRE
  6. Extracted the data & System files into the main folder of the client.

Performed Client Patching Steps

  1. Downloaded the 2018-06-20eRagexeRO client from https://rathena.org/board/topic/117168-packetver-20180620-client-release-2018-06-20eragexere/
    • Note: my server was compiled using that clients' packetver, for ease of use.
  2. Downloaded the latest version of NEMO.
  3. Applied a bunch of patches (see spoiler below) with the use of http://nemo.herc.ws/clients/2018-06-20eRagexeRE/ to figure out what works and what doesn't.
    • Patch 65 Load Custom lua file instead of iteminfo*.lub (Recommended) was pointed to itemInfo_true_V5.lua in the System folder.
    • Patch 35 Read Data Folder First is used temporarily until I get the translation right and can pack it all into GRF.
Spoiler

257 Use Default Web Browser for <URL>
258 Enable Shortcut All Item
6 Force Send Client Hash Packet
8 Custom Window Title
9 Disable 1rag1 type parameters (Recommended)
13 Disable Ragexe Filename Check (Recommended)
17 Enable Official Custom Fonts
18 Skip Service Selection Screen
20 Extend Chat Box
21 Extend Chat Room Box
22 Extend PM Box
279 Fix item description bug
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
286 Hide zero date (1969-01-01) in guild members window
32 Increase Zoom Out Max
289 Fix Homunculus attack AI
290 Hide build info in client (Recommended)
34 Enable /showname (Recommended)
291 Hide packets from peek (Recommended)
35 Read Data Folder First
36 Read msgstringtable.txt (Recommended)
293 Increase hair style limit for human only in game (old)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
40 Restore Login Window (Recommended)
41 Disable Nagle Algorithm (Recommended)
42 Skip Resurrection Button
43 Always Use Email for Char Deletion
44 Translate Client (Recommended)
47 Use Ragnarok Icon
49 Enable Multiple GRFs (Recommended)
50 Skip License Screen
53 Use Ascii on All LangTypes (Recommended)
64 @ Bug Fix (Recommended)
65 Load Custom lua file instead of iteminfo*.lub (Recommended)
69 Extend Npc Dialog Box
71 Ignore Resource Errors
72 Ignore Missing Palette Error
73 Remove Hourly Announce (Recommended)
74 Increase Screenshot Quality
84 Remove Serial Display (Recommended)
88 Allow space in guild name
90 Enable DNS Support (Recommended)
91 Disconnect to Login Window
97 Cancel to Login Window (Recommended)
100 Disable Multiple Windows
205 Enable Monster Tables
208 Restore Cash Shop Icon
212 Restore Roulette
213 Disable Help Message on Login (Recommended)
215 Increase Map Quality
225 Show Register Button
234 Ignore Lua Errors
239 Ignore /account: command line argument
256 Use Default Web Browser In Cashshop

(s)clientinfo.xml

Spoiler

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Client Information</desc>
    <servicetype>america</servicetype>
    <servertype>primary</servertype>
    <connection>
        <display>rAthena</display>
              <address></address>
              <port>6900</port>
              <version>55</version>
              <langtype>1</langtype>
        <registrationweb></registrationweb>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
            <image>loading05.jpg</image>
            <image>loading06.jpg</image>
        </loading>
       </connection>
</clientinfo>

Result
A mix of English, Korean and utter gibberish. (The help menu is even getting overlapped, holy..)

However..

  • NPCs and NPCs have their name written in perfect English;
  • NPC dialogues are in English;
  • Some menus are in English as well, i.e.: achievements (+ their descriptions), status, equip (excluding equipped item names), skill tree (+ skill descriptions), world map (+ navigation and mob info) and the options menu itself (ESC -> 게임 설정).

I've tried swapping up itemInfo_true_V5.lua with one the other itemInfo lua files using the custom lua patch, but to no avail.

The gibberish as seen on the screenshot reminds me of an encoding format issue in the event you accidentally change that in a TXT file.

If anyone can shed some light on what could be the issue here, I'd gladly hear it since it's the last step for me to get it all working flawlessly-ish.

screenCravenRO001.jpg

Edited by Craven
Added (s)clientinfo.xml
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

check your patches and iteminfo carefully. Make sure they are properly placed in the right paths

NEMO:

1.JPG.2f51b822bd40ad38910e2e975c87e9bf.JPG

Ragnarok System Folder

3.JPG.b830863ba5f4fb7ac7f309688ef4c7bb.JPG

Check the iteminfo. Name must match with your patch
2.JPG.39ab7a778b07795fe1956080ee26b301.JPG

Here's what my iteminfo looks like

image.png.93cbf02629add9f057121e7c015d533e.png

 

I think your GRFs are fine now. If only items are not translated, then it is more likely an iteminfo problem (No need to edit data files from GRFs)

Edited by LuLu
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

3 Chat Flood Remove Limit
8 Custom Window Title
9 Disable 1rag1 type parameters (Recommended)
13 Disable Ragexe Filename Check (Recommended)
16 Disable Swear Filter
19 Enable Title Bar Menu
20 Extend Chat Box
21 Extend Chat Room Box
22 Extend PM Box
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
28 Increase Headgear ViewID
286 Hide zero date (1969-01-01) in guild members window
290 Hide build info in client (Recommended)
34 Enable /showname (Recommended)
291 Hide packets from peek (Recommended)
36 Read msgstringtable.txt (Recommended)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
40 Restore Login Window (Recommended)
41 Disable Nagle Algorithm (Recommended)
44 Translate Client (Recommended)
46 Use Normal Guild Brackets (Recommended)
47 Use Ragnarok Icon
48 Use Plain Text Descriptions (Recommended)
49 Enable Multiple GRFs (Recommended)
53 Use Ascii on All LangTypes (Recommended)
64 @ Bug Fix (Recommended)
65 Load Custom lua file instead of iteminfo*.lub (Recommended)
73 Remove Hourly Announce (Recommended)
84 Remove Serial Display (Recommended)
85 Show Cancel To Service Select
88 Allow space in guild name
90 Enable DNS Support (Recommended)
91 Disconnect to Login Window
97 Cancel to Login Window (Recommended)
204 Increase Attack Display
208 Restore Cash Shop Icon
213 Disable Help Message on Login (Recommended)

Got nemo from >>here<<

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

try packing it all into GRF.

the MISSING translation are TEXTURES from the translation data files

image.png.66598d3b0160b1a2769ae1e02f5d2ada.png

 

and these image.png.a810ef665f54b8dc93372dcb8a59c35f.png

 are from iteminfo.lua/lub whatever you are using. try opening them in notepad++, if its gibberish, it got replaced. Sometimes when you patch, it gets overwritten by the kRO patch which reverts it back to korean.

Edited by LuLu
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  03/08/20
  • Last Seen:  

38 minutes ago, LuLu said:

try packing it all into GRF.

the MISSING translation are TEXTURES from the translation data files

 

Spoiler

image.png.66598d3b0160b1a2769ae1e02f5d2ada.png

 

 

and these

Spoiler

image.png.a810ef665f54b8dc93372dcb8a59c35f.png

 are from iteminfo.lua/lub whatever you are using. try opening them in notepad++, if its gibberish, it got replaced. Sometimes when you patch, it gets overwritten by the kRO patch which reverts it back to korean.

I'm not entirely sure what you meant by "try packing it all into GRF.", but this is what I've tried:

  • Checked itemInfo_true_V5.lua (the one I'm using in the NEMO patch)
    • It doesn't show gibberish. (see below)
Spoiler

tbl = {
    [501] = {
        unidentifiedDisplayName = "Red Potion",
        unidentifiedResourceName = "빨간포션",
        unidentifiedDescriptionName = { "" },
        identifiedDisplayName = "Red Potion",
        identifiedResourceName = "빨간포션",
        identifiedDescriptionName = {
            "A bottle of potion made from grinded Red Herbs.",
            "________________________",
            "^0000CCType:^000000 Restorative",
            "^0000CCHeal:^000000 45 ~ 65 HP",
            "^0000CCWeight:^000000 7"
        },
        slotCount = 0,
        ClassNum = 0,
        costume = false
    },
    [502] = {
        unidentifiedDisplayName = "Orange Potion",
        unidentifiedResourceName = "주홍포션",
        unidentifiedDescriptionName = { "" },
        identifiedDisplayName = "Orange Potion",
        identifiedResourceName = "주홍포션",
        identifiedDescriptionName = {
            "A bottle of potion made from grinded Red and Yellow Herbs.",
            "________________________",
            "^0000CCType:^000000 Restorative",
            "^0000CCHeal:^000000 105 ~ 145 HP",
            "^0000CCWeight:^000000 10"
        },
        slotCount = 0,
        ClassNum = 0,
        costume = false
    },

  • Checked itemInfo.lub and.. yeah:
     
    Spoiler

    lubformat.thumb.png.6619af6f4bfb754d9fd14fe343f2be03.png


    This could simply be how the lub files look like in terms of their format, but what do I know? lol
     
  • Packed the data folder from the translation project into english.grf.
    • It shows À¯ÀúÀÎÅÍÆäÀ̽º as the folder with all the translated textures in it.

englishgrfgibberish.thumb.png.c3deedba99cf75f15c44206c0cb02ca1.png

  • Added an extra entry in the DATA.INI file to load in the english.grf:

    [Data]
    1=rdata.grf
    2=data.grf
    3=english.grf

I'm not sure if the order here matters, but I'd assume the last one will overwrite anything from the previous GRF. Though if that's the case, it still didn't work, sadly.

Furthermore, I've never tried extracting the official data.grf this kRO client came with, since the wiki never told me to do so.

But isn't it logically correct to simply extract data.grf, overwrite the old files with zackdreaver's translated files and then re-pack the whole thing into a new GRF file? Is that a thing or..? ?

Edited by Craven
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

your order is wrong

[Data]
1=english.grf
2=data.grf
3=rdata.grf

*prioritize english so it doesn't get overridden by the kRO files

 

as for the LUB file, maybe it got replaced (check your downloaded translation file, it must be english and compare it with what you are using), cause it's ecrypted. just rename your english iteminfo.lua > .lub. it will work. you can also encrypt it if you want, but it must be english first

Edited by LuLu
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  03/08/20
  • Last Seen:  

Alright, I got one step further now with the simple fix of re-ordering the DATA.INI file.

  • The user interface is now completely English, with the exception for the 'Help' menu, that one is still experiencing overlapping gibberish.

The items, however, are still using the trash language, here's what I already tried out:

Client

  1. Turned Load Custom lua file instead of iteminfo*.lub off -> nope.
  2. Changed Load Custom lua file instead of iteminfo*.lub value to itemInfo_true_V3.lua (appropriate for client 20180620) -> nope.
  3. Turned Use Plain Text Descriptions on -> nope.
  4. Tried step 2 + 3 in conjunction -> nope. 
  5. Re-did step 1 and then renamed itemInfo_true_V3.lua to itemInfo.lub -> nope.

Lua

  • Checked every single (translated) lua file for faulty characters and/or gibberish, none to be found unless encoding the .lua file to ANSI.
  • Tried changing itemInfo_true_V3.lua's encoding from UTF-8 to ANSI, which for example turns "나이프" (dagger) into "나ì´í”„" instead of the way it looks in-game: ÀÌÇÁ. (see OP)

data.grf

  • Found the itemInfo.lub inside data.grf/data/LuaFiles514/Lua Files/datainfo and replaced it with the translated itemInfo.lub from ROenglishRE -> nope.
    • Note: oddly enough, there are 3 folders inside data/LuaFiles514/Lua Files called datainfo, DataInfo and Datainfo.

For some reason, the System folder is being read, just not correctly whatsoever. It also contains the English information for the tipbox (help menu) and is equally gibberish in-game.

Formatting breaks the moment the client tries to pull the item names, descriptions as well as the tipbox from the .lub and .lua files. ?

I've also checked my System Locale just in case my system is trying to look up information the wrong way, but that part seems to be in order.

Edited by Craven
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  03/08/20
  • Last Seen:  

You could shoot me if I'm doing something wrong here, but you're showing me exactly what I have, although I'm not currently using lub. (And yes, I've tried changing it from lua to lub, but it simply won't translate)

4a0f9050144b03e6e653b13e609e7186.png.f7fa130fb76a4be9c126dea052554583.png

f6d54b99b8772d3a220d61613fe00040.png.d7f06bab42a8639c27bca4a8479cb894.png

c1f0bc72b7e0f6e9dc11c94e49169c02.png.afb237de7699fdd90729acc4984fe4f9.png

Do you mind telling me what your NEMO version is and which patches you've used?

Edited by Craven
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  03/08/20
  • Last Seen:  

Figured out the issue, kind of a stupid mistake on my part if you ask me.

NEMO

  • Forgot to add .exe behind the Output Patched file's name, i.e.: I wrote /Ragnarok instead of /Ragnarok.exe

Apparently I've been copying a two days old client, all the while I was thinking it was the latest patched one.. ?

Thanks for the help @LuLu!

Edited by Craven
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

6 minutes ago, Craven said:

Figured out the issue, kind of a stupid mistake on my part if you ask me.

NEMO

  • Forgot to add .exe behind the Output Patched file's name, i.e.: I wrote /Ragnarok instead of /Ragnarok.exe

Apparently I've been copying a two days old client, all the while I was thinking it was the latest patched one.. ?

Thanks for the help @LuLu!

?

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...