![]() |
Custom Icon for AVS Packs
1 Attachment(s)
Here is an icon (And NSIS bitmaps) I designed for AVS. Feel free to use it in your pack installers.
Post your comments. |
i like them, and they look really professional (kinda sorta like the new XP icons)
but i dont think i will use them becuase i cant figure out what the hell they are! (by favorite guess; pac-man) |
Please! I can make better!
|
1 Attachment(s)
Actually I like them :). Simple and they fit the Office 2k/XP theme for icons.
I hacked up an AVS preset icon (hope you don't mind) and two registry files to register the file-type on Windows 2K/XP or Windows 9x/ME. Copy the icon to your Windows folder: it'll only work if your Windows is installed in C:\WINNT (for Win2K/XP) or C:\WINDOWS (for Win9x/ME). Then double-click the correct registry file for your operating system to merge it. You might need to restart to have it take effect, or modify an existing file type to refresh the system's icon cache. Tested on Win2K. Can someone test this on Win9x/ME and XP? |
Well didn't run it, but the windows dir (default) on my XP machine is c:\windows, not c:\winnt.
|
UnConeD: There is an 'U' in community, so I don't mind.
J'heklsfa: Open up the registry file in notepad, and change the windows folder manually. |
Xion, try not to simultaneously blatantly insult someone AND be an egotistical bastard in the same post. If you don't like the icon, tell him why.
Zevensoft: That's a cool gereral icon, can I use it for (and in) the AVS Resources pack I'm doing? |
Quite nice icons, simple yet good.
Although i don't understand why you used "Another pixel" effect in the avs_app.ico :weird: Maybe they fit the office 2000 icons, but since i don't have it or even winXP (which sucks as much as wa3 or even more) i really can't say im dazzled by them. Good work nevertheless :up: |
Atero: Like I said, I don't mind.
Tuggummi: I don't get what you mean by 'Another Pixel'. |
Like in avs, you drawed only one pixel and the left the next one empty, like an interleave effect :weird:
|
Well, it seems to me he did it becuase you are only allowed a certain number of colors (16) and in order to get lighter(or darker) shades of whatever color (green in this case) you have to do this "every other" technique.
Anyway, you can't tell when its zoomed out (unless you run 300x200 resolotion (but than your moniter is proabably green monochrome! :-D)). Therefore, it doesn't really matter. (there is a huge section of "pixel art" at deviantart, you should check it out, some of it is pretty involved) |
I don't know about you, but it looks fine over here. For some reason your system is using the 16 color version of the icon instead of the high-color one. Check the Display -> Effects settings in the control panel.
|
That and nsis2 can use any size and any color....It looks fine over here, too. Except it should be mauve :p
And I am now a major dude. :cool: |
if anyone's requests this, i will put together a set of checkboxes and icons based on this logo. maybe a default splashscreen too.
|
That'd be great, man :)
|
congrats on your major dudeism
and custom checkboxes would do nothing but roxor :-D |
Congrats Artero. :up:
Now if only you could open an AVS by double-clicking. |
I finally found the appropriate thread to congratulate Atero on...
Well done, 500 posts is a big milestone. (i'll be with you in a couple of weeks :P) Wow. This all seems like it is coming together rather well. Maybe I should go and improve my script so that it registers UnConeD's icon and has a splashscreen (and probably add a ton more functionality). It's always a good thing to have a standardised look about something in my opinion, it makes everything look that little bit more professional. |
Well you could probably use NSIS to add the appropriate registry keys, and auto-detect the Windows dir. If your Windows dir is c:\Windows, you can just use the Win98/ME registry file by the way. The only difference is that the 2K/XP one is in Unicode, so you can't do it the other way around.
I'm pretty sure I remember a WinXP installed to WINNT though ;) |
NSIS reads Win2k/XP registry keys fine so I'd expect that the respective write functions would work fine too. Finding the windows directory shouldn't be to hard since you can just use the $WINDIR string.
|
Quote:
|
1 Attachment(s)
I made a simple splash screen following in the Windows/Office 2000/XP direction, its pretty simple and the idea is that you put your pack/preset/whatever name splat in the middle to finish it off.
|
The splash-screen's green gradient is a bit too flashy for me.
I think the border's not the same width everywhere and it seems the green-yellow-green gradient's not centered correctly? (see what I mean with pixelspotter :)) |
Damn, I was hoping no one would notice that.
I'm sure yathosho will make a much better one. :) The top and left of the border are screwed, I think I did something stupid somewhere between finishing the picture and saving it. I only noticed that after I submitted this zip. |
Dammit, forgot, tthis used to be my ME machine. Forget what I seaid about the windows dir. Autodetect is a good idea though.
|
I've added splash screen support to my script now, I'm gonna add those registry keys in a bit and then I'll post it up in the format of a generic script using the zevensoft icon and checkboxes and my avs splash screen (even though the gradient is off centre and the border is fux0red - I'll leave it to the pros next time :P).
To use the splash screen you need the CVS version of NSIS2 (unless you want to just get the advsplash source and compile the dll yourself), which I had a little bit of trouble finding due to the fact that everywhere it is called the CVS version, yet on the website it is called the development snapshot. So heres a link direct to the download to save you any hassle: http://nsis.sourceforge.net/nightly/nsis.zip |
Well, I couldn't find a way to use the enabled/disabled pictures in NSIS2, presumably it can only use the 'every checkbox crammed into one bmp' files for checkboxes. (if you have nsis2 just look in the contrib to see what i mean)
Anyway, here is a simple script with splash screen, icon registering and the usual pap. I'll probably tweak it some more later and make it bigger and better. One thing you may want to do is to hide the "AVS Preset Icon" section so that it doesn't come up under install options, to do this just delete the final section and place the code in the '-' section instead. Everything should work, I've tested it on both of my systems under Win2k Pro and Win2k Adv Server but other operating systems may have problems with the registering, but I doubt it, if you find any bugs please tell me about them. (Requires NSIS2 CVS version - see link above) Name "Jheriko - 6point5 Minipack" Icon "avs_app.ico" OutFile "J 6point5.exe" Function .onInit SetOutPath $TEMP File /oname=spltmp.bmp "avs_splash.bmp" advsplash::show 1000 600 400 -1 $TEMP\spltmp Pop $0 ; Delete $TEMP\spltmp.bmp StrCpy $9 0 FunctionEnd Function .onNextPage IntOp $9 $9 + 1 IntCmp $9 2 nothing Goto jump nothing: SectionGetFlags 1 $1 IntCmp $1 1 getwa2path getwa3path getwa2path getwa2path: ReadRegStr $INSTDIR HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString" StrCpy $INSTDIR $INSTDIR "" 1 Goto skippy getwa3path: ReadRegStr $INSTDIR HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp3" "UninstallString" skippy: StrCpy $1 $INSTDIR loopy: StrCpy $2 $INSTDIR 1 $1 StrCmp $2 "" lpdone StrCmp $2 "\" lpdone IntOp $1 $1 - 1 Goto loopy lpdone: StrCpy $INSTDIR $INSTDIR $1 jump: FunctionEnd Function .onPrevPage IntOp $9 $9 - 1 FunctionEnd DirText "Please enter your full Winamp path below." ComponentText "Please choose the version of Winamp that you wish to install to:" InstType "Winamp 2" InstType "Winamp 3" InstType /NOCUSTOM AutoCloseWindow false ShowInstDetails show Section "-" SectionIn 1 2 SectionEnd Section "6point5 for Winamp 2.x" SectionIn 1 SetOutPath "$INSTDIR\Plugins\AVS" File "D:\winamp3\wacs\data\avs\multiplier.ape" File "D:\winamp3\wacs\data\avs\convolution.ape" File "D:\winamp3\wacs\data\avs\channelshift.ape" SetOutPath "$INSTDIR\Plugins\AVS\JHERiKO - 6point5" File "D:\winamp3\wacs\data\avs\New Minipack\*.avs" SectionEnd Section "6point5 for Winamp 3.x" SectionIn 2 SetOutPath "$INSTDIR\wacs\data\AVS\" File "D:\winamp3\wacs\data\avs\multiplier.ape" File "D:\winamp3\wacs\data\avs\convolution.ape" File "D:\winamp3\wacs\data\avs\channelshift.ape" SetOutPath "$INSTDIR\wacs\data\AVS\JHERiKO - 6point5" File "D:\winamp3\wacs\data\avs\New Minipack\*.avs" SectionEnd Section "AVS Preset Icon" SectionIn 1 2 SetOutPath $WINDIR File "D:\avspreset.ico" WriteRegStr HKCR ".avs" "" "AVSPreset" WriteRegStr HKCR "AVSPreset" "" "AVS Preset" WriteRegStr HKCR "AVSPreset\DefaultIcon" "" "$WINDIR\avspreset.ico" SectionEnd |
jheriko, couldn't you just copy that nsis code into a txt file and attach that txt to your post?
|
1 Attachment(s)
Attached is what I think is an office style splash.
(And in case you are wondering, the AVS letters are pixel edited from the WINAMP logo.) |
The 'AVS' has very blurry edges. Can you clean it up a bit?
Oh by the way Jheriko, suppose this AVS icon gets used by many people, then it'll keep being overwritten every time an AVS pack is installed. Maybe you should make sure NSIS doesn't pop-up the 'file already exists?' dialog? I also looked up how to notify Windows to refresh its File Icon cache. I'm not an NSIS expert, but if possible you should call the following Windows API function: code: The literal values for those constants are: code: The function's definition is: code: I assume it's located in shell32.dll |
Quote:
I never thought of that |
damn nabbit jheriko
now i have to go and update all my software, and use a more effiecent code gah! (seriously; thx for your "NSIS 4 dummys[sic]" :up: ) |
1 Attachment(s)
i put together some icons myself, the logo being based on zevensofts. regard this more as an warm-up. i finished some document template icons today, i might rework the whole thing tomorrow.
|
1 Attachment(s)
for those who prefer an installer
ps: since this was more like an unserious attempt, i did not convert the icon for older versions of windows. expect the final version to work in all colormodes :D |
looks nice :up:
i wonder what a NSIS checkbos w/ the circle motif would look like? |
1 Attachment(s)
new version i made some time ago. zip contains installer for 2000/xp and the icon itself. enjoy!
|
| All times are GMT. The time now is 22:30. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.