Patrefans
Naughty Road from patreon
Naughty Road patreon

We need to talk about save game practices.

🕑 Added 2023-08-06 08:31:49 +0000 UTC

Comments

Silent Observer

The amount of what seems like "just data" that includes code these days is staggering. I learned to avoid wantonly swapping floppy disks back when they were still a standard data exchange medium (hint: I was using DOS 3.31 at the time), and if files you received had extensions for known document formats (.doc, .xls, .jpg, etc.) they were safe (this was before long file names allowed spoofing past this stuff). These days, even a simple text file can carry a payload, it seems, and anything with any "life" to it surely can.

Naughty Road

tacking the response below so more people can see.

Naughty Road

In reply to @Yodasheep, to give it a bit more visibility here: "Interesting, never heard of that one either. Do you have an idea what's the purpose of this feature in renpy? I really can't think of a scenario where I would need to run code from a savegame. I mean a save isn't a mod and shouldn't be able to change anything in the game." I think it was just chosen as a really convenient way to save a complete game state including all instantiated classes and running logic. The process is documented here (https://docs.python.org/3/library/pickle.html) , and it's really quite powerful. It means that you can do pretty complex stuff in your game, and your save will just work without additional effort from you as a dev. That's a plus, as many devs are not experienced software developers (or in fact software developers at all), and would be hard pressed to write serialization/deserializations for their ren'py games, apart from the extra work involved in coding, and testing, and supporting inevitable issues. The downside is that if you go and swap those save files over on the internet, you're really opening yourself up to malicious content, and none but a very few with specific knowledge of the process involved will understand how dangerous this actually is. Even people very aware of safe browsing practices and security will be blindsided by this.

Yodasheep

Interesting, never heard of that one either. Do you have an idea what's the purpose of this feature in renpy? I really can't think of a scenario where I would need to run code from a savegame. I mean a save isn't a mod and shouldn't be able to change anything in the game.

Naughty Road

Yeah, agree. I *guess* the thinking was that those would never leave the device of the user, and when they thought it up they never envisioned people would be sharing saves. The biggest problem there really is that it completely blindsides people. You'd think I was crazy if I sent you a dll and told you to plug that into your software, but a save file sounds like it should be data so no harm. It's not entirely unheard of btw, the Twilight Hack to create a homebrew Wii's been around and that used a doctored save to execute code. It's just that in that case, the closed format of the Wii mitigates the risk there significantly, but stuff like that does happen.

j b

very soon as in a few days? or is that wishful thinking?

Yodasheep

It's still a security flaw from renpy's side. Savegames simply shouldn't contain code. I don't understand who thought this was a good idea especially because most people probably never heard of it.

Trucokiki

I will start a new game to come back and enjoy it from start to finish :D

William Elliott

in other words, its only a security flaw if you do something stupid. Like leaving the keys in your car and the doors unlocked in a bad neighborhood...

Sin Art

Well, needs to say, your game is maybe the only one, where i stay for the story and the characters. And for most all other games: hit the skip button :)

Happyninja42

Glad I don't do that then.

Naughty Road

Remember, it's not a security flaw as long as you don't get any save files from unknown sources.

darlic

Wow, I didn't know about this massive security flaw in renpy's saving system. This is both hilarious and terrifying at the same time

Trucokiki

Will it be released next week? oh god that's right, give us joy xD

Noir

I like 2 play my own saves, but i didn't know it is that bad to get them from others. Much appreciated. Thx =)

TotesNotThea

That video is excellent! I've shared it far and wide.

Atixes

That aside, if you really lost your save file don't waste your time asking just skip through the game. You likely will get there faster than if you wait for someone else.

Atixes

To those people who ask for save files on Naughty's Discord server. Rule 7: Don't post or solicit save files, they are an unsafe file format that can execute arbitrary code on your device.

Marcus

Good as gold now.

Marcus

Edit - Nevermind, you answered this while I was typing.

Naughty Road

Sorry about the weird Subscribestar gate in those links. Copy paste error, should work normally now.


More Creators