Most active commenters

    ←back to thread

    1371 points yett | 15 comments | | HN request time: 0.001s | source | bottom
    Show context
    db48x ◴[] No.43772686[source]
    [flagged]
    replies(8): >>43772700 #>>43772801 #>>43772908 #>>43773054 #>>43773261 #>>43774132 #>>43774982 #>>43777757 #
    trinix912 ◴[] No.43773261[source]
    Putting the (very valid) reasons for not having human-readable game saves aside, are you sure it's worse than using a 3rd party library that's built to accept semi-valid input values, possibly evaluates user input in some way and has difficult to debug bugs that occur only under certain inputs? I agree that writing a stable and safe parser for a binary data file isn't easy, but there's less things that can go wrong when you can hardcode it to reject any remotely suspicious input. Third party XML/JSON libraries OTOH try to interpret as much as possible, even when the values are bogus. Also no need to deal with different text encoding bugs, line endings...
    replies(2): >>43773307 #>>43773413 #
    1. hattar ◴[] No.43773307[source]
    > Putting the (very valid) reasons for not having human-readable game saves aside,

    I don't follow. What would the reasons be?

    replies(4): >>43773397 #>>43773436 #>>43773439 #>>43773462 #
    2. gsinclair ◴[] No.43773397[source]
    A human-readable game save file is presumably human-editable.
    replies(3): >>43773604 #>>43773642 #>>43773899 #
    3. trinix912 ◴[] No.43773436[source]
    Mostly to prevent people and programs from editing them, obfuscating implementation details, reducing file sizes (say had they used XML vs. binary)...
    4. egypturnash ◴[] No.43773439[source]
    Higher barrier to cheating.
    replies(2): >>43773498 #>>43775340 #
    5. ◴[] No.43773462[source]
    6. hattar ◴[] No.43773498[source]
    It's a single player game. Cheat codes are built into it by design.
    7. kadoban ◴[] No.43773604[source]
    Require a hash in the file to match the rest of the file if you want to avoid effortless changes to the file.

    (There is no way to prevent changes by a knowledgeable person with time or tools, so that's not a goal)

    8. RHSeeger ◴[] No.43773642[source]
    Most binary save game files are human editable, too; unless they go through a separate encoding stage.
    replies(1): >>43775181 #
    9. mrguyorama ◴[] No.43773899[source]
    Before game companies earned all their profit through selling cosmetics and premium currency nobody cared if you cheated at your single player game and nobody SHOULD care if you want to give yourself extra money.

    It's only now that single player progress is profitable to sell that video games have taken save game encryption to be default.

    It's so stupid.

    replies(1): >>43774385 #
    10. keyringlight ◴[] No.43774385{3}[source]
    The trouble is that if some weirdness happens because of the edit, you've got to handle it even if you say it would be reasonable to assume that it's outside of being supported. Maybe you spend a bit more time defensive coding around what inputs it reads from the file, maybe a certain proportion of users doing the save edit see bugs in an apparently unrelated part of the game and seek support (and their bug report might not be complete with all the details), developers spend time to chase down what went wrong, maybe they bad-mouth it on forums which affects sales - there's going to be some cost to handling all of that.

    One of the anecdotes from Titan Quest developed by Iron Lore is that their copy protection had multiple checks, crackers removed the early checks to get the game running but later 'tripwires' as you progress through the game remained and the game appeared to crash. So the game earned a reputation for being buggy for something no normal user would hit running the game as intended.

    replies(1): >>43774995 #
    11. mrguyorama ◴[] No.43774995{4}[source]
    >The trouble is that if some weirdness happens because of the edit, you've got to handle it even if you say it would be reasonable to assume that it's outside of being supported.

    What? No. What even are you suggesting? Hell, games with OFFICIAL MODDING SUPPORT still require you submit bug reports with no mods running.

    Editing game files has always been "you are on your own", even editing standard Unreal config files is something you wont get support for, and they are trivial human readable files with well known standards.

    >One of the anecdotes from Titan Quest

    Any actual support for this anecdote? Lots of games have anti-piracy features that sneakily cause problems, and even could fire accidentally. None of those games get a reputation for being buggy. Games like Earthbound would make the game super hard and even delete your save game at the very end. Batman games would nerf your gliding ability. Game Dev Tycoon would kill your business due to piracy.

    None of these affected the broad reputation of the game. Most of them are pretty good marketing in fact.

    replies(1): >>43776548 #
    12. hermitdev ◴[] No.43775181{3}[source]
    Editting simcity saves was my introduction to hex editing...
    replies(1): >>43784537 #
    13. RGamma ◴[] No.43775340[source]
    HESOYAM
    14. dwattttt ◴[] No.43776548{5}[source]
    Game Dev Tycoon even later added Pirate Mode to the game, for people who wanted to experience super-hard-mode. Complete with random mail they got telling them why people pirated their game, framed as why people were pirating the game you just made.
    15. RHSeeger ◴[] No.43784537{4}[source]
    For me, iirc, it was Bard's Tale