tc-hib / go-winres

Command line tool for adding Windows resources to executable files
BSD Zero Clause License
319 stars 16 forks source link

Copy a resource file from one exe or DLL to another exe or DLL #22

Open Ajatars opened 8 months ago

Ajatars commented 8 months ago

Will this feature be supported in the future? I tried using go winres extract, but some files encountered errors: [RT_VERSION] [# 1] [0804] Unhandled code page

Some files will succeed, but the following error will occur when patching to a new PE file: Not enough room to add. rsrc section header

tc-hib commented 7 months ago

Hi, thanks for this bug report.

Can you please try again with v0.3.3 ? This should fix the error that says "not enough room to add. rsrc section header".

As for the code page error, it means the text isn't encoded in unicode. If you send me the file I might have a look at it to see if I can add code page conversion.