Classic Shell
http://www.classicshell.net/forum/

Custom Skin
http://www.classicshell.net/forum/viewtopic.php?f=17&t=4047
Page 1 of 1

Author:  Simone73 [ Fri Dec 26, 2014 6:27 am ]
Post subject:  Custom Skin

I'm trying to customize a skin and i've extracted all the resources in the skins folder and named like this:

1.txt
1.bmp
2.bmp
...
...
...

When i select the custom skin in classic menu i can see al settings but the bmps are not loaded.

What is wrong ?

P.S. I'm using classic shell 4.20 beta

Author:  Jcee [ Fri Dec 26, 2014 6:47 am ]
Post subject:  Re: Custom Skin

The proper skin editing procedure is to download http://www.angusj.com/resourcehacker/
then edit open with
from there you can edit the code, or export any .bmps contained within properly

Author:  Simone73 [ Fri Dec 26, 2014 9:01 am ]
Post subject:  Re: Custom Skin

Jcee wrote:
The proper skin editing procedure is to download http://www.angusj.com/resourcehacker/
then edit open with
from there you can edit the code, or export any .bmps contained within properly



so i've to recompile the script every time ? i just want to avoid that like explained in the tutorial.

Author:  Ivo [ Fri Dec 26, 2014 10:09 am ]
Post subject:  Re: Custom Skin

Create a zip file with the exact files you have extracted and attach it here.

Author:  Simone73 [ Fri Dec 26, 2014 10:40 am ]
Post subject:  Re: Custom Skin

Ivo wrote:
Create a zip file with the exact files you have extracted and attach it here.



This is the content of my skins folder, all resources are from aero glass skin.

Attachments:
aero glass.zip [46.5 KiB]
Downloaded 1123 times

Author:  Ivo [ Fri Dec 26, 2014 2:26 pm ]
Post subject:  Re: Custom Skin

For some reason the 3.bmp file fails to load. I don't know why. I will have to investigate over the weekend.

Author:  Simone73 [ Fri Dec 26, 2014 2:27 pm ]
Post subject:  Re: Custom Skin

Ivo wrote:
For some reason the 3.bmp file fails to load. I don't know why. I will have to investigate over the weekend.



ok, tnks!

Author:  Ivo [ Fri Dec 26, 2014 2:30 pm ]
Post subject:  Re: Custom Skin

BTW, resaving the bitmaps with Photoshop CS2 fixes the problem.
What program did you use to save the bitmaps?

Author:  Simone73 [ Fri Dec 26, 2014 3:09 pm ]
Post subject:  Re: Custom Skin

I'm using photoshop CS6.

The compiled skin works fine, the uncompressed one not, same resources.

Author:  Simone73 [ Sat Dec 27, 2014 4:16 am ]
Post subject:  Re: Custom Skin

Ok, resaving all bitmaps with photoshop (CS6) solved the problem. Something is wrong in the bitmaps saved by resource hacker.

Author:  Ivo [ Sat Dec 27, 2014 11:56 am ]
Post subject:  Re: Custom Skin

I found the problem. The BMP file consists of 3 parts:
1 - the file header
2 - the image header
3 - the pixels

The image header contains the size of the pixels section (part #3). The files you have incorrectly use the sum of the sizes of parts #2 and #3. Some programs ignore the size and read the image anyway. The Windows API I use to load the image is more picky and fails.

BTW, I recommend you enable the "Report skin errors" setting at the bottom of the General Behavior tab. It will show you extra information to help you troubleshoot the problems.

Author:  Simone73 [ Sat Dec 27, 2014 12:28 pm ]
Post subject:  Re: Custom Skin  Topic is solved

Ivo wrote:
I found the problem. The BMP file consists of 3 parts:
1 - the file header
2 - the image header
3 - the pixels

The image header contains the size of the pixels section (part #3). The files you have incorrectly use the sum of the sizes of parts #2 and #3. Some programs ignore the size and read the image anyway. The Windows API I use to load the image is more picky and fails.

BTW, I recommend you enable the "Report skin errors" setting at the bottom of the General Behavior tab. It will show you extra information to help you troubleshoot the problems.



Tnks for your effort Ivo!

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/