depend(0x01030600); setresmode(2, 0x100000, UI_); loadresdir(ui); makeres(ui_buf); makeresdef(ui.h); xcopy(ui.h, ../../ui.h); save(ui_buf, ui.bin);