aaaaa
10-13-2008, 08:08 PM
Localizing region names in 'eng_map.lng' breaks saving and loading game file in localized name. The save/load program code seems to have some bug in recognizing files names in Asian unicode character string.
I localized region name (like 'Greenwort', 'Verlon Forest') in game data file (GAMEINSTALL)\sessions\base\LOCALIZATION\eng\eng_m ap.lng into Korean Unicode string(like '그린워트', '벨런 숲').
For example:
darion_1=그린워트
darion_2=벨런 숲
Localized region name is displayed correctly on screen and on game save file dialog, like "그린워트(2)". But actual save file name and load file name in localized string does not work. When I browsed the save file folder, the save file name should be something like "그린워트(2).sav". But it is truncated like "그린.sav". And No such name is listed in game Load file list dialog. So I can't load it.
So I cannot localize region name duo to this save/laod problem.
My suggestion: Separate name used for localized screen display and name used for save file name. Use save file name in pure Latin-1 character codeset to avoid simlar problems in localized version in non-Latin character set like Chinese or Japanese.
Another unrelated suggestion:
When there are many save files in game save folder, game save/load dialog is quite slow to show up. I think that it is because game should read all the save files in $save folder to display whole list. Don't do that. Read most recent few save files only and display them. Read rest of save files only when user scroll down the list. Use read-on-demand method for save file listing. It will greatly speed up Save/load dialog opening time. You can get number of files and modification date without read the actual file.
I localized region name (like 'Greenwort', 'Verlon Forest') in game data file (GAMEINSTALL)\sessions\base\LOCALIZATION\eng\eng_m ap.lng into Korean Unicode string(like '그린워트', '벨런 숲').
For example:
darion_1=그린워트
darion_2=벨런 숲
Localized region name is displayed correctly on screen and on game save file dialog, like "그린워트(2)". But actual save file name and load file name in localized string does not work. When I browsed the save file folder, the save file name should be something like "그린워트(2).sav". But it is truncated like "그린.sav". And No such name is listed in game Load file list dialog. So I can't load it.
So I cannot localize region name duo to this save/laod problem.
My suggestion: Separate name used for localized screen display and name used for save file name. Use save file name in pure Latin-1 character codeset to avoid simlar problems in localized version in non-Latin character set like Chinese or Japanese.
Another unrelated suggestion:
When there are many save files in game save folder, game save/load dialog is quite slow to show up. I think that it is because game should read all the save files in $save folder to display whole list. Don't do that. Read most recent few save files only and display them. Read rest of save files only when user scroll down the list. Use read-on-demand method for save file listing. It will greatly speed up Save/load dialog opening time. You can get number of files and modification date without read the actual file.