Jump to content
  • 0

Item Description Gibberish


oldinroplayer

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.01
  • Content Count:  18
  • Reputation:   1
  • Joined:  10/27/22
  • Last Seen:  

Hey Folks, I'm trying to get a rather ancient (406aSakexe) client working, but have run into the following problem: the text from "idnum2itemdesctable.txt" is not displayed in the client, even though it picks up the item name and icon/picture correctly. This problem exists for all items, including default stuff such as "Apple":

image.png.5ad09e67bde3745ad209265b2beb0453.png  image.png.ddaf6add8148afe386934091ff715c43.png

The first thing I checked were "idnum2itemdesctable.txt" and "idnum2itemdisplaynametable.txt" -- these files are normal and have the correct descriptions in readable English. I've also verified that the item numbers are correct across both the files such that there's no mixup in title/description:

image.png.c6f2d31312a51882c0917c9875b4a8b3.png  image.png.75ce610f7091cb78e9610996beee986a.png

I also tried a few things such as:

  • saving the files in different editors and running them thru dos2unix and iconv (to make sure this is not a char encoding issue)
  • repacking/rebuilding the GRF with different tools (GRFBuilder, Gryff and AGRFTool)
  • changing the "<servicetype>" to "korea,america and japan" (and "<langtype>" to "0,1 and 2" respectively) in sclientinfo.xml
  • different client EXEs "sakexe0628a" and "sakexe0911a"

but could not solve this problem and the text shows up as gibberish. Would really appreciate any pointers on how to solve this problem.

Edited by oldinroplayer
typos edited
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.01
  • Content Count:  18
  • Reputation:   1
  • Joined:  10/27/22
  • Last Seen:  

Found the answer on this post:

Quote

3. use RagTXTPR

The tool itself is available on RMS in the RO Tools page. The text in "idnum2itemdesctable.txt" needs to be pre-encoded so that it comes out right when in-game. An old info doc from the RO Translation Project files also mention this (was able to find it be searching for "RagTXTPR" after I found the tool):

Quote

If you hex your own sakexe using the diff patcher then make sure you select "[Data](7) Use Plain Text Descriptions" when making your exe or your item descriptions will appear as gibberish in the game! If you can't change your sakexe for whatever reason and these descriptions still show up as gibberish then grab a copy of ragtxtpr from http://eamirror.skamfroj.net. Use ragtxtpr to encode num2itemdesctable.txt and idnum2itemdesctable.txt and it should fix the problem.

... and after the change, the text is all fine (but the file in data folder is gibberish -- and that's expected since it was run thru the tool):

image.png.e8ff7e11de4412e5869e1d025d8fcf35.png

This topic can be marked as closed. Thank you.

Edited by oldinroplayer
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...