PROBEX
01-26-2009, 11:20 PM
HOW to CREATE VGA START ICONS.
THIS DOES NOT WORK ON VISTA64BIT as I figured out after many hours then went to my daughters XP machine....
I've made a new WM Wait Cursor in VGA for the TOuch Pro. It took some time to figure out how to replace the resource in the shellres.192 but now it all works fine.
Of course you can do your own if you like.
I will attach shellres.192 located in your ppc windows folder [these are language Dependant so if your not WWEnglish take your own out of your ppc windows folder]
You'll need some programs, and of course, the dll.
You will need:
1) Resource Hacker 3.4.0 This is a Windows Resource Editor, which gives you access to modify dialogs, bitmaps, icons, etc. for some application files.
2) GoRC: This is a freeware resource compiler. It will turn a .RC file into a .RES file.
3) Multiple file Signer - to digitally re-sign the finished dll.
Summary of procedure: Export .RC from Reshacker, modify resources, compile a .RES file from the .RC, and import .RES file using Reshacker.
Procedure:
1) Launch ResHacker, and open the executable file [dll] you want to modify.
2) In the left side, you will see a list of resources. Select the folder icon for Bitmap.
3) Select Action-> Save Bitmap Resources. This will save all the individual bitmap files [Bitmap resource 4896...4911. So 16 frames for the cursor., as well as .RC file.
The .RC file is a pure text file that contains the mapping between the bitmap name and the resource number that it had assigned inside the exe file.
4) Modify all the 16 bitmaps using your favorite image editor and save in 16 bit format.
NOTE: Don't get discouraged, read the following which makes the import back fairly easy:
5) Because ResHacker cannot import back an .RC file, you need to compile it into a .RES file, which ResHacker can import just fine. So...
first copy the GoRC.exe file into the same folder where all your bitmaps and .rc are located.
Assume c:\bitmaps\, and that you have a file bitmaps.rc inside.
6) Open a cmd line (Start->Run, and type cmd). Go to the folder c:\bitmaps and then you are going to run this command:gorc.exe /r bitmaps.rc
7) This will output a file bitmaps.res. Open ResHacker, Open the DLL executable application file, and select Action-> Update All Resources. Choose your .RES file, and save changes.
This works with other resource types, such as start icons etc.
Piece of cake! RIGHT LOL
STEP 5 and 6 I found can be a bit tricky so a easier way to do the cmd line stuff and get the address's correctly typed is to load your bitmaps and bitmap.rc in a empty pen/flash drive
then at the cmd line change your directory to where the flash drive is so say its on F: in the open cmd line enter F: it pops out F:\ then enter gorc.exe /r bitmaps.rc [so it should look like this F:\>gorc.exe /r bitmaps.rc]
I forgot to bring the dll to work with me [thats were im posting this from] I will add it when i get home. :connie_mykilroy:
That should get you little hackers busy for a while lol
THIS DOES NOT WORK ON VISTA64BIT as I figured out after many hours then went to my daughters XP machine....
I've made a new WM Wait Cursor in VGA for the TOuch Pro. It took some time to figure out how to replace the resource in the shellres.192 but now it all works fine.
Of course you can do your own if you like.
I will attach shellres.192 located in your ppc windows folder [these are language Dependant so if your not WWEnglish take your own out of your ppc windows folder]
You'll need some programs, and of course, the dll.
You will need:
1) Resource Hacker 3.4.0 This is a Windows Resource Editor, which gives you access to modify dialogs, bitmaps, icons, etc. for some application files.
2) GoRC: This is a freeware resource compiler. It will turn a .RC file into a .RES file.
3) Multiple file Signer - to digitally re-sign the finished dll.
Summary of procedure: Export .RC from Reshacker, modify resources, compile a .RES file from the .RC, and import .RES file using Reshacker.
Procedure:
1) Launch ResHacker, and open the executable file [dll] you want to modify.
2) In the left side, you will see a list of resources. Select the folder icon for Bitmap.
3) Select Action-> Save Bitmap Resources. This will save all the individual bitmap files [Bitmap resource 4896...4911. So 16 frames for the cursor., as well as .RC file.
The .RC file is a pure text file that contains the mapping between the bitmap name and the resource number that it had assigned inside the exe file.
4) Modify all the 16 bitmaps using your favorite image editor and save in 16 bit format.
NOTE: Don't get discouraged, read the following which makes the import back fairly easy:
5) Because ResHacker cannot import back an .RC file, you need to compile it into a .RES file, which ResHacker can import just fine. So...
first copy the GoRC.exe file into the same folder where all your bitmaps and .rc are located.
Assume c:\bitmaps\, and that you have a file bitmaps.rc inside.
6) Open a cmd line (Start->Run, and type cmd). Go to the folder c:\bitmaps and then you are going to run this command:gorc.exe /r bitmaps.rc
7) This will output a file bitmaps.res. Open ResHacker, Open the DLL executable application file, and select Action-> Update All Resources. Choose your .RES file, and save changes.
This works with other resource types, such as start icons etc.
Piece of cake! RIGHT LOL
STEP 5 and 6 I found can be a bit tricky so a easier way to do the cmd line stuff and get the address's correctly typed is to load your bitmaps and bitmap.rc in a empty pen/flash drive
then at the cmd line change your directory to where the flash drive is so say its on F: in the open cmd line enter F: it pops out F:\ then enter gorc.exe /r bitmaps.rc [so it should look like this F:\>gorc.exe /r bitmaps.rc]
I forgot to bring the dll to work with me [thats were im posting this from] I will add it when i get home. :connie_mykilroy:
That should get you little hackers busy for a while lol