The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

XP Accessories Games [solved]

FirstComradeStalinFirstComradeStalin Registered User regular
edited August 2009 in Help / Advice Forum
Not sure if this belongs in G&T, but I was wondering where I could go about getting the stock XP games that normally come with the OS (like Minesweeper, Solitaire, Pinball, etc)

My google-fu has failed me, as all I see are guides to using the Add/Remove Components panel and just clicking on the box (which I've tried, the Games folder simply isn't there)

Picture1-4.png
FirstComradeStalin on

Posts

  • FiggyFiggy Fighter of the night man Champion of the sunRegistered User regular
    edited August 2009
    The games folder may be under "Accessories" if I remember correctly.

    I take it you've read this?

    Figgy on
    XBL : Figment3 · SteamID : Figment
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    Figgy wrote: »
    The games folder may be under "Accessories" if I remember correctly.

    I take it you've read this?

    Yeah, went through the whole tree, Games just isn't there.

    FirstComradeStalin on
    Picture1-4.png
  • FiggyFiggy Fighter of the night man Champion of the sunRegistered User regular
    edited August 2009
    They may be already installed but the shortcuts are gone. Try typing "Sol" (without quotes) into Start>Run and see what happens.

    Figgy on
    XBL : Figment3 · SteamID : Figment
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    Figgy wrote: »
    They may be already installed but the shortcuts are gone. Try typing "Sol" (without quotes) into Start>Run and see what happens.

    Nope, no dice. I'm fairly sure it just isn't on the machine at all.

    Is there any kind of Windows library where I can get these basic items?

    Failing that, are there decent substitutions out there? I'm particularly fond of Minesweeper, but all the online versions I've tried either have terrible controls or go off in some bizzare variation. What I'd like is something that mimics the original as closely as possible.

    FirstComradeStalin on
    Picture1-4.png
  • NoquarNoquar Registered User regular
    edited August 2009
    If you are on XP now. Go to Control Panel - > Add/Remove Programs -> Add/Remove Windows Components

    Then go find your XP CD if you go into Games and it asks for them


    If the games is not listed, let me know and we can restore that.

    Noquar on
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    Noquar wrote: »
    If you are on XP now. Go to Control Panel - > Add/Remove Programs -> Add/Remove Windows Components

    Then go find your XP CD if you go into Games and it asks for them


    If the games is not listed, let me know and we can restore that.

    Games isn't listed, so I guess let's start the restore process.

    FirstComradeStalin on
    Picture1-4.png
  • NoquarNoquar Registered User regular
    edited August 2009
    Noquar wrote: »
    If you are on XP now. Go to Control Panel - > Add/Remove Programs -> Add/Remove Windows Components

    Then go find your XP CD if you go into Games and it asks for them


    If the games is not listed, let me know and we can restore that.

    Games isn't listed, so I guess let's start the restore process.

    alright. So first, let's double-check Add/Remove Components -> Accessories and Utilities. If Games is not listed, off we go!

    Browse to x:\Windows\INF and look for Sysoc.inf

    Open it with notepad and make sure these two lines look like this:

    Games=ocgen.dll,OcEntry,games.inf,,7
    Pinball=ocgen.dll,OcEntry,pinball.inf,7



    Reboot and give it a try again.

    Noquar on
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    Noquar wrote: »
    Noquar wrote: »
    If you are on XP now. Go to Control Panel - > Add/Remove Programs -> Add/Remove Windows Components

    Then go find your XP CD if you go into Games and it asks for them


    If the games is not listed, let me know and we can restore that.

    Games isn't listed, so I guess let's start the restore process.

    alright. So first, let's double-check Add/Remove Components -> Accessories and Utilities. If Games is not listed, off we go!

    Browse to x:\Windows\INF and look for Sysoc.inf

    Open it with notepad and make sure these two lines look like this:

    Games=ocgen.dll,OcEntry,games.inf,,7
    Pinball=ocgen.dll,OcEntry,pinball.inf,7



    Reboot and give it a try again.

    There's no line for Games, Pinball, or any of the other games.

    I got this computer used, so I'm actually pretty sure Games has been completely wiped from the system. Is there any way to get the games from an external source / find a free alternative?

    FirstComradeStalin on
    Picture1-4.png
  • ronyaronya Arrrrrf. the ivory tower's basementRegistered User regular
    edited August 2009
    I think you can edit sysoc.inf to insert those lines. Might look like this.

    ronya on
    aRkpc.gif
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    I think we're almost at it, but when I edit the code and save the file, and then try to Add/Remove Windows Components, I then get an error message:

    Setup was unable to open information file games.inf

    Contact your system administrator. The specific error code is 0x2 at line 0.

    The lines of code I put in were exactly what Noquar suggested, complete with syntax, which is the exact same as ronya's link.

    FirstComradeStalin on
    Picture1-4.png
  • NoquarNoquar Registered User regular
    edited August 2009
    Create a file named games.inf in the inf folder and paste this in.
    ; This is the Setup information file to install optional components
    ; Copyright (c) 1996 Microsoft Corporation


    [version]
    signature="$Windows NT$"
    ClassGUID={00000000-0000-0000-0000-000000000000}
    LayoutFile=layout.inf


    [DestinationDirs]
    FreecellCopyFilesSys = 11 ;LDID_SYSTEM
    FreecellCopyFilesHelp = 18 ;LDID_HELP
    HeartsCopyFilesSys = 11 ;LDID_SYSTEM
    HeartsCopyFilesHelp = 18 ;LDID_HELP
    MinesweeperCopyFilesSys = 11 ;LDID_SYSTEM
    MinesweeperCopyFilesHelp = 18 ;LDID_HELP
    SolitaireCopyFilesSys = 11 ;LDID_SYSTEM
    SolitaireCopyFilesHelp = 18 ;LDID_HELP
    SpiderCopyFilesSys = 11 ;LDID_SYSTEM
    SpiderCopyFilesHelp = 18 ;LDID_HELP


    [Optional Components]
    Games ;Top level option
    Freecell
    Hearts
    Minesweeper
    Solitaire
    Spider


    [Games]
    OptionDesc = %Games_DESC%
    Tip = %Games_TIP%
    IconIndex = 34 ;Windows mini-icon for dialogs
    Parent = AccessUtil
    ProfileItems = OldGamesGroupDelete,NewGamesGroupCreate

    [NewGamesGroupCreate]
    Name = %Games_DESC%,0x00000004
    DisplayResource="%SystemRoot%\system32\shell32.dll",21773


    [Freecell]
    OptionDesc = %Freecell_DESC%
    Tip = %Freecell_TIP%
    IconIndex = 62 ;Windows mini-icon for dialogs
    Parent = Games
    CopyFiles = FreecellCopyFilesSys, FreecellCopyFilesHelp
    ProfileItems = FreecellUninstallItems,FreecellInstallItems,NewGamesGroupCreate
    Uninstall = FreecellUninstall
    Modes = 0,1,2,3
    SizeApproximation =90112


    [OldGamesGroupDelete]
    Name = %Games_DESC%, 0x00000006



    [FreecellUninstall]
    DelFiles = FreecellCopyFilesSys, FreecellCopyFilesHelp
    ProfileItems = FreecellUninstallItems, FreecellUninstallItemsCommon

    [FreecellInstallItems]
    Name = %Freecell_DESC%
    CmdLine = 11,,freecell.exe
    WorkingDir = 11
    Subdir = %Games_GROUP%
    InfoTip = "@%SystemRoot%\system32\shell32.dll,-22542"
    DisplayResource="%SystemRoot%\system32\shell32.dll",22030

    [FreecellUninstallItems]
    Name = %Freecell_DESC%,0x00000003
    Subdir = %Games_GROUP%

    [FreecellUninstallItemsCommon]
    Name = %Freecell_DESC%,0x00000002
    Subdir = %Games_GROUP%




    [Hearts]
    OptionDesc = %Hearts_DESC%
    Tip = %Hearts_TIP%
    IconIndex = 34 ;Windows mini-icon for dialogs
    Parent = Games
    CopyFiles = HeartsCopyFilesSys, HeartsCopyFilesHelp
    ProfileItems = HeartsUninstallItems, HeartsInstallItems,NewGamesGroupCreate
    Uninstall = HeartsUninstall
    Modes = 0,1,2,3
    SizeApproximation =143360

    [HeartsUninstall]
    DelFiles = HeartsCopyFilesSys, HeartsCopyFilesHelp
    ProfileItems = HeartsUninstallItems, HeartsUninstallItemsCommon

    [HeartsInstallItems]
    Name = %Hearts_DESC%
    CmdLine = 11,,mshearts.exe
    WorkingDir = 11
    Subdir = %Games_GROUP%
    InfoTip = "@%SystemRoot%\system32\mshearts.exe,-414"
    DisplayResource="%SystemRoot%\system32\mshearts.exe",413

    [HeartsUninstallItems]
    Name = %Hearts_DESC%,0x00000003
    Subdir = %Games_GROUP%

    [HeartsUninstallItemsCommon]
    Name = %Hearts_DESC%,0x00000002
    Subdir = %Games_GROUP%




    [Minesweeper]
    OptionDesc = %Minesweeper_DESC%
    Tip = %Minesweeper_TIP%
    IconIndex = 63 ;Windows mini-icon for dialogs
    Parent = Games
    CopyFiles = MinesweeperCopyFilesSys, MinesweeperCopyFilesHelp
    ProfileItems = MinesweeperUninstallItems, MinesweeperInstallItems, NewGamesGroupCreate
    Uninstall = MinesweeperUninstall
    Modes = 0,1,2,3
    SizeApproximation =151552

    [MinesweeperUninstall]
    DelFiles = MinesweeperCopyFilesSys, MinesweeperCopyFilesHelp
    ProfileItems = MinesweeperUninstallItems, MinesweeperUninstallItemsCommon

    [MinesweeperInstallItems]
    Name = %Minesweeper_DESC%
    CmdLine = 11,,winmine.exe
    WorkingDir = 11
    Subdir = %Games_GROUP%
    InfoTip = "@%SystemRoot%\system32\shell32.dll,-22557"
    DisplayResource="%SystemRoot%\system32\shell32.dll",22045

    [MinesweeperUninstallItems]
    Name = %Minesweeper_DESC%,0x00000003
    Subdir = %Games_GROUP%

    [MinesweeperUninstallItemsCommon]
    Name = %Minesweeper_DESC%,0x00000002
    Subdir = %Games_GROUP%




    [Solitaire]
    OptionDesc = %Solitaire_DESC%
    Tip = %Solitaire_TIP%
    IconIndex = 34 ;Windows mini-icon for dialogs
    Parent = Games
    CopyFiles = SolitaireCopyFilesSys, SolitaireCopyFilesHelp
    ProfileItems = SolitaireUninstallItems, SolitaireInstallItems, NewGamesGroupCreate
    Uninstall = SolitaireUninstall
    Modes = 0,1,2,3
    SizeApproximation =94208

    [SolitaireUninstall]
    DelFiles = SolitaireCopyFilesSys, SolitaireCopyFilesHelp
    ProfileItems = SolitaireUninstallItems, SolitaireUninstallItemsCommon

    [SolitaireInstallItems]
    Name = %Solitaire_DESC%
    CmdLine = 11,,sol.exe
    WorkingDir = 11
    Subdir = %Games_GROUP%
    InfoTip = "@%SystemRoot%\system32\shell32.dll,-22572"
    DisplayResource="%SystemRoot%\system32\shell32.dll",22060

    [SolitaireUninstallItems]
    Name = %Solitaire_DESC%,0x00000003
    Subdir = %Games_GROUP%

    [SolitaireUninstallItemsCommon]
    Name = %Solitaire_DESC%,0x00000002
    Subdir = %Games_GROUP%





    [Spider]
    OptionDesc = %Spider_DESC%
    Tip = %Spider_TIP%
    IconIndex = 34 ;Windows mini-icon for dialogs
    Parent = Games
    CopyFiles = SpiderCopyFilesSys, SpiderCopyFilesHelp
    ProfileItems = SpiderUninstallItems, SpiderInstallItems, NewGamesGroupCreate
    Uninstall = SpiderUninstall
    Modes = 0,1,2,3
    SizeApproximation =552960

    [SpiderUninstall]
    DelFiles = SpiderCopyFilesSys, SpiderCopyFilesHelp
    ProfileItems = SpiderUninstallItems, SpiderUninstallItemsCommon

    [SpiderInstallItems]
    Name = %Spider_DESC%
    CmdLine = 11,,spider.exe
    WorkingDir = 11
    Subdir = %Games_GROUP%
    InfoTip = "@%SystemRoot%\system32\spider.exe,-57"
    DisplayResource="%SystemRoot%\system32\spider.exe",56

    [SpiderUninstallItems]
    Name = %Spider_DESC%,0x00000003
    Subdir = %Games_GROUP%

    [SpiderUninstallItemsCommon]
    Name = %Spider_DESC%,0x00000002
    Subdir = %Games_GROUP%





    [FreecellCopyFilesSys]
    freecell.exe

    [FreecellCopyFilesSys.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

    [FreecellCopyFilesHelp]
    freecell.chm
    freecell.hlp

    [FreecellCopyFilesHelp.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"



    [HeartsCopyFilesSys]
    mshearts.exe

    [HeartsCopyFilesSys.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

    [HeartsCopyFilesHelp]
    mshearts.chm

    [HeartsCopyFilesHelp.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"



    [MinesweeperCopyFilesSys]
    winmine.exe

    [MinesweeperCopyFilesSys.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

    [MinesweeperCopyFilesHelp]
    winmine.chm
    winmine.hlp

    [MinesweeperCopyFilesHelp.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"



    [SolitaireCopyFilesSys]
    sol.exe

    [SolitaireCopyFilesSys.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

    [SolitaireCopyFilesHelp]
    sol.chm
    sol.hlp

    [SolitaireCopyFilesHelp.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"



    [SpiderCopyFilesSys]
    spider.exe

    [SpiderCopyFilesSys.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

    [SpiderCopyFilesHelp]
    spider.chm

    [SpiderCopyFilesHelp.Security]
    "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
































    [Strings]

    KEY_OPTIONAL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"

    Games_DESC = "Games"
    Games_TIP = "Includes Freecell, Hearts, Minesweeper, Pinball, Solitaire, and Spider Solitaire games."
    Games_GROUP = "Games"

    Freecell_DESC = "Freecell"
    Freecell_TIP = "Logic puzzle in the form of a card game"

    Hearts_DESC = "Hearts"
    Hearts_TIP = "Card game"

    Minesweeper_DESC = "Minesweeper"
    Minesweeper_TIP = "Strategy game"

    Solitaire_DESC = "Solitaire"
    Solitaire_TIP = "Card game"

    Spider_DESC = "Spider Solitaire"
    Spider_TIP = "Card game"

    Noquar on
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited August 2009
    Well done sir

    Thank you, H/A, once again.

    FirstComradeStalin on
    Picture1-4.png
This discussion has been closed.