The tool I linked previously should be able to do the job
(Note: it currently only works for the EE; for vanilla D:OS you should use LSTools)