Heartbound: Difference between revisions

m
Reverted edits by Iggberg (talk) to last revision by Djinnet
m (Re-added info. Please do not remove accurate and up-to-date information from this wiki.)
Tag: Reverted
m (Reverted edits by Iggberg (talk) to last revision by Djinnet)
Tag: Rollback
Line 27: Line 27:
* A check for whether the Steam user ID looks correct (some groups set it to values that Steam cannot possibly generate).
* A check for whether the Steam user ID looks correct (some groups set it to values that Steam cannot possibly generate).
* A check for whether the App ID of the running copy of Heartbound is correct.
* A check for whether the App ID of the running copy of Heartbound is correct.
The [https://manual.yoyogames.com/GameMaker_Language/GML_Overview/GML_Overview.htm GML] pseudocode for these checks as of build 13044497 is as follows:
<syntaxhighlight lang="c++" line="1" start="1">
if steam_initialised()
{
    global.pirated_game = 0
    global.steam_achievements = 1
    if steam_is_overlay_enabled()
        global.steam_screenshots = 1
    steam_name = steam_get_persona_name()
    if ((steam_name == "IGGGAMES") || (steam_name == "Goldberg"))
        global.pirated_game = 1
    steam_id = steam_get_user_account_id()
    if ((steam_id == 12345678) || (steam_id == 76561197960287930))
        global.pirated_game = 1
    if ((steam_get_app_id() == 480))
        global.pirated_game = 1
    if file_exists("SteamConfig.ini")
        global.pirated_game = 1
}
</syntaxhighlight>


This DRM method is generally non-intrusive, does not consume additional system resources or install any additional applications. It should continue working correctly as long as Steam exists and the copy of the game is legally purchased from there.
This DRM method is generally non-intrusive, does not consume additional system resources or install any additional applications. It should continue working correctly as long as Steam exists and the copy of the game is legally purchased from there.