Wallpaper Changer
Posted: Mon Jan 10, 2005 9:08 pm
I figured it was about time I contributed something to KillaNet... so here's my idea.
I've decided to make a program that automatically changes a users wallpaper to the winning wallpaper of a wallpaper contest. Thus, if there's a winner declared every month, then the user would have a new wallpaper every month.
The way it works:
The program will silently start when windows is booted up. As soon as an internet connection is established the program will then download a 1KB file (what I refer to as a "wallfile") from a fixed URL (this fixed URL will be of Ada's choice). The "wallfile" will contain approx. 3 lines. Here's an example of what a wallfile will look like:
[b]This is a test comment
04012005104734PM
[url=\"http://www.anyserver.com/sunrisewallpaper.zwp\"]http://www.anyserver.com/sunrisewallpaper.zwp[/url][/b]
The first line is a comment that will appear on the users computer if it is anything other than "NULL". The reason for this is in the event of problems, such messages as "This service is temporarily down, please try again later" can appear
The second line is for the program to identify if there's a new wallpaper available. That is, if the line is the same as the last time they booted their computer, the program will NOT download a new wallpaper. As well if this line is replaced by a "STOP" the program will not offer any download to any user (another feature, incase of problems)
The third line is the URL to the download for the current wallpaper being offered. This allows the file to be located on any server of Ada's choice.
The .zwp file is a compressed file (similar to .zip) containing 2 files
1) author info - a file giving credit to the author
2) a .jpeg file of the wallpaper
The biggest concerns I've had about this project are:
[b]1) Excessive usage of bandwidth[/b]
- To tackle this problem, I made the program use compressed .jpg images rather than bitmaps. As well I made it so that only data transfer (downloads) will occur when a new wallpaper is available rather than every single time the users boot their computer. Another step I took to aid in this problem is allowing the wallpaper to be located on any server. This way if someone is willing to host the winning wallpaper for a while it is possible, thus moving the transfer strains to different locations. As a final (and hopefully unecessary) step, I've made it possible for Ada to quickly pull the plug on downloads if data transfers become excessive.
[b]2) Users not wanting to change their wallpaper EVERYTIME[/b]
- It also occured to me that this could quickly become an annoying program if the user doesn't have the option of using a wallpaper of their choice or keeping it on a particular wallpaper even if there's a new one available. To tackle this, I've made all the appropriate user settings to customize to their liking...
example: check boxes such as: "Download all new wallpapers" and "Automatically change current wallpaper to most recently downloaded" .... etc. As well I will have a quick library of previously downloaded wallpapers that the user can choose from at anytime they want.
Anyway, there's more to it than this, but that's the basic idea.
I've decided to make a program that automatically changes a users wallpaper to the winning wallpaper of a wallpaper contest. Thus, if there's a winner declared every month, then the user would have a new wallpaper every month.
The way it works:
The program will silently start when windows is booted up. As soon as an internet connection is established the program will then download a 1KB file (what I refer to as a "wallfile") from a fixed URL (this fixed URL will be of Ada's choice). The "wallfile" will contain approx. 3 lines. Here's an example of what a wallfile will look like:
[b]This is a test comment
04012005104734PM
[url=\"http://www.anyserver.com/sunrisewallpaper.zwp\"]http://www.anyserver.com/sunrisewallpaper.zwp[/url][/b]
The first line is a comment that will appear on the users computer if it is anything other than "NULL". The reason for this is in the event of problems, such messages as "This service is temporarily down, please try again later" can appear
The second line is for the program to identify if there's a new wallpaper available. That is, if the line is the same as the last time they booted their computer, the program will NOT download a new wallpaper. As well if this line is replaced by a "STOP" the program will not offer any download to any user (another feature, incase of problems)
The third line is the URL to the download for the current wallpaper being offered. This allows the file to be located on any server of Ada's choice.
The .zwp file is a compressed file (similar to .zip) containing 2 files
1) author info - a file giving credit to the author
2) a .jpeg file of the wallpaper
The biggest concerns I've had about this project are:
[b]1) Excessive usage of bandwidth[/b]
- To tackle this problem, I made the program use compressed .jpg images rather than bitmaps. As well I made it so that only data transfer (downloads) will occur when a new wallpaper is available rather than every single time the users boot their computer. Another step I took to aid in this problem is allowing the wallpaper to be located on any server. This way if someone is willing to host the winning wallpaper for a while it is possible, thus moving the transfer strains to different locations. As a final (and hopefully unecessary) step, I've made it possible for Ada to quickly pull the plug on downloads if data transfers become excessive.
[b]2) Users not wanting to change their wallpaper EVERYTIME[/b]
- It also occured to me that this could quickly become an annoying program if the user doesn't have the option of using a wallpaper of their choice or keeping it on a particular wallpaper even if there's a new one available. To tackle this, I've made all the appropriate user settings to customize to their liking...
example: check boxes such as: "Download all new wallpapers" and "Automatically change current wallpaper to most recently downloaded" .... etc. As well I will have a quick library of previously downloaded wallpapers that the user can choose from at anytime they want.
Anyway, there's more to it than this, but that's the basic idea.