November 17, 2011

RtmpDump, win64

Install MinGW
sf.net/projects/mingw/files/Automated MinGW Installer/mingw-get

It is important that you download mingw-get and not mingw-get-inst. mingw-get-inst installs x86 GCC

Build RtmpDump
:: for Windows
:: Install MSYS
mingw-get install msys-base
mingw-get install msys-wget
mingw-get install msys-unzip
mkdir c:/mingw64
sh mount c:/mingw64 /mingw64

:: Install GCC core
wget "sf.net/projects/tdm-gcc/files/TDM-GCC 4.6 series/4.6.1-tdm64-1/gcc-4.6.1-tdm64-1-core.tar.lzma"
tar xfC "gcc-4.6.1-tdm64-1-core.tar.lzma" /mingw64

:: Install GNU binutils
wget "sf.net/projects/tdm-gcc/files/GNU binutils/binutils-2.21.53-20110731-tdm64-1.tar.lzma"
tar xfC "binutils-2.21.53-20110731-tdm64-1.tar.lzma" /mingw64

:: Install mingw64 runtime
wget "sf.net/projects/tdm-gcc/files/MinGW-w64 runtime/GCC 4.6 series/mingw64-runtime-tdm64-gcc46-svn4483.tar.lzma"
tar xfC "mingw64-runtime-tdm64-gcc46-svn4483.tar.lzma" /mingw64

:: Install zlib
wget "sf.net/projects/mingw-w64/files/External binary packages (Win64 hosted)/Binaries (64-bit)/zlib-1.2.5-bin-x64.zip"
unzip "zlib-1.2.5-bin-x64.zip"
cd "zlib"
cp -r * /mingw64

:: Install PolarSSL
wget "polarssl.org/code/releases/polarssl-1.0.0-gpl.tgz"
tar xf "polarssl-1.0.0-gpl.tgz"
cd "polarssl-1.0.0"
make CC=gcc APPS=
make DESTDIR=/mingw64 install

:: Build RtmpDump
wget "repo.or.cz/w/rtmpdump.git/snapshot/60218d0.tar.gz"
tar xf "60218d0.tar.gz"
cd "rtmpdump"
make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" VERSION="2.4-git-60218d0-20110930"

:: Optional, build librtmp.dll
make SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static"

Links

ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git
mcuee.blogspot.com/2010/08/mingw-win32-installation-to-build.html
old.nabble.com/Problems-with-nsis.make-td31498592.html
repo.or.cz/w/msysgit.git/blob/HEAD:/src/mingw-w64/patch/zlib-config.patch
sourceforge.net/apps/trac/mingw-w64/wiki/GeneralUsageInstructions

Custom Windows 7 Taskbar

Programs
UxStyle
HxD
Resource Hacker I use 64-bit

Change taskbar button font color
the default is white i wanted to change it to black
1. go to C:\Windows\Resources\Themes\Aero

2. make a copy of aero.msstyles, that way you can work with the copy

3. open aero.msstyles in hex editor

4. go to hex address 35840 and change the color from FF FF FF to color of your choice, i did black which is 00 00 00

Change taskbar date/time font color
1. go to hex address 39D78 and change the color from FF FF FF to color of your choice

2. save and close

Change taskbar color
the color of the taskbar is determined by a PNG file located inside of the aero.msstyles file. before you can edit the file you need to extract the file from aero.msstyles

1. open aero.msstyles in Resource Hacker

2. go to IMAGE\841\1033

3. Action > Save [IMAGE : 841 : 1033]

4. the file should only be 3 pixels height by 1 pixel wide, its only the bottom pixel that needs to be changed (i changed the color to silver C0C0C0)

5. after editing the picture right click on the original resource inside of resource hacker and choose "Replace Resource..."

6. Resource Type is "IMAGE", Resource Name is "841", you can leave Resource Language blank, then hit "Replace"

Apply the Custom Theme
1. rename C:\Windows\Resources\Themes\Aero\aero.msstyles to aero-old.msstyles

2. rename new file to aero.msstyles

3. log off and back on

4. right click on desktop and choose "Personalize"

5. choose "Windows 7 Basic" under "Basic and High Contrast Themes"

Links

sevenforums.com/customization/24620-change-taskbars-font-color.html
sevenforums.com/tutorials/4315-taskbar-customize-skin.html
windows7center.com/forums/useful-guides/1878-how-change-colour-windows-7-basic-2.html
winmatrix.com/forums/index.php?/topic/14250-tutorial-hex-editing-vista-visual-styles

November 11, 2011