Quote:
Originally Posted by fozzy71
.bat files will make your life much easier.
Fozzy is 100% right. I used to dread "updates" because of all the hassle of restoring files I had modded. Now, it takes less than 5 secs and it's all done.
Here's a typical example of a simple batch file I made, with rem statements so I can change them in the future [rem statements will help you remember six months later when you need to figure out what the files do]. Do the same for your modded files, as Fozzy mention in his post. I just created a directory on my g: drive (external) and store all the mod files there. I named the batch file "PSrestore.bat" and keep it in the same directory as all the mod files.
====Start of batch file====
REM This batch file is to restore custom bmp files once PokerStars does an update
REM copies bright deck backs
xcopy g:\pokerrestore\back.bmp "c:\program files\pokerstars\gx\chips&deck\deck\simple\back.bm p"
REM copies yellow frame around player's seat when action is at that player
xcopy g:\pokerrestore\seat.bmp "c:\Program Files\PokerStars\Themes\simple\label\seat.bmp"
xcopy g:\pokerrestore\seat.a.bmp "c:\Program Files\PokerStars\Themes\simple\label\seat.a.bmp"
REM copy black border around player's name and bankroll
xcopy g:\pokerrestore\border.bmp "c:\Program Files\PokerStars\Themes\simple\label\border.bmp"
xcopy g:\pokerrestore\border.a.bmp "c:\Program Files\PokerStars\Themes\simple\label\border.a.bmp"
xcopy g:\pokerrestore\borderb.a.bmp "c:\Program Files\PokerStars\Themes\simple\label\borderb.a.bmp "
xcopy g:\pokerrestore\borderb.bmp "c:\Program Files\PokerStars\Themes\simple\label\borderb.bmp"
REM copy larger yellow dealer button
xcopy g:\pokerrestore\chip-d.bmp "c:\Program Files\PokerStars\Gx\chips&deck\chips\3\chip-d.bmp"
xcopy g:\pokerrestore\chip-d.a.bmp "c:\Program Files\PokerStars\Gx\chips&deck\chips\3\chip-d.a.bmp"
REM copies 3 files to change "n" [note box] to colored frame around player for rating players
xcopy g:\pokerrestore\note.bmp "c:\Program Files\PokerStars\Gx\label\note.bmp"
xcopy g:\pokerrestore\note.a.bmp "c:\Program Files\PokerStars\Gx\label\note.a.bmp"
xcopy g:\pokerrestore\note-base.bmp "c:\Program Files\PokerStars\Gx\label\note-base.bmp" /w
exit
====End of Batch file====
The lines with "====" are not part of the batch file.
Dog
Last edited by 1meandog4u; 04-06-2010 at 02:02 AM.