unruu is a simple command line utility to extract the rom.zip file from a HTC RUU update executable.
Please note that it'll output the rom.zip file to your current directory.
$ git clone https://github.com/twogood/unshield.git
$ cd unshield/
$ ./bootstrap
$ ./configure --prefix=/usr
$ make
$ sudo make install
$ ./autogen.sh
$ ./configure
$ make
You can download pre-compiled snapshots or releases from:-
$ sudo make install
$ unruu /path/to/RUU.exe