Menu

LEX File Exchange
EA Support Files
SC4 Wikipedia
Network Addon Mod
Dependencies
Chat

Author Topic: Displaying Japanese Lot Name and Description in Other Language Versions  (Read 17850 times)

0 Members and 1 Guest are viewing this topic.

Offline ebina

  • NAM Team
  • Forums Governor
  • *
  • Posts: 390
  • Total likes: 1
  • Reputation: 12
  • CL: Mr. Wizard
This is a tutorial for members who want to see Japanese lot names/descriptions in your game instead of blank space.
This time I have used English version of SimCityLocale.dat included in the Left To Right Hand Driving Switch, to change the game's behavior to the same as English version. Registry value is set to US English.
I have chosen one of SOMY's lots as an example. I'm not trying to blame him and his creations for blank text since it is not his fault.

Tutorial Start:

First of all, please check whether you have necessary font file or not, for I don't know whether overseas versions contain the same font files as Japanese version. Go to where you installed SC4 and open the Fonts folder. Required font files are HG-Gothic.mxf*1 and HG-Gothic (Bold).mxf*1.

Fonts available in Japanese version:
Arial MT (Bold Italic).mxf
Arial MT (Bold).mxf
Arial MT (Italic).mxf
Arial MT.mxf
Arta (Italic).mxf
Arta.mxf
CordiaUPC (Bold).mxf
CordiaUPC.mxf
Courier LD (Bold Italic).mxf
Courier LD (Bold).mxf
Courier LD (Italic).mxf
Courier LD.mxf
HG-Gothic (Bold).mxf
HG-Gothic.mxf
Hy Round Gothic (bold).mxf
Hy Round Gothic.mxf
MHei B5 (Bold).mxf
MHei GB (Bold).mxf
Stoclet ITC TT (Bold).mxf


Next, you need to edit an INI file manually. In the Reader, open the simcity_1.dat*2 and find an INI file with this TGI.
00000000 / 4A87BFE8 / 2A87BFFC
Right click on it and select Copy file(s). Then paste it to blank dat.

Codes used in edited lines are in the INI file included in Japanese version of SimCityLocale.dat.

To edit INI, click "Edit" button located at the top of right pane. First, find Generic Panel and Dialog fonts section and edit GenHeader line. GenHeader line defines top of lot query dialog where the name of lot appears.

GenHeader     = "StocletITC TT",    "18",  "bold|aa=bg|linespacing=2|xscale=1.2|xadvancescale=0.99",      0x4a809916


GenHeader        = "HG-Gothic",   "14",   "bold|aa=bg|linespacing=2",   0x4a809916


You'll notice that other headers(Monthly Budget, Graphs, etc) are changed as well.

Second, find another section named Fonts used for Widgets:, and edit ToolTip and ToolTipTitle. ToolTipTitle defines lot name in the menu, ToolTip defines lot description.

ToolTip       = "Arta",          "13",   "italic|aa=bg|linespacing=2|xscale=0.95|xadvancescale=0.99",     0xa85f1a83
ToolTipTitle  = "StocletITC TT", "14",   "bold|aa=bg|linespacing=2|xscale=1.2|xadvancescale=0.99",       0xe9c86c9d


ToolTip          = "HG-Gothic",    "13",   "aa=bg|linespacing=2",           0xa85f1a83
ToolTipTitle     = "HG-Gothic",    "14",   "bold|aa=bg|linespacing=2",    0xe9c86c9d


These may change other places like GenHeader line.

After editing INI, don't forget to click "Apply" button. Otherwise you will lose your modification. Finally save .dat file and copy it to Plugins.

*1 - Font files used to display Japanese texts may not include characters of your language. Your language might not be displayed in game correctly with INI that specifies different fonts from original settings. So you should use modified INI only to display Japanese lot names and descriptions when you need to check what the lot is.
*2 - Before opening SimCity_1.dat, it would be better to open your language version of SimCityLocale.dat first as it may include optimal INI for your language. If you found it, you should edit that INI rather than one in SimCity_1.dat.


What mentioned in this tutorial have been included to attached INI file. Simply copy it to Plugins. If you could try this method, please show me what happened in your game.

Edit:
January 10, 2009 - Added a few notes, and replaced a list of fonts with text based version.
« Last Edit: January 10, 2009, 04:50:16 AM by ebina »

Offline JoeST

  • Forums Guru
  • *
  • Posts: 2648
  • Total likes: 15
  • Reputation: 10
  • fbstj
  • CL: Not your average...
Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #1 on: October 05, 2008, 09:54:41 AM »
Hey Ebina, thanks very much :) thats an ace fix, I will be sure to do it if ever I go back to windows :D

Though I think this should be coppied/moved to the Tutorials section also :)
« Last Edit: October 05, 2008, 09:57:58 AM by JoeST »
Copperminds and Cuddleswarms

Offline Andreas

  • Administrator
  • Forums Legend
  • *
  • Posts: 4775
  • Total likes: 987
  • Reputation: 33
    • SimCityPlaza
  • CL: ()bobby() Transit Controller
Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #2 on: October 05, 2008, 10:46:19 AM »
This is a very interesting finding, ebina. :) Does anyone remember that the vanilla version of SimCity had smaller UI text than Rush Hour? This was a lot better because longer lot names still were displayed properly in the UI windows. Maybe we can get this feature by editing that INI file as well.

SC4 Vanilla UI font:




SC4 Rush Hour UI font:

« Last Edit: October 05, 2008, 10:52:44 AM by Andreas »
Andreas

Offline wouanagaine

  • NHP Team
  • Forums Guru
  • *
  • Posts: 2854
  • Total likes: 7
  • Reputation: 43
  • CL: :computer: SC4 CodeMaster
Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #3 on: October 09, 2008, 01:32:13 AM »
Very usefull ! Stickied
New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4

Offline heeyudong

Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #4 on: October 11, 2008, 03:07:03 AM »
Hi Everyone,

What software and methods do I have to use to open the .DAT and find the .INI file? I don't really know much about computers, sorry for the trouble...

皆さん、

私はコンピュータを使うことはあんまり知りませんから、.DATファイルを開けて.INIファイルを探しての方法を教えて貰いませんか? お手伝いにありがとうございます。
« Last Edit: October 11, 2008, 04:23:02 AM by heeyudong »

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #5 on: October 11, 2008, 05:48:22 AM »
The dat can be open in the iLive reader, which can be found in Simtropolis' Modds & Downloads / Modding Files

Offline heeyudong

Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #6 on: October 11, 2008, 07:21:49 AM »
Thank you very much!  :thumbsup:

Offline RippleJet

Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #7 on: October 11, 2008, 07:37:13 AM »
iLive's Reader is available on the LEX as well. ;)
http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=656

Offline Vegantor

i cannot find th TGI

Offline ebina

  • NAM Team
  • Forums Governor
  • *
  • Posts: 390
  • Total likes: 1
  • Reputation: 12
  • CL: Mr. Wizard
i cannot find th TGI
Could you try this? After opening the SimCity_1.dat in the Reader click the "Filters" button on tool bar (Or "Tools > Filter" from menu bar).

In the "Filters" dialog, click "Uncheck all" and recheck only "Ini" like the image below, afterwards click "Refresh".


In the left pane only INI files should be displayed. You would be able to find needed INI easily.

Offline Vegantor

Thanks a lot mates

Offline lotherius

Re: Displaying Japanese Lot Name and Description in Other Language Versions
« Reply #11 on: January 16, 2013, 10:30:50 PM »
Thanks very much! I'm going to play with this to change some other fonts as well..