Help - Search - Members - Calendar
Full Version: Foobar IconMod
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
picmixer
Foobar IconMod is a small script I wrote to replace the standard icons for foobar. It is now available for download at http://www.barciaonline.com/iconmod/iconmod.htm

In case you ever got bored with the standard icons of Foobar, just play around with it and see if you like it. *high society laughter* If you prefer the simplisic looks of the standard Foobar Icons, don't. Probably goes nice with the new foobar looks available recently though.

Thanks to AngelGR for hosting this. Tourings Revenge and RedawqTS for their help. And SacRat for his Icons.
RedawgTS
I see your puting you new found knowledge to work. Good for you. Might I suggest that you add the decompression and recompression bit's to your batch file. Let the batch file do as much work for you as possible.
picmixer
Already working on it. Seems to work fine so far. Thanks for the good tips as usual. Might bother Angel at some point to update it on OUR (almost said his again) Site. The poor guy must really be busy as anything right now.

Am thinking to try wether I can also make a version that will replace the play buttons in the main menu with some different ones. Am not sure wether it is possible, but I'll see. I would probably have to design a specific font for it, etc. I guess time will tell.
Xenion
site is down :-(
picmixer
I know sad.gif . Just realised it myself when I tried to check the foobar looks page. Hope it will be up again soon.

@RedawqTS
Ver 1.1(not released yet) of IconMod works fine. It now includes the compression, decompression bit and should make it a lot more user friendly.
picmixer
@kode 54
QUOTE
If you prefer the simplisic looks of the standard Foobar Icons, don't.



And I didn't mean to imply that simplistic, meant bad.
AngelGR
Sorry. The traffic is being very intense. wink.gif
picmixer
No problem, we all aprechiate your effort wink.gif

Site is up again biggrin.gif
kode54
QUOTE(picmixer @ May 13 2003 - 04:15 AM)
@kode 54
QUOTE

If you prefer the simplisic looks of the standard Foobar Icons, don't.



And I didn't mean to imply that simplistic, meant bad.

Abused editing priviliges to slip in a comment from the IRC channel.
picmixer
Too kind of you! wink.gif Just what I thought my post was initially missing.
picmixer
Version 1.1 is up. No need to manually decompress and recompress foobar.exe anymore. Just check the readme for changes.

Anyway, at least for those who aren't part of the High Society yet and can still try it out without beeing looked down upon wink.gif
jgutierrez
Add to the batch file the line
upx --best --crp-ms=999999 --nrv2d foobar2000_new.exe to improve compression.

Also as previously suggested, include the upx.exe (windows version) in your package in order to automatize the process.
picmixer
Will try out your compression line. Was not sure so far, wether I was actually allowed to distribute the upx.exe in my mod. Same goes for ResHack.exe. Will look into it though.

Thanks for the Feedback. I can always need it.

[EDIT]

Just checked about UPX and I can include it. Have also contacted the Author of Resource Hacker to see if I can include that as well.

Thanks for the hints once more.

[EDIT]
jgutierrez
I have done some improvements to your update system.
Firstly the original foobar2000.exe is copied to foobar2000_new.exe to keep the original file untouched.
I have also added the necessary tools in a tools folder in order to keep the directory structure clean.

Here are the modified files:
mod.bat
---------
@echo off
copy foobar2000.exe foobar2000_new.exe
tools\upx -d foobar2000_new.exe
tools\ResHacker -script script_foobar2000.txt
tools\upx --best --crp-ms=999999 --nrv2d --overlay=strip foobar2000_new.exe


script_foobar2000.txt
-------------------------
[FILENAMES]
Exe="foobar2000.exe"
Log=foobar2000_mod.log

[COMMANDS]
-addoverwrite data\105.ico, icongroup, 105, 1033
-addoverwrite data\107.ico, icongroup, 107, 1033
-addoverwrite data\108.ico, icongroup, 108, 1033
-addoverwrite data\109.ico, icongroup, 109, 1033
-addoverwrite data\110.ico, icongroup, 110, 1033
-addoverwrite data\111.ico, icongroup, 111, 1033
-addoverwrite data\112.ico, icongroup, 112, 1033
-addoverwrite data\134.ico, icongroup, 134, 1033


Also would be very useful if UPX and ResHacker are not distributed with you update package to include the download URLs in the ReadMe.txt file.

You are allowed to include those changes in your official distribution if you want.
picmixer
Allright have adapted some of your suggestions.

The new .exe is acually 1kb smaller and so your compression line seems to have done something.
The original exe remains untouched as well now.
Hope I'll get permission to include ResourceHacker in the distribution.
Will see when I can bother Angel again to update the file. rolleyes.gif


And I was actually hoping I could finally start on my new WSGUI look. Well time to start now.
SacRat
QUOTE
Hope I'll get permission to include ResourceHacker in the distribution.

I'll personally kill you then wink.gif
It's a craze...

btw, have you thought about creating EXE program, not batch file?
jgutierrez
It seems that the F2K license allow you to distribute modified copies of the executable, so it would be a lot more practical.
picmixer
I don't think so. The mod should be able to update different versions of the executable. Meaning that otherwise you would have to download a new modified exe everytime a new Foobar release comes up. This way you can just update any Foobar version. Am not sure about the really old ones, and will always try to check compatibility with new ones.
Xenion
works fine
looks good
whitenoise
I couln't get it to work. It flashes an error for a micorsecond, possibly stating that the file is not packed using upx.

?
picmixer
DId you manually uncompress Foobar.exe using upx, before running IconMod. If so I do have to apologize, the instructions on the web page are not entirely updated yet. Refer to the Readme.txt for the newest instructions. Have mainly been busy on WSGUI these days and did not really take the time to update IconMod.

Basically there is no need anymore to uncompress Foobar.exe manually anymore, since this process is now included in the batch file. So just copy Foobar.exe into the Mod folder and run it. (although you will need to put upx into the mod folder)

Will update IconMod in the coming days and also include some new Icons I've made. Until then enjoy this version. Nice to hear there is still interest.

Oh yeah and one last thing, could you maybe report back here wether this worked for you or not?
whitenoise
I tried both methods without much success. However, just now I did a search for an older version of foobar and strangely enough it works fine with ver0,666 beta9. It could be just my computer playing tricks though. Thanks very much for you efforts.
picmixer
That is strange, since Beta 0.666, should be actually one of the versions that is not compressed by upx, whereas the official releases are.

Are you sure that you have copied upx.exe int the IconMos folder? No offence meant, just asking. Just tried it on my system and it works fine with version 0.667 for me. It could be though that you somehow got a .exe filke that was not compressed using upx.

Simply try opening the batch file in notepad and edit out the two lines referring to upx.
musicmusic
QUOTE(picmixer @ Jun 10 2003 - 02:13 PM)
It could be though that you somehow got a .exe filke that was not compressed using upx.

7zip archive is NOT upx compressed.
whitenoise
The problem was solved when I downloaded v0.667 again (it continues to have a problem with the file i had been using before though). I should have tried that sooner, thanks for your help.
picmixer
IconMod updated once more. Currently for pre0.7 versions of Foobar and for Win XP and Win 2000 only.

Contains SacRats FB2K Icons (many thanks to him for letting me use his Icons) and a set of my own.

New menu for choosing icon options and sets.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.