Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to change card backs?

02 Sep 2010   #11
bug67

Windows 7 X64 Professional
 
 

OK, well, that is indeed where the card backs are stored:
Quote:
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 System SpecsSystem Spec
.
02 Sep 2010   #12
Dwarf

Windows 8.1 Pro RTM x64
 
 

I think that the images are embedded into the .dll file itself and will be very difficult, if not impossible, to change. Sorry.
My System SpecsSystem Spec
02 Sep 2010   #13
bug67

Windows 7 X64 Professional
 
 

Quote   Quote: Originally Posted by Dwarf View Post
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 System SpecsSystem Spec
.

02 Sep 2010   #14
gladson1976

Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
 
 

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 System SpecsSystem Spec
02 Sep 2010   #15
Dwarf

Windows 8.1 Pro RTM x64
 
 

Thanks for the detailed instructions. Will undoubtedly prove useful.
My System SpecsSystem Spec
02 Sep 2010   #16
bug67

Windows 7 X64 Professional
 
 

Quote   Quote: Originally Posted by gladson1976 View Post
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
How to change card backs?-cardbackcapture01.jpg  
My System SpecsSystem Spec
02 Sep 2010   #17
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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 System SpecsSystem Spec
02 Sep 2010   #18
fritz

Windows 7 Enterprise RTM x64
 
 

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
How to change card backs?-changed_cards.png  
My System SpecsSystem Spec
03 Sep 2010   #19
gladson1976

Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
 
 

Quote   Quote: Originally Posted by fritz View Post
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 System SpecsSystem Spec
03 Sep 2010   #20
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Quote   Quote: Originally Posted by fritz View Post
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 System SpecsSystem Spec
Reply

 How to change card backs?




Thread Tools




Similar help and support threads
Thread Forum
Microsoft backs Windows 7 PC deal for Brits on benefits
Read more at: Microsoft backs Windows 7 PC deal for Brits on benefits | ZDNet
News
Cannot change graphic card
Hi, I have a samsung 3 series notebook. I have got a nvidia gt520 graphic card but i don't know how but it stopped working and the intel hd is currently in use with which i cannot play games. when i went to device manager and updated the 3D video controller. It told that NVIDIA GEFORCE graphic...
Graphic Cards
Can you change a laptop video card/graphic card?
Can you change a laptop video card/graphic card? I looked in a shop and they said "a laptop graphic card can not be changed." Can a laptop graphic card be changed?? (Nvidia geforce go 6150) Please help
Drivers
Microsoft backs long life for IE6
more
News
Change of graphic card
:huh: Hi. I know that to change the Graphics Card, we have to remove(uninstall) the previous drivers, replace the Card, and re-install the new drivers. My (silly) question is: If I replace a Nvidia GeForce 8800GTX with a GeForce GTX285, using the same drivers, do I need to follow the...
Drivers
Microsoft's Ozzie airs cloud views, backs Windows-based
Microsoft's Ozzie airs cloud views, backs Windows-based netbooks For those of you who oppose Cloud Computing, look out. ~Lordbob http://www.infoworld.com/d/mobilize/update-microsoft-launches-windows-azure-cloud-639
News


Our Sites

Site Links

About Us

Find 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 07:36.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App