How to change card backs?

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 283
    Windows 7 X64 Professional
    Thread Starter
       #11

    OK, well, that is indeed where the card backs are stored:
    DATA\SHEETS\HIGHLIGHTSHEET1.JPG
    DATA\SHEETS\HIGHLIGHTSHEET1X21.JPG
    DATA\SHEETS\HIGHLIGHTSHEET1X22.JPG
    DATA\SHEETS\HIGHLIGHTSHEET1X23.JPG
    DATA\SHEETS\HIGHLIGHTSHEET1X24.JPG
    Now what? I have a replacement .jpg but I can't figure out how to get it into the resource and save it there.
      My Computer


  2. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #12

    I think that the images are embedded into the .dll file itself and will be very difficult, if not impossible, to change. Sorry.
      My Computer


  3. Posts : 283
    Windows 7 X64 Professional
    Thread Starter
       #13

    Dwarf said:
    I think that the images are embedded into the .dll file itself and will be very difficult, if not impossible, to change. Sorry.
    Ah, well, that's what I was afraid of. Between the 3 OSs I'm using, I wish I could find one that does it all. Guess that's why I use all 3!

    Thanks for trying to help.
      My Computer


  4. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #14

    Images inside the dll file can be changed using Resource Hacker. I've included the steps to do it.
    Make a backup of the CardGames.dll before making any changes.

    1. Open the CardGames.dll in Resource Hacker 3.5.2 and navigate to SHEETS\HIGHLIGHTSHEET1.JPG. Expand it and Save the resource at 1033
    How to change card backs?-snip-1.png

    2. Make a note of the resource details while saving ([ DATA : SHEETS\HIGHLIGHTSHEET1.JPG : 1033 ])
    How to change card backs?-snip-2.png

    How to change card backs?-snip-3.png

    3. Make what ever changes are needed on the saved file and then Replace the resource. Select the file and then type the details that were noted while saving.
    How to change card backs?-snip-4.png
    How to change card backs?-snip-6.png

    How to change card backs?-snip-7.png

    4. Save the dll file and you're done.
    How to change card backs?-snip-8.png
      My Computer


  5. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #15

    Thanks for the detailed instructions. Will undoubtedly prove useful. :)
      My Computer


  6. Posts : 283
    Windows 7 X64 Professional
    Thread Starter
       #16

    gladson1976 said:
    Images inside the dll file can be changed using Resource Hacker. I've included the steps to do it.
    Thank you, thank you THANK you!

    Couple things to add to your awesome instructions.

    1. I had to take ownership of the original CardGames.dll before I could replace it or change it's name.

    2. I'm going to need to dig a little further into this. It seems that if I enlarge the playing field window, the card backs revert to their original state. Not sure about this. Also, I'm going to need to change the thumbnail image in the selection options so everything is consistent. That seems fairly straight forward.

    Again, thank you so much. This has been something I have wanted to do since way, way back in Windows 98 even. Just found out about ResHacker with Windows 7 though.



    This is what I've managed so far:
    Attached Thumbnails Attached Thumbnails How to change card backs?-cardbackcapture01.jpg  
      My Computer


  7. Posts : 53,364
    Windows 10 Home x64
       #17

    Not that it matters, but I already had/have the latest version, and still that dll won't show on ResHacker. Just a curiosity as I have no reason to open it. A Guy
      My Computer


  8. Posts : 19
    Windows 7 Enterprise RTM x64
       #18

    Have you tried browsing to the file in explorer and copying it to the desktop then editing it? When I tried to open it from the system32 folder it opened with nothing inside. After copying it all the resources showed. On a side note gladson1976was on the right track but there was another two images that still need to be edited. I made the same mistake where my cards reverted back to originals after maximizing the window.

    Files needed to edit...

    Card Deck Thumbnails:

    DATA -> DECKS\CLASSICTHUMB.PNG
    DECKS\CLASSICTHUMB_MCE.PNG
    DECKS\HEARTSTHUMB.PNG
    DECKS\SEASONSTHUMB.PNG

    Game Play Cards:

    DATA -> SHEETS\HIGHLIGHTSHEET1.JPG
    SHEETS\HIGHLIGHTSHEET1X23.JPG
    Attached Thumbnails Attached Thumbnails How to change card backs?-changed_cards.png  
      My Computer


  9. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #19

    fritz said:
    Have you tried browsing to the file in explorer and copying it to the desktop then editing it? When I tried to open it from the system32 folder it opened with nothing inside. After copying it all the resources showed. On a side note gladson1976was on the right track but there was another two images that still need to be edited. I made the same mistake where my cards reverted back to originals after maximizing the window.

    Files needed to edit...

    Card Deck Thumbnails:

    DATA -> DECKS\CLASSICTHUMB.PNG
    DECKS\CLASSICTHUMB_MCE.PNG
    DECKS\HEARTSTHUMB.PNG
    DECKS\SEASONSTHUMB.PNG

    Game Play Cards:

    DATA -> SHEETS\HIGHLIGHTSHEET1.JPG
    SHEETS\HIGHLIGHTSHEET1X23.JPG
    Thanks for the pointer fritz. I hadn't tried it out myself, was just telling them how to replace resources in dll files. Good work. Repped.

    On a side note, almost any resource can be replaced inside any dll file by this method.
      My Computer


  10. Posts : 53,364
    Windows 10 Home x64
       #20

    fritz said:
    Have you tried browsing to the file in explorer and copying it to the desktop then editing it? When I tried to open it from the system32 folder it opened with nothing inside. After copying it all the resources showed.
    No, I didn't bother as it isn't important. It's just odd that it won't show in System32

    A Guy
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Š Designer Media Ltd
All times are GMT -5. The time now is 03:55.
Find Us