i want to change the bitamps of cards that are in the cards.dll file, how can i do it?
can i do it with visual studio?
change cards.dll
Page 1 of 18 Replies - 4366 Views - Last Post: 10 January 2008 - 01:27 AM
Replies To: change cards.dll
#2
Re: change cards.dll
Posted 01 November 2007 - 01:01 PM
Do you mean change the backs of the cards? Because there are like 16 different possible card backs. If you mean replace the entire image with one of yours, since its a compiled DLL you don't have access to the code to do that.
#3
Re: change cards.dll
Posted 01 November 2007 - 01:21 PM
PsychoCoder, on 1 Nov, 2007 - 01:01 PM, said:
Do you mean change the backs of the cards? Because there are like 16 different possible card backs. If you mean replace the entire image with one of yours, since its a compiled DLL you don't have access to the code to do that.
yes, i want to cahnge the imgae of the cards. insted of a reguler 4 diamonds i want for example to put 4 cars or some image in my computer.
you sure i cant cahnge the pictures?
#4
Re: change cards.dll
Posted 01 November 2007 - 01:30 PM
I do believe the only way you could do that would be to get your hands on the source for the DLL, and Microsoft just doesn't make that stuff available. Ive done some reading on this and from everything Ive found, you cannot directly access the bitmaps of the cards in the DLL file, so I don't see how you could change them.
#5
Re: change cards.dll
Posted 01 November 2007 - 01:34 PM
PsychoCoder, on 1 Nov, 2007 - 01:30 PM, said:
I do believe the only way you could do that would be to get your hands on the source for the DLL, and Microsoft just doesn't make that stuff available. Ive done some reading on this and from everything Ive found, you cannot directly access the bitmaps of the cards in the DLL file, so I don't see how you could change them.
=/ ok. i will find anther way to build my game.
tnx for your help =).
This post has been edited by boink: 01 November 2007 - 01:38 PM
#6
Re: change cards.dll
Posted 02 November 2007 - 08:02 AM
someone should yell at microsoft "it is just solitaire damn it ".ha ha
#7
Re: change cards.dll
Posted 04 November 2007 - 12:58 PM
ok i changed the pictures of cards.
but now i have anther problem..
how can i change thier (cards) size?
but now i have anther problem..
how can i change thier (cards) size?
#8
Re: change cards.dll
Posted 08 January 2008 - 09:31 AM
Hey boink, how did you change the pictures?
#9
Re: change cards.dll
Posted 10 January 2008 - 01:27 AM
Quote
Ive done some reading on this and from everything Ive found, you cannot directly access the bitmaps of the cards in the DLL file, so I don't see how you could change them.
Of course you can change them.
The Bitmaps are simply resources placed in a DLL File.
Since DLL files follow the PE Format, any Resource Editor can be used to view,extract and even modify the images.
I use ResourceHacker to modify preexisting resources. I've attached a screenshot to make it clear.
Be careful though, backup the original copy of cards.dll
And if you're planning on releasing it to end-users, remember that they will not notice the difference.
cards.dll is a part of Windows, which means everyone has the same set of the original Bitmap files.
You will have to replace the cards.dll on every machine.
You could however use your own set of card sets instead of the ones cards.dll provides.
Extract all the Cards using a Resource Editor and modify the images to suit your style.
Once you've made the changes, use these images instead.
I'd recommend the use of this method as it doesn't involve anything that changes Windows DLL files.
Here's the Screenshot.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|