RSS Feed

Tag Archives: game

WINE and CDemu

Previously I posted about installing software/game with different CD/DVD ISO images in WINE. But this method does not work in some installation ISO images. Because these installation will detect for the CD/DVD. The method above does not solve the problem because the installation does not detect the CD/DVD.

Recently, I found a better solution. It is CDemu. It is similar to DAEMON Tools in Windows. It will emulate the optical disc drive in Linux. As a result, it will produce /dev/sr0, /dev/sr1, and so on. Because it is a virtual CD/DVD, thus we have to load the image. It can be easily loaded by using gcdemu.

Once the image file is loaded, we have to mount the image as root. I mount the image to /mnt/cdrom. Then, in WINE, run the winecfg, then it will automatically appear the CD-ROM in Drives tab. In my case, it is E: drive.

Now, I run the installation from WINE, I can detect the image as CD/DVD.

Traditional Chinese (BIG5) in the LANG=zh_CN.UTF8 locale

Recently, I tried to play Tecmo Koei Sangokushi 12 PK Traditional Chinese version (三國志12威力加強版繁體中文) on WINE using PlayOnLinux. It works fine, but there is a problem that is the game can only be run in LANG=zh_CN.UTF-8 locale instead of zh_TW.UTF-8 locale (there are some reasons behind). As a result, if I enter some Chinese characters using fcitx, the output will be converted. Such as 一 becomes 珨. This is because when using fcitx in the zh_CN.UTF-8 locale, the character will be encoded as zh_CN.UTF-8. However, because the game itself is Traditional Chinese, the output will be encoded as possibly BIG5. This can be proved by using iconv with the following command,

echo "一" |iconv -f utf8 -t gb18030|iconv -f big5 -t utf8 #results 珨

Therefore, I need to convert this faulty character back to the character I intended. Thus, the iconv can be used to reverse the result by following command,

echo "珨" |iconv -f utf8 -t big5|iconv -f gb18030 -t utf8 #results 一

Because the game does not allow copy-paste, I can only solve this problem programmatically by creating a(n) fcitx module with the iconv. The module is available here.

The fcitx module I created works partially satisfying. It still has a problem which I cannot solve. I am not sure what is the root problem, either iconv, fcitx, WINE, the game itself, or other reason. That is, some of the Chinese characters such as 自 and 何 are not able to be entered and result question marks (?). (This is solved, read UPDATE below.)

Note: In order to use the module, that is to convert the GB18030 to BIG5 (yet still UTF8), because BIG5 is Traditional Chinese, that means we need to enable the “Simplified Chinese To Traditional Chinese” module in fcitx. Then only input the Traditional Chinese characters will work. Such as entering 會 instead of 会. Because BIG5 does not have the character for 会, but 會.

Sangokushi 12 PK Traditional Chinese in WINE problem with zh_CN.UTF-8 locale

Sangokushi 12 PK Traditional Chinese in WINE problem with zh_CN.UTF-8 locale

Because of the question mark problem as mentioned above, I can only give up playing the game with WINE. There is no choice but only to play the game with Windows in the VirtualBox which works fine in the Chinese (Taiwan) locale.

Update (2014-06-18): With the latest version of Wine 1.7.20 and fcitx 4.2.8, after using the module, all the words can be encoded as BIG5.

Cave Story (Doukutsu Monogatari) cheat in Linux

I tried to find some good games in Linux, since there is not much game development in Linux. Recently, I played Cave Story. The drawing is looking old, but the storyline is good, just like an expected Japanese game. And there are 3 different endings.

The game is not easy to play. So, I finally, try to game hack it using GameConqueror. Then, these are the memory address:

81c8614    HP 
81cce84    Polar Star / Spur Lv 
81cce98    Missle Lv 
81ccea4    Missle bullet
81cceac    Fireball Lv 
81ccec0    Bubbler Lv 
81ccecc    Bubbler bullet
81cced4    Blade / Nemesis lv

Unfortunately, GameConqueror cannot save and open the address list.

Still need to follow a game guide so that you will not miss any secret from the game.

KOEI Romance of the Three Kingdoms and the real world

Posted on

I like to play KOEI’s game, especially Romance of the Three Kingdoms (San Goku Shi). It is related to the real world management.

When playing the game, we need to first build a kingdom. Then, the player should found that, if the kingdom has only one character (officer), the kingdom can do nothing, because each character can do only one task (or limited tasks) for each month. Even the character has maximum status values: intelligence 100, war 100, politic 100, charisma 100, though the character is useful, the kingdom itself is useless. Thus, the player needs to recruit more officers to work for the kingdom.

For recruiting the officers, there is a problem. It is difficult to recruit good officer. Because some of the good officer is already work for other kingdom. Simply recruiting any officer also has a problem, especially there are some useless officers. Recruiting these useless officers does not help much in a small kingdom. This is because they cannot work for the kingdom, they cannot contribute anything. Yet, the kingdom need to pay for the officers every month.

To increase the income of a kingdom, the kingdom must have lands, then the officers need to develop the land for economic growth to earn money seasonally; or to develop the land for farming to increase the food supply for every year. Therefore, in order to make a kingdom strong, the kingdom must develop to get the income. Yet, the features of the land is also important, because some of the lands are not fertile. This is exactly same as the real world, that is why some of the country are rich of resources, yet the other not.

One of the feature of San Goku Shi I like is the compatibility value of each character. This is a hidden value, one can only see it with the character editor in Power-up Kit. The value range is from 0 to 149. When the two characters has the compatibility values which are close, they are easily to get together, and 0 is close to 149 as a cycle. So, Cao Cao is 25, Liu Bei is 75, and Sun Quan is 125. Their innate enemies are the value Yuan Shao (almost 100), Dong Zhuo (almost 0), and Liu Biao (almost 50). Therefore, a kingdom will always has a group of people which has similar compatibility value. This is exactly same as the real world, that is why people are normally divided into groups with the similar characteristic.

Therefore, a kingdom, not only needs the lands for the resource, good officers to work, and also the opportunities. They are important factors: 天(时)、地(利)、人(合).  With these factors, the player can build a strong kingdom.