Many cookers use bepe's BuildOS to cook ROMs. As you know BuildOS fails if there are multiple files with same name in OEM or SYS packages:
Screen_shot_1389_10_24_at_12.39.00_AM.png 17.87KB 171 downloads
This tool automatically finds and deletes redundant .rgu and .dsm files and also removes duplicate files by name according to packages priority (determined by their directory name).
How to use:
Simply put preBuildOS in a directory beside OEM and SYS folders and open it.
Screen_shot_1389_10_24_at_12.56.38_AM.png 7.5KB 51 downloads
This will automatically perform cleanup
Screen_shot_1389_10_24_at_12.59.28_AM.png 7.74KB 44 downloads
and move deleted files and folders to deleted_sys and deleted_oem:
res.png 60.8KB 127 downloads
preBuildOS is a command-line tool. You can use it with --oem and --sys arguments:
prebuildos --sys=<path_to_sys_folder> --oem=<path_to_oem_folder>
preBuildOS.exe 14KB 277 downloads
Edited by fardjad, 15 January 2011 - 12:13 PM.