[Scummvm-tracker] [ScummVM :: Bugs] #16446: Fanmade Chinese Variant of The Longest Journey

ScummVM :: Bugs trac at scummvm.org
Fri Jan 9 20:57:37 UTC 2026


#16446: Fanmade Chinese Variant of The Longest Journey
--------------------+---------------------------
Reporter:  hunhunk  |      Owner:  (none)
    Type:  patch    |     Status:  new
Priority:  normal   |  Component:  Engine: Stark
 Version:           |   Keywords:
    Game:           |
--------------------+---------------------------
 This is a patch to add support for the fan-made Chinese version of the
 longest journey. It is based on the 4CD English version. The variant has
 following data:

 {"chapters.ini", 0, "968ed36bdcac6b6bb76cd24542861a48", 345},
 {"x.xarc", 0, "a0559457126caadab0cadac02d35f26f", 3032},

 Two source files need to be patched to support this variant.
 In detection.cpp, add following to the ADGameDescription
 gameDescriptions[]

 / / The Longest Journey
 / ****/ Chinese fan-made - applied to 4CD version
 {
         "tlj", "Fanmade",
         AD_ENTRY2s("x.xarc",
 "a0559457126caadab0cadac02d35f26f", 3032,
                    "chapters.ini",
 "968ed36bdcac6b6bb76cd24542861a48", 345),
         Common::ZH_CHN,
         Common::kPlatformWindows,
         ADGF_NO_FLAGS,
         GUIO_NONE
 },

 In services/settings.cpp, add the case ZH_CHN for codepage setting:

 Common::CodePage Settings::getTextCodePage() const {
         switch (_language) {
         case Common::ZH_CHN:
                 return Common::kWindows936;
         case Common::PL_POL:
                 return Common::kWindows1250;
         case Common::RU_RUS:
                 return Common::kWindows1251;
         case Common::HE_ISR:
                 return Common::kWindows1255;
         default:
                 return Common::kWindows1252;
         }
 }

 To display Chinese right, player also need to add a Chinese font to the
 game's Fonts/ folder. Any Chinese unicode .ttf font should work. Rename it
 to one of the
 font already in the Fonts/ folder, e.g., Arial.ttf. Then in gui.ini,
 specify
 to use Arial for all the needed fonts.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16446>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list