Heartbound: Difference between revisions

The anti-piracy system section has been reviewed and removed by wiki moderators for security concerns.
m (Reverted edits by Iggberg (talk) to last revision by Djinnet)
Tag: Rollback
(The anti-piracy system section has been reviewed and removed by wiki moderators for security concerns.)
Line 18: Line 18:
The game will save every meaningful action a player takes into its save file. The game stores this save data in a simple [[wikipedia:Array_(data_structure)|array]], a contigious memory region where one value directly follows the one before. This array is written out, one value per line, into <code>%LOCALAPPDATA%\Heartbound\heartbound_saveX.thor</code>, where X is an internal number representing the version of the save file (it changes when updates that break save compatibility are released). The file may be tweaked using the [https://github.com/tbpaolini/Heartbound-Save-Editor Heartbound save editor], or edited manually by hand, assuming you are aware of which line number corresponds to which value.
The game will save every meaningful action a player takes into its save file. The game stores this save data in a simple [[wikipedia:Array_(data_structure)|array]], a contigious memory region where one value directly follows the one before. This array is written out, one value per line, into <code>%LOCALAPPDATA%\Heartbound\heartbound_saveX.thor</code>, where X is an internal number representing the version of the save file (it changes when updates that break save compatibility are released). The file may be tweaked using the [https://github.com/tbpaolini/Heartbound-Save-Editor Heartbound save editor], or edited manually by hand, assuming you are aware of which line number corresponds to which value.


== Anti-piracy system ==
The game implements a custom DRM mechanism, performing several piracy checks whenever it starts up. If any of these checks fires, the game will then set up a "trap" for the player, wherein any interaction with an in-game object or character may trigger an anti-piracy message, telling the player to contact Thor and replacing all in-game music and sound effects with horrible noises. The chance of the message triggering is random, but it grows with every interaction. Once triggered, the chance is fixed to 100%. In other words, ''every'' interaction will trigger the message if it has been triggered even once. It will generally be impossible to progress past the first chapter of the game without triggering the message on a pirated copy.
While the full extent of the anti-piracy checks is not known, [[Thor]] has revealed some of the more simple ones publicly. These include:
* A check for whether the Steam client is initialized.
* A check for whether the Steam profile name matches the name of any known piracy groups.
* 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.
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.
Unlike the usual case where DRM is implemented out of greed, [[Thor]] has implemented these checks out of security concerns: the game is popular with younger people who may not be fully aware of the dangers of software piracy and often end up with malware on their systems when they pirate games. It is therefore advisable to message [[Thor]] over [mailto:[email protected] e-mail] or [https://discord.gg/piratesoftware Discord] if you encounter this message, as he is willing to assist people with removing potential malware from their system.
Under some circumstances, Thor may be able to grant users a free legal copy of Heartbound, if the user describes their life situation and explains why they cannot afford to purchase the game. Note that, however, this offer does not extend to people residing in countries that are sanctioned by the United States, as it would be illegal for Thor to assist them.


== Links ==
== Links ==