Forums

ForumsProgramming Forum

Can You Decode This Save File?

Posted Apr 11, '12 at 9:43pm

abarrow

abarrow

22 posts

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.
 

Posted Apr 12, '12 at 5:16pm

PixelSmash

PixelSmash

579 posts

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 )

 

Posted Apr 13, '12 at 5:16pm

pirateplatypusgames

pirateplatypusgames

40 posts

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.

 

Posted Jun 2, '12 at 9:00pm

Annihalation

Annihalation

491 posts

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

 
Reply to Can You Decode This Save File?

You must be logged in to post a reply!