Skip to content

VuceticBranislav/era-ChineseRainbowPlugin-modern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License

ERA 3 - Chinese Rainbow Plugin (WoG 中文化插件)

Code ported from Delphi 7 version to modern Delphi (Delphi XE, 10, 11 & 12)
Original author of Chinese plug-in is Youyi (gu7979gu) 有利制作 QQ:123133263, 2009.01.27.
This repository contains Chinese Rainbow Plugin, originally part of ERA repository.

Code is from ethernidee's ERA repositories commit: 83748ff

Original Delphi Discord LinkedIn

About The Project

Project code has been ported from Delphi 7 version to the newest Delphi version. Minimal changes to code are introduced. Main purpose of this project is to continue its legacy and provide updated functionalities. Original goals and functionalities have been preserved. The porting process has been carefully executed to ensure that the project retains its original essence while leveraging the latest features of the new Delphi version. Original code has beed developed by Youyi (gu7979gu). Code is included in ERA by ethernidee.

Project goals:

  • Compile code using modern version of Delphi.
  • Make minimal changes to the code.
  • Ensure that code line numbers align with the original code lines for easier comparison.
  • Avoid adding any additional features or improvements.

Fonts

Fonts should be copied to location where game can find it.
Chinese fonts list:

  • HZK10
  • hzk10_GBK
  • hzk12
  • hzk12_GBK
  • HZK24
  • hzk24_GBK

LocaleEmulator

LocaleEmulator is included in this repository to easily run the game in a different code page without changing the system code page.

Steps to use:

  1. Copy content of "LocaleEmulator" folder to game folder. You will find 2 predefined setups in LocaleEmulator folder: Chinese and Russian,
  2. Run game trough command line (or create shortcut) using this template:
    "LEProc.exe location" -runas "Settings GUID" "Heroes exe location"<br/>
    Where:
    "LEProc.exe location" - Full path to LEProc.exe in copied LocaleEmulator folder
    "Settings GUID" - 10000000-0000-0000-0000-000000000000 Chinese, 20000000-0000-0000-0000-000000000000 Russian
    "Heroes exe" - Full path to game exe
    Example: "d:\Games\Heroes3\LocaleEmulator\LEProc.exe" -runas "10000000-0000-0000-0000-000000000000" "d:\Games\Heroes3\h3era hd.exe"

    This allows running game in the Chinese code page without changing system code page.
    The only drawback is that the command line or a shortcut must be used.

GoUp

About

Chinese Rainbow Plugin port to modern Delphi

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published