Windows 7 game of hearts

G

Gordon Shumway

Can someone please tell me where the data file for this game is?
 
A

Auric__

Gordon said:
Can someone please tell me where the data file for this game is?
Depends on what you mean by "data file".

If you mean the data for the game itself, it's stored in the executable file
and associated .mui file, located in %ProgramFiles%\Microsoft Games\Hearts.

If you mean the game's settings, they're stored in %UserProfile%\AppData
\Local\Microsoft Games\Hearts.

If you mean where games get saved, that's %UserProfile%\Saved Games\Microsoft
Games\Hearts.

(%UserProfile% is typically C:\users\USERNAME.)

If you mean *anything else*, you'll need to clarify.
 
G

Gordon Shumway

Depends on what you mean by "data file".

If you mean the data for the game itself, it's stored in the executable file
and associated .mui file, located in %ProgramFiles%\Microsoft Games\Hearts.

If you mean the game's settings, they're stored in %UserProfile%\AppData
\Local\Microsoft Games\Hearts.

If you mean where games get saved, that's %UserProfile%\Saved Games\Microsoft
Games\Hearts.

(%UserProfile% is typically C:\users\USERNAME.)

If you mean *anything else*, you'll need to clarify.
I apologize for not being more specific. By "data" I meant the scores
for, and the win percentage of, the games played.

Thank you
 
A

Auric__

Gordon said:
I apologize for not being more specific. By "data" I meant the scores
for, and the win percentage of, the games played.
I don't know, but I'd guess the registry. Probably under HKCU\Software, but
I'd have to search.
 
D

Dave-UK

Gordon Shumway said:
I apologize for not being more specific. By "data" I meant the scores
for, and the win percentage of, the games played.

Thank you
I think it's here:
C:\Users\Your Account Name\AppData\Local\Microsoft Games\Hearts\HeartsSettings.xml
but how you read/edit the file I don't know.
 
C

Char Jackson

I think it's here:
C:\Users\Your Account Name\AppData\Local\Microsoft Games\Hearts\HeartsSettings.xml
but how you read/edit the file I don't know.
Any text editor should be fine for reading xml files. If the Hearts file is
like the ones for Mahjong and Spider, there may be a blob of data (looks
like a PNG image) toward the beginning of the file, but it'll be followed by
a bunch of regular old xml tags after that.
 
D

Dave-UK

Char Jackson said:
Any text editor should be fine for reading xml files. If the Hearts file is
like the ones for Mahjong and Spider, there may be a blob of data (looks
like a PNG image) toward the beginning of the file, but it'll be followed by
a bunch of regular old xml tags after that.
HeartsSettings.xml isn't a regular xml file on my machine.
 
C

Char Jackson

HeartsSettings.xml isn't a regular xml file on my machine.
I just meant that if you skip past that blob of binary-looking data at the
beginning of the file, you get something that looks more xml-ish, like this:

<Root>
<Stats>
<Version>1</Version>
<Score>0</Score>
<Score>0</Score>
<Score>0</Score>
<Score>0</Score>
<Score>0</Score>
<Date>0</Date>
<Date>0</Date>
<Date>0</Date>
<Date>0</Date>
<Date>0</Date>
<GamesPlayed>1</GamesPlayed>
<GamesWon>0</GamesWon>
<MaxWinStreakLength>0</MaxWinStreakLength>
<MaxLoseStreakLength>1</MaxLoseStreakLength>
<CurrStreakLength>1</CurrStreakLength>
<WonlastGame>false</WonlastGame>
</Stats>
<Options>
<Version>2</Version>
<RandomAppearance>false</RandomAppearance>
<AutoContinue>false</AutoContinue>
<PlaySounds>true</PlaySounds>
<PlayAnimations>true</PlayAnimations>
<ShowTips>true</ShowTips>
<FirstPlay>false</FirstPlay>
<AutoSaveGameOnExit>false</AutoSaveGameOnExit>
<CurrentDeck>Seasons Deck</CurrentDeck>
<CurrentBackground>Classic Felt</CurrentBackground>
<ComputerPlayerName>West</ComputerPlayerName>
<ComputerPlayerName>North</ComputerPlayerName>
<ComputerPlayerName>East</ComputerPlayerName>
</Options>
</Root>
 

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