via: Resource decompiler
One day I’m going to need ResourceHacker as it has an -extract option to extract resources.
The above link even has a batch file that can server as a start automating that process:
@echo off set file="GeneSys" if exist %file%.rc del %file%.rc ResHacker.exe -extract %file%.res, %file%.rc, Bitmap,, ResHacker.exe -extract %file%.res, temp.rc, Icon,, type temp.rc >>%file%.rc ResHacker.exe -extract %file%.res, temp.rc, Dialog,, type temp.rc >>%file%.rc ResHacker.exe -extract %file%.res, temp.rc, Menu,, type temp.rc >>%file%.rc ResHacker.exe -extract %file%.res, temp.rc, StringTable,, type temp.rc >>%file%.rc ResHacker.exe -extract %file%.res, temp.rc, Accelerators,, type temp.rc >>%file%.rc ResHacker.exe -extract %file%.res, temp.rc, VersionInfo,, type temp.rc >>%file%.rc del temp.rcI save it as
extract.batand a commandline usage:extract GeneSyswill extract all the resources fromGeneSys.res
–jeroen
PS: as the MASM forum sometimes nags with logins, I saved the above page in the wayback machine.
I’ve verified that [WayBack] ResourceHacker and the downloads ([WayBack] installer and [WayBack] portable) are there too.










