Staredit Network > Starcraft I Database > File: Detect F2P and language

Sunken Treasure
Detect F2P and language
Filesize: 125.78KB


Not enough votes.
Log in to rate

File Information
Uploaded on:May 23 2019, 2:09 am
Uploaded by:Arta(M)

File Contents
File Description
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.

All Images

No comments yet.
[05:57 am]
Suicidal Insanity -- Pretty sure if you look at the trigger struct definition in the EUD talk you will see the real count :P
[03:53 am]
jjf28 -- so at least 22 bytes are definitely owners**
[03:17 am]
jjf28 -- rest of trigger owners are essentially 3rd party inventions
[03:16 am]
jjf28 -- p1-8, force1-4, all players
[03:16 am]
jjf28 -- o u rite
[03:07 am]
O)FaRTy1billion[MM] -- triggers can be owned by more than just the first 8 though
[02:41 am]
jjf28 -- in the list of groups I just call it "Id27"
[02:39 am]
jjf28 -- Suicidal Insanity
Suicidal Insanity shouted: I think its 27 and padding
Wormer shouted: or the guide ( is wrong there and it should be u8[27] ?
you may as well say it's 8bytes + padding
[02:38 am]
jjf28 -- these flags?
[09:32 pm]
O)FaRTy1billion[MM] -- iirc the last byte in the TRIG is for more flags or something
Please log in to shout.

Members Online: Rawflesh0615, Roy, Neiv