Archive: change screensaver name shown in Screensaver Display Properties?


change screensaver name shown in Screensaver Display Properties?
Hi!

I know how to install my Screensaver, that's all running fine... but I got another problem:

the filename is "scrs2006.scr"
in the Windows Screensaver Display Properties it could be selected as "scrs2006"

How could I change the name shown there? (without changing the filename!)

Does anyone know what registry key I have to change to achive this?
Or is a .ini needed somewhere?

Or is it a header information compiled to the .scr and I got no way to change that??


regards,
any


win9x uses the filename, nt uses string resource 1 if i remember correctly (check in resourcehacker)

edit:
yeah, it was 1

String resource Under NT, if the saver has a string resource with ID 1, then this string is used as the description line for the saver in the control panel. If it does not have this string, or of the saver is running under '95 or Plus!, then the long filename of the saver is used to describe it. The name should have25 characters or fewer. String resources
STRINGTABLE DISCARDABLE
BEGIN
1 "Minimal screen saver"
END
lots of good info here: http://www.wischik.com/scr/howtoscr.html#StringResource

Thanks a lot!
I will try it.

regards,
any


ok...
the only way to solve this seems to compile the name into the scr...


Is there really no other way?

thanx for any reply!

regards,
any


you can probably add the string with resource hacker


Hi Anders,
thanx for this hint!

I tried to open the scr but Resource Hacker couldn't handle it.
So I tried XN Resource Editor. It works well, let's me open the scr without any problem but when I want to save it, XNRE breaks it.

regards,
any


if its a win32 PE file and its not compressed it should work in resource hacker. I'm guessing this is not your screensaver, why not ask the creator to add the string?


Hi Anders!

Well it's my screensaver, but it's made with a screensaver wizard (-> zinc).
This name feature is not yet implemented in zinc... that's why I was looking for another way.

But thank you anyway!

regards,
any


[edit]zinc uses compression when building the .scr[/edit]


The STRING section is required - you cannot add it manually
And you cannot add a STRING eg. "1".

The best way is to rename the scr!