How to Edit an xml file


G

Gene E. Bloch

Ahem, didn't we collectively discuss this very same topic a few months ago
in this group? I clearly remember pointing out that the actual xml resides
at the end of the file. Oh well, I guess if it's worth discovering, it's
worth discovering again. ;-)
I don't recall the earlier discussion, but I have to agree with your
last remark anyway.

Now if only my friends would agree that a story worth telling once is
worth telling twice...or thrice...or...
 
Ad

Advertisements

G

Gene E. Bloch

Sometimes, when I need extra super security, I use *DOUBLE* ROT13! The
average person never even notices.
A while back there was someone on some newsgroup (I forget who & which)
whose sig file was "Contents protected by double ROT13". I loved it...

But of course, I happen to have the app to decrypt it.
 
M

mechanic

A while back there was someone on some newsgroup (I forget who &
which) whose sig file was "Contents protected by double ROT13". I
loved it..
Isn't that a simple rotation still? Part of a 'ring' of operations
or somesuch (rusty algebra). No serious crypto at all.
 
J

John Williamson

mechanic said:
Isn't that a simple rotation still? Part of a 'ring' of operations
or somesuch (rusty algebra). No serious crypto at all.
Saying you've used "Double ROT13" or "I ROT13ed it twice" is a joke?

ROTting twice just outputs the plaintext.

FYI, ROT13 isn't intended as crypto except for things like plot spoilers.
 
K

Ken Blake

Isn't that a simple rotation still? Part of a 'ring' of operations
or somesuch (rusty algebra). No serious crypto at all.

I'm afraid that you missed his joke. Double ROT13 returns the text to
what it started with, so there is no change and no protection at all.
<g>
 
M

mechanic

I'm afraid that you missed his joke. Double ROT13 returns the text to
what it started with, so there is no change and no protection at all.
<g>
Ooops - I was thinking of the general case and forgot the specifics
of ROT13.
 
G

Gene E. Bloch

Ooops - I was thinking of the general case and forgot the specifics
of ROT13.
Well, if you don't mind too much, we had a bit of fun with your
response.

And as you well know, every one of us has done worse somewhere along the
line :)
 
Ad

Advertisements

fox

Joined
Dec 26, 2016
Messages
1
Reaction score
0
I have been playing Win 7, Free Cell for months. I always intended to
retry a given game until I won. On game 2710, I inadvertently accepted
my First Loss.

I now know that my Free Cell stats are stored in an xml file. How
might I edit that file, to edit (delete) that one lose.

While surely minor, compared to many the REAL problems discussed here,
I am most annoyed at myself. I sure would appreciate any/all advice on
how to edit that file.

dave
I found a way to edit the results of the Windows7 FreeCell statistics file for cases where the number of digits in the number of games does not change. For example, you can change 1 to 9, or 100 to 750, but not 1 to 750. Increasing the number of digits will result in the FreeCell program resetting your scores to 0, even if you add a NUL character (hex 00) after the digit. (Decreasing may be okay if you delete a digit and the following NUL character, but I did not test this.) I used the following steps.
Reset scores.
Win first game.
Edit some of the fields at the end of the file “FreeCellSettings.xml” (found at C:\Users\_your computer’s name_\AppData\Local\Microsoft Games\FreeCell) with a HEX editor.
Change the “1” to “9” in the <GamesPlayed>1</GamesPlayed>, <GamesWon>1</GamesWon>, <MaxWinStreakLength>1</MaxWinStreakLength>, and <CurrStreakLength>1</CurrStreakLength> fields, and make verify the other two nearby fields say <MaxLoseStreakLength>0</MaxLoseStreakLength> and <WonlastGame>true</WonlastGame>. Be careful to leave the NUL characters intact.
Win second game. Stats now show 10 games won.
Edit the file “FreeCellSettings.xml” again, changing the “10”s to “99”.
Win third game. Stats now show 100 games won.
Do this as much as you like. Perhaps there is a limit, I did not bother to find it. Perhaps someone with more time and curiosity will find it and let us know.
Note, immediately after an edit of the file “FreeCellSettings.xml”, the stats will not be correct in the “Games” explorer screen. Opening and closing FreeCell will update these stats in the Explorer window.
The attached file shows the edit from 100 to 366.
 

Attachments


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top