ForumsProgramming ForumCan You Decode This Save File?

3 8727
abarrow
offline
abarrow
22 posts
Nomad

In my experience developing flash games saving progress has always been an issue. Local shared objects as well as other cookie systems are disabled by many users and relying on a hard codded external server is problematic.

So I decided to try something else. A game I'm working on supports the use of local shared objects as well as save game codes to store progress. At first I used human readable text for save game codes, but this would lead to players editing basic values such the furthest level they've unlocked. So I devised a simple encoding scheme for these save codes.

So to test whether or not my encoding scheme is sufficiently advanced. I have asked you to try to crack the code.

{s
t3i5g3 ,a,o,e,i.
,u,t,e
ri,huctre r0,0u
teeer ,9uattevrt,duetaedr ,aust,ears,,uatse,ra,su,taesr,,aust,ears,,uatse,ra,su,treert,uu,taesr,,aust,ears,,uatse,rr,euttue,rr,euftleerf,luetfelre,fultedfvleecr
wurtee rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttue,rr,euttud,draeea
hsiae, srae,tsua,,rseat,us,ar,euttue,rr,euttue,lrfeetluf,erlefteul,freert,uu,treeltfue,lrfeetluf,erlefteul,freeltfue,lrfeetluf,erleftsur,wrreetaui,cr
e1tluv,lr0e0t1ue,orsegtHu,,1r0e8t1m1t1t1l31s0n3t1e}


All white spaced is used. The braces are merely used to represent the start and end of the code and have no use in the encoding scheme. The code translates to a human readable save file.
  • 3 Replies
PixelSmash
offline
PixelSmash
566 posts
Nomad

I have to say, I'm not much of a decoder myself. Seeing this would probably stop me from editing - if I did at all, since it usually takes away the fun

But if I really wanted to crack it, I'd compare two or more versions to eachother. That way the changing values become apparent, and the code you used is much easier to crack.

(to counter this, I suppose you could rotate the values as in use the first encoded entry to specify where each values resides, or you could write multiple encodings, or a combination. Just saying... There's an almost unlimited amount of time you can spend at creating better encrypted savefiles )

pirateplatypusgames
offline
pirateplatypusgames
37 posts
Nomad

I'm also not much for breaking codes. But if I were playing the game and could get a few of the save codes after changing things in game I could probably figure it out. That being said, I think your encryption is just fine. Unless players stand to either make money of winning your game, or access sponsor-site only items from a version that isn't hosted on the sponsor's site you don't need to worry about it. By setting up the encryption you have you're stopping those who either don't know how to decode it or don't care to try. You could waste an infinite amount of time trying to hack-proof the save codes and chances are someone's going to figure it out eventually. So at this point I'd think you're better off investing your time in further developing the game.

Annihalation
offline
Annihalation
479 posts
Nomad

I agree with pirateplatypusgames, the idea is to generally follow a logic curve (so your effort eventually becomes futile)

Generally most people aren't computer savvy enough to even know where their saved games are. You should be fine with your encryption.

Nice work on the encryption, btw

Showing 1-3 of 3