Python Resource Editor 30.05.08
There is a python script that will modify windows PE executables (http://code.google.com/p/pefile/wiki/UsageExamples)
I need a script that will use this module to do the following:
1. Accept 3 parameters:
A) Source Directory of Image (JPG) files.
B) Source Directory of stub screensaver to modify.
C) Output directory/filename of the modified screensaver.
The script will use the pefile module to remove any JPG resources that are in the screensaver and then add the ones that are in the source directory given above.
Once modified it would save the screensaver in the output folder given above.
G-Man
P.S. I have attached the screensaver as an example. You’ll need to rename the extension from .sc_ to .scr to run it but I’d recommend just looking at it with a resource viewer



