"Dimitrie O. Paun" dpaun@rogers.com writes:
Maybe, but it doesn't work:
[dimi@dimi test]$ ls wine.bmp [dimi@dimi test]$ ../wine/tools/bin2res wine.bmp
No that's not how it works. You have to create the .rc file first with the magic bin2res comments, and then with bin2res you can put the real data in (and extract it back again).
Also, the code seems overly complicated. Granted, it does more than my one-line script, but still...
It can certainly be improved, yes, but please let's not create another tool to do the same thing.