|
Download
Filename: detect_f2p_n_lang.zip
Filesize: 125.78KB
Not enough votes.
Log in to rate
May 23 2019, 2:09 am |
Arta(M) |
Artanis[M] |
170 |
basemap.scx detect_f2p_and_language.scx main.edd main.eps
|
Source code and output map are uploaded.
The width of two or more whitespaces differs from language to language in SC:R, and whether user purchase SC: R or not.
The width of whitespaces in Unpurchased, English SC, has largest width. DisplayText will break line with at least 124 whitespaces. In Purchased, Korean SC, DisplayText with 171 whitespaces will break line. The width of whitespaces is same in Purchased, English and Unpurchased, Korean SC. DisplayText with 206 whitespaces will break line.
We can measure the number of lines in last DisplayText, by calculating difference of 0x640B58. Although Purchased, English and F2P, Korean SC have same whitespace width, we can distinguish them by whether screen width exceeds 640 pixels or not.
|
|